Searched refs:attr_parentfd (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 231 int attr_parentfd; member 1864 dirfd = attrinfo->attr_parentfd; in putfile() 2846 int firsttime = (attrinfo->attr_parentfd == -1); in open_attr_dir() 2856 (void) close(attrinfo->attr_parentfd); in open_attr_dir() 2857 attrinfo->attr_parentfd = -1; in open_attr_dir() 2870 if ((attrinfo->attr_parentfd = attropen(dirp, ".", O_RDONLY)) == -1) { in open_attr_dir() 2876 if ((attrinfo->attr_parentfd = retry_open_attr(-1, cwd, dirp, in open_attr_dir() 2883 (void) close(attrinfo->attr_parentfd); in open_attr_dir() 2884 attrinfo->attr_parentfd = -1; in open_attr_dir() 2895 if (fchdir(attrinfo->attr_parentfd) != 0) { in open_attr_dir() [all …]
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 4096 int *attr_parentfd, int *rw_sysattr) in open_attr_dir() argument 4099 int firsttime = (*attr_parentfd == -1); in open_attr_dir() 4109 (void) close(*attr_parentfd); in open_attr_dir() 4110 *attr_parentfd = -1; in open_attr_dir() 4123 if ((*attr_parentfd = attropen(dirp, ".", O_RDONLY)) == -1) { in open_attr_dir() 4129 if ((*attr_parentfd = retry_open_attr(-1, cwd, dirp, in open_attr_dir() 4131 (void) close(*attr_parentfd); in open_attr_dir() 4132 *attr_parentfd = -1; in open_attr_dir() 4143 if (fchdir(*attr_parentfd) != 0) { in open_attr_dir() 4145 (void) close(*attr_parentfd); in open_attr_dir() [all …]
|