Searched refs:ROOT_UID (Results 1 – 3 of 3) sorted by relevance
87 #define ROOT_UID 0 macro146 if (getuid() == ROOT_UID) { in main()493 if (seteuid(ROOT_UID) != 0) in bad_line()542 if (seteuid(ROOT_UID) != 0) in bad_line()
32 #define ROOT_UID 0 /* root uid */ macro156 } else if (lchown(dir, ROOT_UID, ROOT_GID) < 0) { in create_dir()399 } else if (fchown(fd, ROOT_UID, ROOT_GID) != 0) { in pam_sm_setcred()
1085 #define ROOT_UID 0 macro1688 if (uid != ROOT_UID) in get_default_cred()1730 if (cred->tgt_expire < now + MIN_REFRESH_TIME && uid == ROOT_UID) { in get_default_cred()