Searched refs:getuid (Results 1 - 24 of 24) sorted by relevance

/ast/src/lib/libast/comp/
H A Dgetlogin.c39 return fmtuid(getuid());
H A Deaccess.c63 ruid = getuid();
H A Domitted.c117 #define sysgetuid getuid
359 * getuid() gets ksh to do the right thing and
403 getuid(void) function
935 base = ((getuid() & 0xffff) << 16) | (time(NiL) & 0xffff);
/ast/src/lib/libcmd/
H A Dlogname.c74 logname = fmtuid(getuid());
H A Did.c278 user = (flags & R_FLAG) ? getuid() : geteuid();
/ast/src/lib/libast/preroot/
H A Dispreroot.c51 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid);
H A Dgetpreroot.c82 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid);
/ast/src/lib/libast/path/
H A Dpathshell.c64 if (!(ru = getuid()) || !eaccess("/bin", W_OK))
H A Dpathprobe.c84 if ((vfs.f_flag & ST_NOSUID) && (stat(path, &st) || st.st_uid != getuid() && st.st_uid != geteuid()))
/ast/src/cmd/ksh93/bltins/
H A Dregress.c202 intercept_ruid = getuid();
214 intercept_ruid = getuid();
/ast/src/cmd/at/
H A Datx.c100 error(ERROR_SYSTEM|3, "%s %s user denied (uid=%u euid=%u => uid=%d)", argv[2], error_info.id, getuid(), geteuid(), uid);
/ast/src/lib/libtk/compat/
H A Dunistd.h55 extern uid_t getuid _ANSI_ARGS_((void));
/ast/src/cmd/probe/
H A Dprobe.c400 suid = (n = geteuid()) != getuid();
446 if (lstat(processor, &vs) || getuid() != vs.st_uid && (!ps.st_mode || getgid() != ps.st_gid))
453 setuid(getuid());
/ast/src/cmd/cs/vcs_src/
H A Difs_func.c284 sfsprintf( buf, size, "/tmp/ifs.%s", fmtuid(getuid()) );
H A Dvcs.c80 CST->who = getuid();
/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c109 ruserid = getuid();
H A Dpath.c1388 sabuf.ac_uid = getuid();
H A Dinit.c1283 shgd->userid=getuid();
/ast/src/cmd/mailx/
H A Dlocal.c154 (pw = getpwuid(getuid())))
/ast/src/lib/libast/misc/
H A Dprocopen.c644 setuid(getuid());
/ast/src/lib/libtk/generic/
H A DtkCanvPs.c351 pwPtr = getpwuid(getuid());
/ast/src/cmd/ksh93/edit/
H A Dhistory.c142 struct passwd *userinfo = getpwuid(getuid());
/ast/src/cmd/pax/
H A Dpax-slt.c626 strncpy(slt->owner, fmtuid(getuid()), sizeof(slt->owner) - 1);
/ast/src/cmd/nmake/
H A Drule.c1370 "getuid", (Systab_f)getuid,

Completed in 122 milliseconds