Searched refs:FDVERIFY (Results 1 - 1 of 1) sorted by relevance

/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/sh/
H A Dsuid_exec.c62 #define FDVERIFY 12 /* used to validate /tmp process */ macro
124 * examining the FDVERIFY file descriptor -- if it is owned
130 if(fstat(FDVERIFY,&statb) < 0 || statb.st_uid != 0 ||
131 (statb.st_mode & ~S_IFMT) != SPECIAL || close(FDVERIFY)<0)
136 * Perhaps unnecessary, given FDVERIFY, but what the heck...
387 if(n != FDVERIFY)
389 close(FDVERIFY);
390 if(fcntl(n,F_DUPFD,FDVERIFY) != FDVERIFY)
399 close(FDVERIFY);
[all...]

Completed in 188 milliseconds