Searched refs:ksheuid (Results 1 – 4 of 4) sorted by relevance
280 ksheuid = kshuid = getuid(); in change_flag()287 DO_SETUID(setresuid, (ksheuid, ksheuid, ksheuid)); in change_flag()294 DO_SETUID(setuid, (ksheuid)); in change_flag()296 seteuid(ksheuid); in change_flag()
192 ksheuid = geteuid(); in chvt_reinit()447 safe_prompt = ksheuid ? "$ " : "# "; in main_init()451 (!ksheuid && !strchr(str_val(vp), '#'))) in main_init()460 setint_n((vp = global("USER_ID")), (mksh_uari_t)ksheuid, 10); in main_init()473 Flag(FPRIVILEGED) = (kshuid != ksheuid || kshgid != kshegid) ? 2 : 0; in main_init()
829 #define ksheuid rndsetupstate.ksheuid_v macro
2932 return (stat(opnd1, &b1) == 0 && (uid_t)b1.st_uid == ksheuid); in test_eval()