Searched refs:ksheuid (Results 1 – 5 of 5) sorted by relevance
191 ksheuid = geteuid(); in chvt_reinit()454 safe_prompt = ksheuid ? "$ " : "# "; in main_init()458 (!ksheuid && !strchr(str_val(vp), '#'))) in main_init()467 setint_n((vp = global("USER_ID")), (mksh_uari_t)ksheuid, 10); in main_init()480 Flag(FPRIVILEGED) = (kshuid != ksheuid || kshgid != kshegid) ? 2 : 0; in main_init()
260 ksheuid = kshuid; in change_flag()284 DO_SETUID(setresuid, (ksheuid, ksheuid, kshuid)); in change_flag()287 DO_SETUID(setuid, (ksheuid)); in change_flag()289 seteuid(ksheuid); in change_flag()
868 (kshuid == 0 || ksheuid == 0) && in ksh_access()
939 #define ksheuid rndsetupstate.ksheuid_v macro
2957 (uid_t)b1.st_uid == ksheuid); in test_eval()