Home
last modified time | relevance | path

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

/external/mksh/src/
Dmisc.c281 ksheuid = kshuid = getuid(); in change_flag()
288 DO_SETUID(setresuid, (ksheuid, ksheuid, ksheuid)); in change_flag()
295 DO_SETUID(setuid, (ksheuid)); in change_flag()
297 seteuid(ksheuid); in change_flag()
Dmain.c143 ksheuid = geteuid(); in chvt_reinit()
387 safe_prompt = ksheuid ? "$ " : "# "; in main_init()
391 (!ksheuid && !strchr(str_val(vp), '#'))) in main_init()
400 setint_n((vp = global("USER_ID")), (mksh_uari_t)ksheuid, 10); in main_init()
413 Flag(FPRIVILEGED) = (kshuid != ksheuid || kshgid != kshegid) ? 2 : 0; in main_init()
Dsh.h820 #define ksheuid rndsetupstate.ksheuid_v macro
Dfuncs.c3163 return (stat(opnd1, &b1) == 0 && (uid_t)b1.st_uid == ksheuid); in test_eval()