Home
last modified time | relevance | path

Searched refs:ksheuid (Results 1 – 5 of 5) sorted by relevance

/external/mksh/src/
Dmain.c191 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()
Dmisc.c260 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()
Dexpr.c868 (kshuid == 0 || ksheuid == 0) && in ksh_access()
Dsh.h939 #define ksheuid rndsetupstate.ksheuid_v macro
Dfuncs.c2957 (uid_t)b1.st_uid == ksheuid); in test_eval()