Searched refs:ROOT_UID (Results 1 - 6 of 6) sorted by relevance
/freebsd-11.0-release/tools/regression/security/access/ |
H A D | testaccess.c | 58 #define ROOT_UID (uid_t)0 macro 73 {"test1", ROOT_UID, WHEEL_GID, 0400}, 76 {"test4", ROOT_UID, WHEEL_GID, 0040}, 77 {"test5", ROOT_UID, TEST_GID_ONE, 0040}, 78 {"test6", ROOT_UID, TEST_GID_TWO, 0040}}; 110 error = setreuid(ROOT_UID, ROOT_UID); 185 error = setresuid(ROOT_UID, ROOT_UID, ROOT_UID); [all...] |
/freebsd-11.0-release/contrib/ncurses/ncurses/tinfo/ |
H A D | access.c | 42 #define ROOT_UID 65535 macro 45 #ifndef ROOT_UID 46 #define ROOT_UID 0 macro 190 return (getuid() != ROOT_UID) && (geteuid() != ROOT_UID);
|
/freebsd-11.0-release/usr.sbin/cron/crontab/ |
H A D | crontab.c | 152 if (getuid() != ROOT_UID) 576 if (fchown(fileno(tmp), ROOT_UID, -1) < OK) 578 if (chown(tn, ROOT_UID, -1) < OK)
|
/freebsd-11.0-release/usr.sbin/cron/lib/ |
H A D | misc.c | 179 if (seteuid(ROOT_UID) < OK) 182 if (setuid(ROOT_UID) < OK)
|
/freebsd-11.0-release/usr.sbin/cron/cron/ |
H A D | cron.h | 76 #define ROOT_UID 0 /* don't change this, it really must be root */ macro
|
H A D | do_command.c | 217 if (e->uid == ROOT_UID)
|
Completed in 115 milliseconds