Home
last modified time | relevance | path

Searched refs:targetdirfd (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/mv/
H A Dmv.c123 static int targetdirfd = -1; variable
1665 if (fchmod(targetdirfd, attrdir.st_mode) == -1) {
1676 if (fchown(targetdirfd, attrdir.st_uid, attrdir.st_gid) == -1) {
1692 if (utimensat(targetdirfd, ".", times, 0) < 0) {
1719 if (facl_set(targetdirfd, attrdiracl) != 0) {
1803 if (utimensat(targetdirfd, dp->d_name, times, 0) < 0) {
2015 targfd = sourcedirfd = targetdirfd = -1;
2063 if ((targetdirfd = openat(targfd, ".", O_RDONLY|O_XATTR)) == -1) {
2168 (void) unlinkat(targetdirfd, dp->d_name, 0);
2169 if ((targattrfd = openat(targetdirfd, dp->d_name,
[all …]