Home
last modified time | relevance | path

Searched refs:setgid (Results 1 – 25 of 155) sorted by relevance

1234567

/external/ltp/testcases/kernel/syscalls/setgid/
Dsetgid02.c61 GID16_CHECK(rootpwent->pw_gid, setgid, cleanup); in main()
92 if (setgid(ltpuser->pw_gid) == -1) { in setup()
Dsetgid01.c86 GID16_CHECK(gid, setgid, cleanup); in setup()
Dsetgid03.c95 GID16_CHECK(ltpuser1pwent->pw_gid, setgid, cleanup); in setup()
/external/mtools/
Dprivileges.c115 setgid(egid); in reclaim_privs()
123 setgid(rgid); in drop_privs()
/external/openssh/
Duidswap.c139 if (setgid(getegid()) == -1) in temporarily_use_uid()
182 if (setgid(getgid()) == -1) in restore_uid()
253 (setgid(old_gid) != -1 || setegid(old_gid) != -1)) in permanently_set_uid()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/
D5-1.c38 setgid(pwd->pw_gid); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
D6-1.c46 if (setgid(pw->pw_gid) != 0) { in set_nonroot()
/external/ltp/include/lapi/syscalls/
Ds390.in256 setgid 46
322 setgid 214
Ds390x.in256 setgid 46
321 setgid 214
Daarch64.in146 setgid 144
Dmips_n64.in105 setgid 104
/external/linux-kselftest/tools/testing/selftests/safesetid/
Dsafesetid-test.c297 if (setgid(NO_POLICY_USER) < 0) in main()
314 if (setgid(RESTRICTED_PARENT) < 0) in main()
/external/openssh/openbsd-compat/
Dbsd-setres_id.c51 if (setgid(rgid) < 0) { in setresgid()
/external/libcups/scheduler/
Dcups-exec.c129 if (setgid(gid)) in main()
/external/adhd/sound_card_init/seccomp/
Dsound_card_init-seccomp-amd64.policy67 setgid: 1
/external/ltp/testcases/kernel/connectors/pec/
Devent_generator.c146 setgid(ltp_gid); in gen_gid()
/external/ltp/testcases/kernel/syscalls/utils/
Dcompat_tst_16.h94 TST_CREATE_SYSCALL(setgid, gid); in SETGID()
Dcompat_16.h97 LTP_CREATE_SYSCALL(setgid, cleanup, gid); in SETGID()
/external/libwebsockets/lib/plat/unix/
Dunix-caps.c146 if (setgid(context->gid)) { in lws_plat_drop_app_privileges()
/external/ltp/testcases/kernel/fs/fs_perms/
Dfs_perms.c114 if (setgid(group_id)) in testfperm()
/external/libcap-ng/libcap-ng-0.7/utils/
Dcaptest.c78 setgid(0); in report()
/external/libcups/
DCREDITS.md14 Dr. ZP Han - setgid()/setuid().
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown02.c176 if (setgid(ltpuser->pw_uid) == -1) in setup()
/external/llvm-project/lldb/source/Host/posix/
DProcessLauncherPosixFork.cpp139 if (setgid(getgid()) != 0) in ChildFunc()
/external/linux-kselftest/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c102 ret = setgid(0); in change_to_userns()

1234567