Lines Matching refs:uid
93 // this is a set-uid tool -- get the real UID
94 uid_t uid = getuid();
97 if (uid != 0) {
117 if (uid != 0 && passwd->pw_uid != uid) {
123 passwd = getpwuid(uid);
125 fprintf(stderr, "Error: Ugh! Couldn't get passwd entry for uid "
126 "%d.\n", uid);
134 if (uid != 0) {
181 if (message.AddInt32("uid", passwd->pw_uid) != B_OK