Lines Matching refs:uid
288 uid_t uid; /* user information */
312 uid = getuid();
313 if ((pw = getpwuid(uid)) == NULL) {
314 log_err("crit: invalid uid: (%lu)\n", (unsigned long)uid);
323 && ((uid == 0)
478 uid = pw->pw_uid;
490 log_no_err("uid: (%s/%s) gid: (%s/%s) cmd: %s\n",
499 if ((uid == 0) || (uid < AP_UID_MIN)) {
500 log_err("cannot run as forbidden uid (%lu/%s)\n", (unsigned long)uid, cmd);
527 if ((setuid(uid)) != 0) {
528 log_err("failed to setuid (%lu: %s)\n", (unsigned long)uid, cmd);
612 if ((uid != dir_info.st_uid) ||
614 (uid != prg_info.st_uid) ||
616 log_err("target uid/gid (%lu/%lu) mismatch "
618 (unsigned long)uid, (unsigned long)gid,