Home
last modified time | relevance | path

Searched refs:euid (Results 1 – 25 of 74) sorted by relevance

123

/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/
H A Dksh-regress.tst16 EXEC --regress=etc=. --regress=source --regress=euid=0
20 ksh:REGRESS:euid:__regress__:0
21 ksh:REGRESS:euid:geteuid:euid!=ruid'
23 EXEC --regress=etc=. --regress=source --regress=euid=0 --regress=p_suid=0
27 ksh:REGRESS:euid:__regress__:0
29 ksh:REGRESS:euid:geteuid:euid!=ruid
31 ksh:REGRESS:euid:setuid:euid
[all...]
H A Dksh-regress.rt24 "euid=0"
25 "euid=0 p_suid=0"
26 "euid=0 p_suid=99999"
27 "euid=1"
28 "euid=1 p_suid=0"
29 "euid=1 p_suid=99999"
69 EXEC --regress=etc=. --regress=euid=1 --privileged <<!
/titanic_51/usr/src/lib/libsecdb/
H A Dexec_attr.txt32 Audit Review:solaris:cmd:::/usr/sbin/auditreduce:euid=0
37 Cron Management:suser:cmd:::/usr/bin/crontab:euid=0
38 Crypto Management:suser:cmd:::/usr/sbin/cryptoadm:euid=0
39 Crypto Management:suser:cmd:::/usr/bin/kmfcfg:euid=0
40 Crypto Management:suser:cmd:::/usr/sfw/bin/openssl:euid=0
41 Crypto Management:suser:cmd:::/usr/sfw/bin/CA.pl:euid=0
54 Device Security:suser:cmd:::/usr/sbin/list_devices:euid=0
56 Device Security:suser:cmd:::/usr/sbin/strace:euid=0
58 Device Security:suser:cmd:::/usr/sbin/add_allocatable:euid=0
59 Device Security:suser:cmd:::/usr/sbin/remove_allocatable:euid
[all...]
/titanic_51/usr/src/uts/common/syscall/
H A Duid.c264 setreuid(uid_t ruid, uid_t euid) in setreuid() argument
277 (euid != -1 && !VALID_UID(euid, zone))) in setreuid()
280 if (euid != -1 && euid > MAXUID) { in setreuid()
281 if (ksid_lookupbyuid(zone, euid, &ksid) != 0) in setreuid()
309 } else if (euid != -1 && in setreuid()
310 euid != cr->cr_ruid && euid != cr->cr_uid && in setreuid()
311 euid ! in setreuid()
[all...]
/titanic_51/usr/src/lib/libbc/libc/sys/common/
H A Dgeteuid.c32 int euid; in geteuid() local
34 if ((euid = _geteuid()) > 0xffff) in geteuid()
35 euid = 60001; /* nobody */ in geteuid()
36 return (euid); in geteuid()
H A Dsetreuid.c32 setreuid(int uid, int euid) in setreuid() argument
34 if (uid > 0xffff || euid > 0xffff) { in setreuid()
38 return (_setreuid(uid, euid)); in setreuid()
H A Dseteuid.c30 seteuid(int euid) in seteuid() argument
32 return (setreuid(-1, euid)); in seteuid()
/titanic_51/usr/src/ucbcmd/whoami/
H A Dwhoami.c34 uid_t euid; in main() local
43 euid = geteuid(); in main()
44 pp = getpwuid(euid); in main()
46 (void) printf(gettext(MSG), euid); in main()
/titanic_51/usr/src/contrib/ast/src/lib/libast/preroot/
H A Dispreroot.c45 int euid; in same() local
51 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid); in same()
53 if (ruid != euid) setuid(euid); in same()
H A Dgetpreroot.c69 int euid; in getpreroot() local
82 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid); in getpreroot()
115 if (ruid != euid) setuid(euid); in getpreroot()
156 if (ruid != euid) setuid(euid); in getpreroot()
/titanic_51/usr/src/lib/libast/common/preroot/
H A Dispreroot.c45 int euid; in same() local
51 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid); in same()
53 if (ruid != euid) setuid(euid); in same()
H A Dgetpreroot.c69 int euid; in getpreroot() local
82 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid); in getpreroot()
115 if (ruid != euid) setuid(euid); in getpreroot()
156 if (ruid != euid) setuid(euid); in getpreroot()
/titanic_51/usr/src/lib/libast/common/comp/
H A Deaccess.c57 static uid_t euid;
64 euid = geteuid();
67 init = (ruid == euid && rgid == egid) ? 1 : -1;
74 if (euid == 0)
80 else if (euid == st.st_uid)
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/
H A Deaccess.c24 * access() euid/egid implementation
57 static uid_t euid;
64 euid = geteuid();
67 init = (ruid == euid && rgid == egid) ? 1 : -1;
74 if (euid == 0)
80 else if (euid == st.st_uid)
/titanic_51/usr/src/lib/libbc/libc/net/
H A Drcmd.c212 int euid = -1; in ruserok() local
249 euid = geteuid(); in ruserok()
252 if (euid != -1) in ruserok()
253 (void) seteuid (euid); in ruserok()
259 if (euid != -1) in ruserok()
260 (void) seteuid (euid); in ruserok()
266 if (euid != -1) in ruserok()
267 (void) seteuid (euid); in ruserok()
272 if (euid != -1) in ruserok()
273 (void) seteuid (euid); in ruserok()
[all...]
/titanic_51/usr/src/cmd/auditreduce/
H A Dtoken.c902 * euid adr_int32
913 int32_t auid, euid, egid, ruid, rgid, pid; in process32_token() local
918 adrm_int32(adr, &euid, 1); in process32_token()
932 if (m_usere == euid) in process32_token()
957 ((obj_owner == euid) || in process32_token()
969 * euid adr_int32
983 int32_t auid, euid, egid, ruid, rgid, pid; in process32_ex_token() local
989 adrm_int32(adr, &euid, 1); in process32_ex_token()
1004 if (m_usere == euid) in process32_ex_token()
1029 ((obj_owner == euid) || in process32_ex_token()
1052 int32_t auid, euid, egid, ruid, rgid, pid; process64_token() local
1123 int32_t auid, euid, egid, ruid, rgid, pid; process64_ex_token() local
1304 int32_t auid, euid, egid, ruid, rgid, pid; subject32_token() local
1367 int32_t auid, euid, egid, ruid, rgid, pid; subject32_ex_token() local
1429 int32_t auid, euid, egid, ruid, rgid, pid; subject64_token() local
1493 int32_t auid, euid, egid, ruid, rgid, pid; subject64_ex_token() local
[all...]
/titanic_51/usr/src/lib/libnsl/dial/
H A Dstrsave.c64 uid_t euid; in eaccess() local
70 if ((euid = geteuid()) == 0) /* root can do all */ in eaccess()
72 if (euid == s.st_uid) in eaccess()
/titanic_51/usr/src/cmd/bnu/
H A Dstrsave.c66 uid_t euid; local
72 if( (euid = geteuid()) == 0 )
74 if( euid == s.st_uid )
/titanic_51/usr/src/lib/libshell/common/bltins/
H A Dregress.c205 TRACE(euid, "geteuid", ("%s", intercept_euid == intercept_ruid ? "euid==ruid" : "euid!=ruid")); in geteuid()
219 TRACE(euid, "setuid", ("%s", "EPERM")); in setuid()
224 TRACE(euid, "setuid", ("%s", intercept_euid == intercept_ruid ? "euid==ruid" : "euid!=ruid")); in setuid()
302 TRACE(euid, argv[0], ("%d", intercept_euid)); in b___regress__()
305 TRACE(euid, argv[0], ("%s", "off")); in b___regress__()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dregress.c81 "[102:euid?The intercept effective uid is set to \aoriginal-euid\a. The "
84 "intercepts are:]#?[original-euid:=1]"
88 "\aoriginal-euid\a.]"
91 "\aoriginal-euid\a.]"
119 "euid",
192 * euid intercepts
205 TRACE(euid, "geteuid", ("%s", intercept_euid == intercept_ruid ? "euid==ruid" : "euid! in geteuid()
[all...]
/titanic_51/usr/src/cmd/vntsd/
H A Dauth.c154 * euid The effective UID of a user account to check authorization
161 auth_check_euid(uid_t euid, char *group_name) in auth_check_euid() argument
167 if (euid == (uid_t)-1) { in auth_check_euid()
172 passwdp = getpwuid(euid); in auth_check_euid()
/titanic_51/usr/src/cmd/id/
H A Did.c72 uid_t uid, euid; in main() local
151 uid = euid = pwp->pw_uid; in main()
156 euid = geteuid(); in main()
162 uid = euid; in main()
191 if (uid != euid) in main()
192 prid(EUID, euid); in main()
339 s = " euid"; in prid()
/titanic_51/usr/src/cmd/dtrace/test/tst/common/scripting/
H A Dtst.euid.ksh32 # To verify euid of current process
54 /\$euid != \$1/
60 /\$euid == \$1/
/titanic_51/usr/src/lib/libadt_jni/com/sun/audit/
H A DAuditSession.java67 int euid, int egid, int ruid, int rgid, in sessionAttr() argument
204 public void setUser(int euid, int egid, int ruid, int rgid, in setUser() argument
209 sessionAttr(sh, euid, egid, ruid, rgid, in setUser()
/titanic_51/usr/src/cmd/pfexecd/
H A Dpfexecd.c353 uid_t uid, euid, uuid; in callback_pfexec() local
401 uid = euid = (uid_t)-1; in callback_pfexec()
410 euid = uid = get_uid(value, &res->pfr_allowed, path); in callback_pfexec()
416 euid = get_uid(value, &res->pfr_allowed, path); in callback_pfexec()
431 res->pfr_scrubenv = (uid != (uid_t)-1 && euid == uid) || in callback_pfexec()
434 res->pfr_euid = euid; in callback_pfexec()
454 res->pfr_setcred = uid != (uid_t)-1 || euid != (uid_t)-1 || in callback_pfexec()

123