Home
last modified time | relevance | path

Searched refs:suid (Results 1 – 25 of 49) sorted by relevance

12

/external/libchrome/sandbox/linux/
DBUILD.gn124 "suid/client/setuid_sandbox_client_unittest.cc",
125 "suid/client/setuid_sandbox_host_unittest.cc",
292 "suid/common/sandbox.h",
293 "suid/common/suid_unsafe_environment_variables.h",
294 "suid/process_util.h",
295 "suid/process_util_linux.c",
296 "suid/sandbox.c",
428 "suid/client/setuid_sandbox_client.cc",
429 "suid/client/setuid_sandbox_client.h",
430 "suid/client/setuid_sandbox_host.cc",
[all …]
Dsandbox_linux.gypi200 'suid/common/sandbox.h',
201 'suid/common/suid_unsafe_environment_variables.h',
202 'suid/process_util.h',
203 'suid/process_util_linux.c',
204 'suid/sandbox.c',
305 'suid/common/sandbox.h',
306 'suid/common/suid_unsafe_environment_variables.h',
307 'suid/client/setuid_sandbox_client.cc',
308 'suid/client/setuid_sandbox_client.h',
309 'suid/client/setuid_sandbox_host.cc',
[all …]
Dsandbox_linux_test_sources.gypi37 'suid/client/setuid_sandbox_client_unittest.cc',
38 'suid/client/setuid_sandbox_host_unittest.cc',
/external/libchrome/sandbox/linux/services/
Dsyscall_wrappers.cc100 int sys_getresuid(uid_t* ruid, uid_t* euid, uid_t* suid) { in sys_getresuid() argument
105 res = syscall(__NR_getresuid32, ruid, euid, suid); in sys_getresuid()
107 res = syscall(__NR_getresuid, ruid, euid, suid); in sys_getresuid()
112 if (suid) MSAN_UNPOISON(suid, sizeof(*suid)); in sys_getresuid()
Dsyscall_wrappers_unittest.cc67 uid_t ruid, euid, suid; in TEST() local
69 ASSERT_EQ(0, getresuid(&ruid, &euid, &suid)); in TEST()
73 EXPECT_EQ(suid, sys_suid); in TEST()
Dcredentials.cc45 uid_t ruid, euid, suid; in GetRESIds() local
47 PCHECK(sys_getresuid(&ruid, &euid, &suid) == 0); in GetRESIds()
49 const bool uids_are_equal = (ruid == euid) && (ruid == suid); in GetRESIds()
Dsyscall_wrappers.h63 SANDBOX_EXPORT int sys_getresuid(uid_t* ruid, uid_t* euid, uid_t* suid);
/external/selinux/python/audit2allow/
Dtest.log4 …4d50 a3=92c5120 items=1 ppid=13935 pid=13944 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
6 …b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
8 …b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
10 … a3=bf992a04 items=0 ppid=24423 pid=24427 auid=3267 uid=0 gid=0 euid=3267 suid=3267 fsuid=3267 egi…
12 …b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
15 …4 a3=2008171 items=0 ppid=23762 pid=23768 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48…
17 …b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
19 …b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 auid=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
22 …4 a3=2008171 items=0 ppid=23762 pid=23770 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48…
24 … a3=bf973110 items=0 ppid=23765 pid=12387 auid=3267 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48…
[all …]
/external/selinux/python/sepolgen/tests/test_data/
Daudit.log2 …9c a3=bfb647dc items=0 ppid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 …
5 …a64 a3=bfdb2fde items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
7 …a2=1 a3=8aeffb8 items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
9 …=1c0 a3=9c0e840 items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
11 …e3c a3=bf991e3c items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
16 …1b6 a3=8e1f9a8 items=0 ppid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 …
18 …fa1e1e0 a3=0 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
20 …6 a3=85b5008 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
22 …4 a3=85b5008 items=0 ppid=6377 pid=6378 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
27 …a2=180 a3=80c2 items=0 ppid=6356 pid=6377 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 …
[all …]
Dshort.log2 …9c a3=bfb647dc items=0 ppid=6311 pid=6314 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 …
5 …a64 a3=bfdb2fde items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
7 …a2=1 a3=8aeffb8 items=0 ppid=1 pid=6306 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
9 …=1c0 a3=9c0e840 items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
11 …e3c a3=bf991e3c items=0 ppid=1 pid=6336 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=…
Dhttpd.log3154 …2=9222138 a3=11 items=0 ppid=8102 pid=8103 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81…
3159 …2=4d18494 a3=1f items=0 ppid=8102 pid=8103 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81…
3163 …2=1 a3=b7fb1688 items=0 ppid=6659 pid=8102 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81…
3166 …5408 a2=1 a3=13 items=0 ppid=6659 pid=8102 auid=500 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81…
3185 …=8000 a2=0 a3=8000 items=0 ppid=8085 pid=8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
3187 …7ffd68 a3=bf7ffda8 items=0 ppid=8085 pid=8094 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
3202 …99b6ab8 a3=99b6638 items=0 ppid=8108 pid=8111 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
3209 …2=bfb0bbbc a3=9b16fe0 items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
3213 …a1=41 a2=0 a3=9b16fe0 items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
3215 …0bc48 a2=4 a3=9b16fe0 items=0 ppid=1 pid=8112 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
[all …]
/external/minijail/examples/
Ddrop_privs.cpp27 uid_t ruid, euid, suid; in log_resugid() local
29 getresuid(&ruid, &euid, &suid); in log_resugid()
32 LOG(INFO) << "ruid " << ruid << " euid " << euid << " suid " << suid; in log_resugid()
/external/libcap-ng/libcap-ng-0.7/utils/
Dcaptest.c57 uid_t uid, euid, suid; in report() local
67 getresuid(&uid, &euid, &suid); in report()
75 getresuid(&uid, &euid, &suid); in report()
86 printf("User credentials uid:%d euid:%d suid:%d\n", uid, euid, suid); in report()
/external/squashfs-tools/squashfs-tools/
Dpseudo.c279 char suid[100], sgid[100]; /* overflow safe */ in read_pseudo_def() local
309 n = sscanf(def, " %c %o %99s %99s %n", &type, &mode, suid, sgid, in read_pseudo_def()
402 uid = strtoll(suid, &ptr, 10); in read_pseudo_def()
405 ERROR("Uid %s out of range\n", suid); in read_pseudo_def()
409 struct passwd *pwuid = getpwnam(suid); in read_pseudo_def()
413 ERROR("Uid %s invalid uid or unknown user\n", suid); in read_pseudo_def()
/external/minijail/test/
Dlibminijail_test.cpp98 uid_t ruid, euid, suid; in log_resugid() local
100 getresuid(&ruid, &euid, &suid); in log_resugid()
103 LOG(INFO) << "ruid " << ruid << " euid " << euid << " suid " << suid; in log_resugid()
/external/ltp/testcases/kernel/syscalls/utils/
Dcompat_16.h37 int setresuid(uid_t ruid, uid_t euid, uid_t suid);
134 int SETRESUID(void (cleanup)(void), UID_T ruid, UID_T euid, UID_T suid) in SETRESUID() argument
136 LTP_CREATE_SYSCALL(setresuid, cleanup, ruid, euid, suid); in SETRESUID()
/external/openssh/openbsd-compat/
Dbsd-setres_id.c64 setresuid(uid_t ruid, uid_t euid, uid_t suid) in setresuid() argument
68 if (ruid != suid) { in setresuid()
/external/autotest/client/site_tests/security_SuidBinaries/
Dcontrol21 job.run_test("security_SuidBinaries", baseline='suid', tag='suid')
Dbaseline.novato.sgid1 # See corresponding .suid file for context.
Dbaseline.newbie.sgid1 # See corresponding .suid file for context.
Dbaseline.vm.arc_userdebug.sgid1 # See corresponding .suid file for context.
Dbaseline.amd64-generic-cheets.sgid1 # See corresponding .suid file for context.
Dbaseline.betty.sgid1 # See corresponding .suid file for context.
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/
Dsched_setscheduler03.c122 uid_t ruid, euid, suid; in setup() local
154 SAFE_GETRESUID(&ruid, &euid, &suid); in setup()
/external/libchrome/sandbox/linux/suid/
Dsandbox.c338 uid_t ruid, euid, suid; in DropRoot() local
339 if (getresuid(&ruid, &euid, &suid)) { in DropRoot()

12