Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c87 #define ROOT_UID 0 macro
146 if (getuid() == ROOT_UID) { in main()
493 if (seteuid(ROOT_UID) != 0) in bad_line()
542 if (seteuid(ROOT_UID) != 0) in bad_line()
/illumos-gate/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c33 #define ROOT_UID 0 /* root uid */ macro
154 } else if (lchown(dir, ROOT_UID, ROOT_GID) < 0) { in create_dir()
387 } else if (fchown(fd, ROOT_UID, ROOT_GID) != 0) { in pam_sm_setcred()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinit_sec_context.c1085 #define ROOT_UID 0 macro
1688 if (uid != ROOT_UID) in get_default_cred()
1730 if (cred->tgt_expire < now + MIN_REFRESH_TIME && uid == ROOT_UID) { in get_default_cred()