Home
last modified time | relevance | path

Searched refs:setegid (Results 1 – 25 of 42) sorted by relevance

12

/external/ltp/testcases/network/nfsv4/acl/
Dacl1.c137 setegid((gid_t) 0); in test1()
207 if (setegid((gid_t) 601) == 0) { in testgrp1()
213 setegid((gid_t) 0); in testgrp1()
228 if ((setegid((gid_t) 602) == 0) && (seteuid((uid_t) 602) == 0)) { in testgrp2()
233 setegid((gid_t) 0); in testgrp2()
246 if ((setegid((gid_t) 603) == 0) && (seteuid((uid_t) 603) == 0)) { in testgrp3()
251 setegid((gid_t) 0); in testgrp3()
264 if (setegid((gid_t) 604) == 0) { in testgrp4()
270 setegid((gid_t) 0); in testgrp4()
277 if (setegid((gid_t) 605) == 0) { in testgrp5()
[all …]
/external/openssh/
Duidswap.c145 if (setegid(pw->pw_gid) == -1) in temporarily_use_uid()
172 if (setegid(saved_egid) == -1) in restore_uid()
253 (setgid(old_gid) != -1 || setegid(old_gid) != -1)) in permanently_set_uid()
Ddefines.h719 int setegid (gid_t);
Dssh-agent.c1202 setegid(getgid()); in main()
/external/autotest/client/site_tests/security_SessionManagerDbusEndpoints/
Dsecurity_SessionManagerDbusEndpoints.py32 os.setegid(user_info[3])
41 os.setegid(os.getgid())
/external/ltp/testcases/kernel/syscalls/setegid/
Dsetegid02.c68 TEST(setegid(ltpuser->pw_gid)); in setegid_verify()
/external/openssh/openbsd-compat/
Dbsd-setres_id.c45 if (setegid(egid) < 0) { in setresgid()
Dbsd-misc.h45 int setegid(uid_t);
Dbsd-misc.c90 int setegid(uid_t egid) in setegid() function
/external/ppp/pppd/plugins/
Dpassprompt.c58 setegid(getgid()); in promptpass()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown03.c195 if (setegid(0) == -1) in cleanup()
/external/ltp/testcases/kernel/fs/fs_perms/
Dfs_perms.c56 setegid(0); in cleanup()
/external/python/cpython2/Lib/test/
Dtest_os.py755 self.assertRaises(os.error, os.setegid, 0)
756 self.assertRaises(OverflowError, os.setegid, 1<<32)
/external/ltp/lib/
Dsafe_macros.c266 rval = setegid(egid); in safe_setegid()
/external/ipsec-tools/src/racoon/
Dprivsep.c222 if (setegid(lcconf->gid) != 0) { in privsep_init()
/external/rust/crates/nix/src/
Dunistd.rs1339 pub fn setegid(egid: Gid) -> Result<()> { in setegid() function
1340 let res = unsafe { libc::setegid(egid.into()) }; in setegid()
/external/python/cpython3/Lib/test/
Dtest_os.py2118 self.assertRaises(TypeError, os.setegid, 'not an int')
2124 self.assertRaises(OSError, os.setegid, 0)
2125 self.assertRaises(TypeError, os.setegid, 'not an int')
2126 self.assertRaises(OverflowError, os.setegid, self.GID_OVERFLOW)
/external/mksh/src/
Dmisc.c272 setegid(kshegid); in change_flag()
Dsh.h502 extern int __cdecl setegid(gid_t);
/external/rust/crates/libc/src/vxworks/
Dmod.rs1189 pub fn setegid(gid: gid_t) -> ::c_int; in setegid() function
/external/rust/crates/libc/src/unix/
Dmod.rs878 pub fn setegid(gid: gid_t) -> ::c_int; in setegid() function
/external/python/cpython2/
Dpyconfig.h.in625 /* Define to 1 if you have the `setegid' function. */
/external/python/cpython3/
Dpyconfig.h.in901 /* Define to 1 if you have the `setegid' function. */
/external/rust/crates/nix/
DCHANGELOG.md370 - Added `nix::unistd:seteuid` and `nix::unistd::setegid` for those platforms that do
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_syscalls_netbsd.inc1446 PRE_SYSCALL(setegid)(long long egid_) { /* Nothing to do */ }
1447 POST_SYSCALL(setegid)(long long res, long long egid_) { /* Nothing to do */ }

12