Home
last modified time | relevance | path

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

12

/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dgetresuid.c30 uid_t suid = -1; in getresuid_0100() local
31 int rev = getresuid(&ruid, &euid, &suid); in getresuid_0100()
46 uid_t suid = -1; in getresuid_0200() local
47 int rev = getresuid(&ruid, &euid, &suid); in getresuid_0200()
/third_party/ltp/testcases/kernel/syscalls/utils/
Dcompat_16.h35 int setresuid(uid_t ruid, uid_t euid, uid_t suid);
36 int getresuid(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()
139 int GETRESUID(void (cleanup)(void), UID_T *ruid, UID_T *euid, UID_T *suid) in GETRESUID() argument
141 LTP_CREATE_SYSCALL(getresuid, cleanup, ruid, euid, suid); in GETRESUID()
Dcompat_tst_16.h32 int setresuid(uid_t ruid, uid_t euid, uid_t suid);
131 int SETRESUID(UID_T ruid, UID_T euid, UID_T suid) in SETRESUID() argument
133 TST_CREATE_SYSCALL(setresuid, ruid, euid, suid); in SETRESUID()
/third_party/ltp/lib/
Dtst_uid.c75 uid_t ruid, euid, suid; in tst_check_resuid_() local
77 SAFE_GETRESUID(&ruid, &euid, &suid); in tst_check_resuid_()
79 if (ruid == exp_ruid && euid == exp_euid && suid == exp_suid) in tst_check_resuid_()
90 (int)ruid, (int)euid, (int)suid); in tst_check_resuid_()
Dtst_safe_macros.c169 uid_t ruid, uid_t euid, uid_t suid) in safe_setresuid() argument
173 ret = setresuid(ruid, euid, suid); in safe_setresuid()
178 (long)euid, (long)suid); in safe_setresuid()
182 (long)ruid, (long)euid, (long)suid, ret); in safe_setresuid()
Dsafe_macros.c382 uid_t *ruid, uid_t *euid, uid_t *suid) in safe_getresuid() argument
386 rval = getresuid(ruid, euid, suid); in safe_getresuid()
390 "getresuid(%p, %p, %p) failed", ruid, euid, suid); in safe_getresuid()
394 euid, suid, rval); in safe_getresuid()
/third_party/cef/patch/patches/
Dlinux_assets_path_1936.patch14 diff --git sandbox/linux/suid/client/setuid_sandbox_host.cc sandbox/linux/suid/client/setuid_sandbo…
16 --- sandbox/linux/suid/client/setuid_sandbox_host.cc
17 +++ sandbox/linux/suid/client/setuid_sandbox_host.cc
/third_party/musl/src/misc/
Dgetresuid.c5 int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid) in getresuid() argument
7 return syscall(SYS_getresuid, ruid, euid, suid); in getresuid()
/third_party/musl/src/unistd/
Dsetresuid.c6 int setresuid(uid_t ruid, uid_t euid, uid_t suid) in setresuid() argument
8 return __setxid(SYS_setresuid, ruid, euid, suid); in setresuid()
/third_party/ltp/include/
Dtst_uid.h32 #define tst_check_resuid(cstr, ruid, euid, suid) \ argument
33 tst_check_resuid_(__FILE__, __LINE__, (cstr), (ruid), (euid), (suid))
Dtst_safe_macros.h129 uid_t ruid, uid_t euid, uid_t suid);
130 #define SAFE_SETRESUID(ruid, euid, suid) \ argument
131 safe_setresuid(__FILE__, __LINE__, (ruid), (euid), (suid))
133 #define SAFE_GETRESUID(ruid, euid, suid) \ argument
134 safe_getresuid(__FILE__, __LINE__, NULL, (ruid), (euid), (suid))
Dsafe_macros_fn.h88 uid_t *ruid, uid_t *euid, uid_t *suid);
/third_party/ltp/testcases/kernel/syscalls/sched_setscheduler/
Dsched_setscheduler03.c107 uid_t ruid, euid, suid; in setup() local
139 SAFE_GETRESUID(&ruid, &euid, &suid); in setup()
/third_party/libfuse/util/
Dmount.fuse.c248 int suid = 1; in main() local
344 suid = 0; in main()
366 if (suid) in main()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dt_x509.c186 const ASN1_BIT_STRING *iuid, *suid; in X509_print_ex() local
187 X509_get0_uids(x, &iuid, &suid); in X509_print_ex()
194 if (suid != NULL) { in X509_print_ex()
197 if (!X509_signature_dump(bp, suid, 12)) in X509_print_ex()
/third_party/openssl/crypto/x509/
Dt_x509.c186 const ASN1_BIT_STRING *iuid, *suid; in X509_print_ex() local
187 X509_get0_uids(x, &iuid, &suid); in X509_print_ex()
194 if (suid != NULL) { in X509_print_ex()
197 if (!X509_signature_dump(bp, suid, 12)) in X509_print_ex()
/third_party/ntfs-3g/libfuse-lite/
Dfusermount.c125 uid_t ruid, euid, suid; in restore_privs() local
127 if (getresuid(&ruid, &euid, &suid) < 0) { in restore_privs()
131 if (setresuid(-1, suid, -1) < 0) { in restore_privs()
135 if (geteuid() != suid) { in restore_privs()
/third_party/ltp/include/old/
Dsafe_macros.h85 #define SAFE_GETRESUID(cleanup_fn, ruid, euid, suid) \ argument
86 safe_getresuid(__FILE__, __LINE__, cleanup_fn, (ruid), (euid), (suid))
/third_party/toybox/
DConfig.in46 Support for the Set User ID bit, to install toybox suid root and drop
48 this change ownership of the file to the root user and set the suid
/third_party/mksh/
Dsh_flags.opt134 /* -p privileged shell (suid) */
/third_party/skia/third_party/externals/icu/source/data/region/
Daf.txt35 202{"Afrika suid van die Sahara"}
/third_party/icu/icu4c/source/data/region/
Daf.txt35 202{"Afrika suid van die Sahara"}
/third_party/libfuse/doc/
Dkernel.txt202 2) creating a filesystem containing a suid or sgid application,
236 whole system. For example a suid application locking a
/third_party/rust/crates/nix/src/
Dunistd.rs2790 pub fn setresuid(ruid: Uid, euid: Uid, suid: Uid) -> Result<()> {
2791 let res = unsafe { libc::setresuid(ruid.into(), euid.into(), suid.into()) };
2858 let mut suid = libc::uid_t::max_value(); localVariable
2859 let res = unsafe { libc::getresuid(&mut ruid, &mut euid, &mut suid) };
2861 … Errno::result(res).map(|_| ResUid{ real: Uid(ruid), effective: Uid(euid), saved: Uid(suid) })
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
Dmod.rs1778 pub fn getresuid(ruid: *mut ::uid_t, euid: *mut ::uid_t, suid: *mut ::uid_t) -> ::c_int; in getresuid()
1827 pub fn setresuid(ruid: ::uid_t, euid: ::uid_t, suid: ::uid_t) -> ::c_int; in setresuid()

12