Searched defs:attr_parentfd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c4067 * On succesful return, attr_parentfd will be the file descriptor of the
4088 int *attr_parentfd, int *rw_sysattr)
4091 int firsttime = (*attr_parentfd == -1);
4101 (void) close(*attr_parentfd);
4102 *attr_parentfd = -1;
4115 if ((*attr_parentfd = attropen(dirp, ".", O_RDONLY)) == -1) {
4121 if ((*attr_parentfd = retry_open_attr(-1, cwd, dirp,
4123 (void) close(*attr_parentfd);
4124 *attr_parentfd = -1;
4135 if (fchdir(*attr_parentfd) !
4087 open_attr_dir(char *attrname, char *dirp, int cwd, char *attr_parent, int *attr_parentfd, int *rw_sysattr) argument
[all...]
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c229 int attr_parentfd; member in struct:attr_data
1862 dirfd = attrinfo->attr_parentfd;
2844 int firsttime = (attrinfo->attr_parentfd == -1);
2854 (void) close(attrinfo->attr_parentfd);
2855 attrinfo->attr_parentfd = -1;
2868 if ((attrinfo->attr_parentfd = attropen(dirp, ".", O_RDONLY)) == -1) {
2874 if ((attrinfo->attr_parentfd = retry_open_attr(-1, cwd, dirp,
2881 (void) close(attrinfo->attr_parentfd);
2882 attrinfo->attr_parentfd = -1;
2893 if (fchdir(attrinfo->attr_parentfd) !
[all...]

Completed in 64 milliseconds