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

/freebsd-10.1-release/tools/regression/security/access/
H A Dtestaccess.c58 #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-10.1-release/usr.sbin/cron/crontab/
H A Dcrontab.c151 if (getuid() != ROOT_UID)
575 if (fchown(fileno(tmp), ROOT_UID, -1) < OK)
577 if (chown(tn, ROOT_UID, -1) < OK)
/freebsd-10.1-release/usr.sbin/cron/lib/
H A Dmisc.c179 if (seteuid(ROOT_UID) < OK)
182 if (setuid(ROOT_UID) < OK)
/freebsd-10.1-release/usr.sbin/cron/cron/
H A Dcron.h77 #define ROOT_UID 0 /* don't change this, it really must be root */ macro
H A Ddo_command.c215 if (e->uid == ROOT_UID)

Completed in 110 milliseconds