Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c62 #define FDVERIFY 12 /* used to validate /tmp process */ macro
130 if(fstat(FDVERIFY,&statb) < 0 || statb.st_uid != 0 || in main()
131 (statb.st_mode & ~S_IFMT) != SPECIAL || close(FDVERIFY)<0) in main()
387 if(n != FDVERIFY) in setids()
389 close(FDVERIFY); in setids()
390 if(fcntl(n,F_DUPFD,FDVERIFY) != FDVERIFY) in setids()
399 close(FDVERIFY); in setids()