Lines Matching refs:utimensat
53 #undef utimensat
62 /* Cache variables for whether the utimensat syscall works; used to
67 utimensat doesn't exist, or is in glibc but kernel 2.6.18 fails with ENOSYS
71 utimensat completely works
78 timespec can be used for utimensat (after possibly modifying it to
79 work around bugs in utimensat). Return a positive value if the
82 for Linux utimensat. Return -1, with errno set to EINVAL, if
100 /* Work around Linux kernel 2.6.25 bug, where utimensat fails with
228 to calling futimens/utimensat; fortunately, there is not much
240 /* Note that st is good, in case utimensat gives ENOSYS. */
247 result = utimensat (AT_FDCWD, file, ts, 0);
252 It appears that utimensat can mistakenly return 280 rather
419 utimensat, in version 2.6.22, so we don't need to mimic
432 calling utimensat; fortunately, there is not much timing
444 /* Note that st is good, in case utimensat gives ENOSYS. */
448 result = utimensat (AT_FDCWD, file, ts, AT_SYMLINK_NOFOLLOW);
453 It appears that utimensat can mistakenly return 280 rather
482 /* On Linux, lutimes is a thin wrapper around utimensat, so there is
483 no point trying lutimes if utimensat failed with ENOSYS. */