Lines Matching defs:candfd
126 static int spolicy(int scopefd, int candfd)
132 if ((bsderr = fstat(candfd, &candsb))) goto finish; // trusty fstat()
142 (void)fcntl(candfd, F_GETPATH, path);
165 (void)fcntl(candfd, F_GETPATH, path);
229 int candfd = -1;
241 if (-1 == (candfd = open(child, flags, mode))) goto finish;
244 if (spolicy(fdvol, candfd)) goto finish;
246 rfd = candfd;
249 if (candfd != -1 && rfd != candfd) {
250 close(candfd);