Searched refs:geteuid (Results 1 - 25 of 38) sorted by relevance
12
/ast/src/lib/libast/preroot/ |
H A D | ispreroot.c | 51 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid);
|
H A D | getpreroot.c | 82 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid);
|
/ast/src/lib/libast/path/ |
H A D | pathshell.c | 73 eu = geteuid();
|
H A D | pathprobe.c | 84 if ((vfs.f_flag & ST_NOSUID) && (stat(path, &st) || st.st_uid != getuid() && st.st_uid != geteuid())) 208 if (op >= -1 && (!(st.st_mode & S_ISUID) && ps.st_uid != geteuid() || rofs(path)))
|
/ast/src/lib/libast/comp/ |
H A D | eaccess.c | 64 euid = geteuid();
|
/ast/src/cmd/at/ |
H A D | atx.c | 100 error(ERROR_SYSTEM|3, "%s %s user denied (uid=%u euid=%u => uid=%d)", argv[2], error_info.id, getuid(), geteuid(), uid);
|
H A D | atd.c | 1349 *ap++ = state->con[0].id.uid = geteuid(); 1388 if (!(xs.st_mode&S_ISUID) && geteuid() != 0 && geteuid() != xs.st_uid) 1389 error(3, "%s: invalid euid %d -- %d expected", s, geteuid(), xs.st_uid); 1392 error(3, "%s: invalid [ mode=%04o uid=%d euid=%d t1=%04o t2=%04o==%04o ]", s, xs.st_mode, xs.st_uid, geteuid(), S_ISREG(xs.st_mode), xs.st_mode&(S_IXUSR|S_IXGRP|S_IWOTH|S_IXOTH), (S_IXUSR|S_IXGRP|S_IXOTH)); 1481 state->con[0].id.uid = geteuid();
|
/ast/src/lib/libtk/compat/ |
H A D | unistd.h | 51 extern uid_t geteuid _ANSI_ARGS_((void));
|
/ast/src/lib/libcs/ |
H A D | cslocal.c | 148 sfsprintf(tmp, sizeof(tmp), "%s/fdp/%s/%s/%d-%d-/%c%s", csvar(state, CS_VAR_LOCAL, 0), csname(state, 0), cmd, st.st_uid, geteuid(), CS_MNT_STREAM, CS_MNT_TAIL);
|
H A D | csrecv.c | 203 st.st_uid = geteuid(); 365 id->uid = geteuid();
|
H A D | cssend.c | 127 id.uid = geteuid();
|
H A D | csopen.c | 863 n = geteuid(); 899 if (geteuid() && gid != n) 918 sid = geteuid(); 1203 else if (geteuid())
|
/ast/src/cmd/ksh93/bltins/ |
H A D | regress.c | 86 "[+geteuid()?The intercept effecive uid is returned. The " 199 uid_t geteuid(void) function 205 TRACE(euid, "geteuid", ("%s", intercept_euid == intercept_ruid ? "euid==ruid" : "euid!=ruid"));
|
/ast/src/cmd/cs/ |
H A D | css.c | 138 if (con->id.uid == geteuid())
|
H A D | cs.c | 296 if (ftw->statb.st_uid != geteuid())
|
/ast/src/lib/libcmd/ |
H A D | id.c | 278 user = (flags & R_FLAG) ? getuid() : geteuid(); 331 if ((euid = geteuid()) != user)
|
H A D | rm.c | 397 state.uid = geteuid();
|
H A D | cksum.c | 563 state.uid = geteuid();
|
/ast/src/cmd/ksh93/sh/ |
H A D | suid_exec.c | 110 euserid = geteuid();
|
/ast/src/lib/libast/uwin/ |
H A D | rcmd.c | 329 saveuid = geteuid();
|
/ast/src/cmd/probe/ |
H A D | probe.c | 31 * (2) probe hierarchy owned by the caller geteuid() (e.g., FAT fs) 400 suid = (n = geteuid()) != getuid();
|
/ast/src/lib/libast/misc/ |
H A D | procopen.c | 636 if ((flags & PROC_PRIVELEGED) && !geteuid()) 638 setuid(geteuid());
|
/ast/src/cmd/ss/ |
H A D | ssd.c | 317 if (st.st_uid != geteuid())
|
/ast/src/cmd/3d/ |
H A D | pathreal.c | 509 uid = geteuid();
|
/ast/src/lib/libtksh/src/ |
H A D | filecmd.c | 333 mode = (geteuid() == statBuf.st_uid);
|
Completed in 46 milliseconds
12