Lines Matching refs:RunAsUid
582 RunAsUid = RealUid;
585 RunAsUid = geteuid();
597 (int) RunAsUid, (int) RunAsGid);
3843 (long) RunAsUid, (long) RunAsGid);
3848 RunAsUid = RealUid;
3932 if (to_real_uid || RunAsUid != 0)
3943 if (setuid(RunAsUid) < 0 ||
3944 geteuid() != RunAsUid ||
3945 (getuid() != RunAsUid &&
3955 if (geteuid() == RunAsUid)
3957 if (setreuid(RunAsUid, -1) < 0)
3960 (int) RunAsUid);
3963 if (setuid(RunAsUid) < 0)
3966 (int) RunAsUid);
3974 (int) RunAsUid);
3979 if (RunAsUid != 0 && setuid(0) == 0)
3991 else if (RunAsUid != euid && setuid(euid) == 0)
4023 (int) RunAsUid, (int) RunAsGid);