Home
last modified time | relevance | path

Searched refs:suid (Results 1 – 25 of 37) 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",
299 "suid/common/sandbox.h",
300 "suid/common/suid_unsafe_environment_variables.h",
301 "suid/process_util.h",
302 "suid/process_util_linux.c",
303 "suid/sandbox.c",
419 "suid/client/setuid_sandbox_client.cc",
420 "suid/client/setuid_sandbox_client.h",
421 "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',
Dsandbox_linux_nacl_nonsfi.gyp50 'suid/client/setuid_sandbox_client.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/policycoreutils/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/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.cpp26 uid_t ruid, euid, suid; in log_resugid() local
28 getresuid(&ruid, &euid, &suid); in log_resugid()
31 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.cpp97 uid_t ruid, euid, suid; in log_resugid() local
99 getresuid(&ruid, &euid, &suid); in log_resugid()
102 LOG(INFO) << "ruid " << ruid << " euid " << euid << " suid " << suid; in log_resugid()
/external/openssh/openbsd-compat/
Dbsd-setres_id.c66 setresuid(uid_t ruid, uid_t euid, uid_t suid) in setresuid() argument
70 if (ruid != suid) { in setresuid()
/external/autotest/client/site_tests/security_SuidBinaries/
Dcontrol22 job.run_test("security_SuidBinaries", baseline='suid', tag='suid')
/external/libchrome/sandbox/linux/suid/
Dsandbox.c338 uid_t ruid, euid, suid; in DropRoot() local
339 if (getresuid(&ruid, &euid, &suid)) { in DropRoot()
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/sanitizer/
Dlinux_syscall_hooks.h77 #define __sanitizer_syscall_pre_getresuid(ruid, euid, suid) \ argument
79 (long)(suid))
80 #define __sanitizer_syscall_post_getresuid(res, ruid, euid, suid) \ argument
82 (long)(suid))
121 #define __sanitizer_syscall_pre_setresuid(ruid, euid, suid) \ argument
123 (long)(suid))
124 #define __sanitizer_syscall_post_setresuid(res, ruid, euid, suid) \ argument
126 (long)(suid))
872 #define __sanitizer_syscall_pre_setresuid16(ruid, euid, suid) \ argument
873 __sanitizer_syscall_pre_impl_setresuid16((long)ruid, (long)euid, (long)suid)
[all …]
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h77 #define __sanitizer_syscall_pre_getresuid(ruid, euid, suid) \ argument
79 (long)(suid))
80 #define __sanitizer_syscall_post_getresuid(res, ruid, euid, suid) \ argument
82 (long)(suid))
121 #define __sanitizer_syscall_pre_setresuid(ruid, euid, suid) \ argument
123 (long)(suid))
124 #define __sanitizer_syscall_post_setresuid(res, ruid, euid, suid) \ argument
126 (long)(suid))
872 #define __sanitizer_syscall_pre_setresuid16(ruid, euid, suid) \ argument
873 __sanitizer_syscall_pre_impl_setresuid16((long)ruid, (long)euid, (long)suid)
[all …]
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc200 const Arg<uid_t> ruid(0), euid(1), suid(2); in EvaluateSyscall() local
201 return If(AnyOf(ruid == 0, euid == 0, suid == 0), Error(EPERM)) in EvaluateSyscall()
202 .ElseIf(AllOf(ruid == 1, euid == 1, suid == 1), Error(EAGAIN)) in EvaluateSyscall()
/external/toybox/
DConfig.in31 Support for the Set User ID bit, to install toybox suid root and drop
33 this change ownership of the file to the root user and set the suid
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h3203 uid_t *suid) { in LSS_NAME()
3204 return LSS_NAME(getresuid)(ruid, euid, suid); in LSS_NAME()
3231 LSS_INLINE int LSS_NAME(setresuid32)(uid_t ruid, uid_t euid, uid_t suid) { in LSS_NAME()
3232 return LSS_NAME(setresuid)(ruid, euid, suid); in LSS_NAME()
3324 uid_t *suid) { in LSS_NAME()
3326 if ((rc = LSS_NAME(_getresuid32)(ruid, euid, suid)) < 0 && in LSS_NAME()
3328 if ((ruid == NULL) || (euid == NULL) || (suid == NULL)) { in LSS_NAME()
3332 *ruid = *euid = *suid = 0; in LSS_NAME()
3333 rc = LSS_NAME(getresuid)(ruid, euid, suid); in LSS_NAME()
3379 LSS_INLINE int LSS_NAME(setresuid32)(uid_t ruid, uid_t euid, uid_t suid) { in LSS_NAME()
[all …]
/external/selinux/sepolgen/tests/
Daudit.txt2 …8 a2=4c56cff4 a3=0 items=0 ppid=8131 pid=8132 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
5 …8 a2=4c56cff4 a3=0 items=0 ppid=8132 pid=8133 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
8 …8 a2=4c56cff4 a3=0 items=0 ppid=8132 pid=8134 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
11 …8 a2=4c56cff4 a3=0 items=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
14 …8 a2=4c56cff4 a3=0 items=0 ppid=8144 pid=8145 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
17 …8 a2=4c56cff4 a3=0 items=0 ppid=8144 pid=8146 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
20 …8 a2=4c56cff4 a3=0 items=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
23 …8 a2=4c56cff4 a3=0 items=0 ppid=8151 pid=8152 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
26 …8 a2=4c56cff4 a3=0 items=0 ppid=8151 pid=8153 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
29 …8 a2=4c56cff4 a3=0 items=0 ppid=8131 pid=8144 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sg…
[all …]

12