/kernel/linux/linux-6.6/tools/testing/selftests/mount/ |
H A D | nosymfollow-test.c | 106 if (setgid(0) != 0) in create_and_enter_ns() 107 die("setgid(0) failed %s\n", strerror(errno)); in create_and_enter_ns()
|
H A D | unprivileged-remount-test.c | 171 if (setgid(0) != 0) { in create_and_enter_userns() 172 die ("setgid(0) failed %s\n", in create_and_enter_userns()
|
/third_party/libwebsockets/lib/plat/unix/ |
H A D | unix-caps.c | 184 if (setgid(context->gid)) { 185 lwsl_cx_err(context, "setgid: %s failed",
|
/third_party/ltp/testcases/kernel/syscalls/lchown/ |
H A D | lchown02.c | 176 if (setgid(ltpuser->pw_uid) == -1) in setup() 177 tst_resm(TBROK | TERRNO, "setgid failed"); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/utils/ |
H A D | compat_16.h | 97 LTP_CREATE_SYSCALL(setgid, cleanup, gid); in SETGID()
|
/kernel/liteos_a/testsuites/unittest/security/reugid/smoke/ |
H A D | reugid_test_001.cpp | 109 ret = setgid(3000); in Child() 123 ret = setgid(-1); in Child()
|
/kernel/linux/linux-6.6/tools/testing/selftests/move_mount_set_group/ |
H A D | move_mount_set_group_test.c | 101 if (setgid(0)) in create_and_enter_userns()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 171 if (setgid(0) != 0) { in create_and_enter_userns() 172 die ("setgid(0) failed %s\n", in create_and_enter_userns()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | sys_ni.c | 174 COND_SYSCALL(setgid); variable
|
/kernel/linux/linux-6.6/kernel/ |
H A D | sys_ni.c | 96 COND_SYSCALL(setgid); variable
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 138 int setgid(gid_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 113 int setgid(gid_t);
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 140 int setgid(gid_t);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 138 int setgid(gid_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 113 int setgid(gid_t);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 118 int setgid(gid_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 113 int setgid(gid_t);
|
/third_party/libfuse/util/ |
H A D | mount.fuse.c | 410 if (!pwd || setgid(pwd->pw_gid) == -1 || setuid(pwd->pw_uid) == -1) { in main()
|
/third_party/musl/include/ |
H A D | unistd.h | 177 int setgid(gid_t);
|
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 192 if (setgid(0)) in setid_userns_root()
|
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 210 if (setgid(0)) in setid_userns_root()
|
/third_party/node/src/ |
H A D | node_credentials.cc | 275 } else if (setgid(gid)) { in SetGid() 276 env->ThrowErrnoException(errno, "setgid"); in SetGid() 475 SetMethod(context, target, "setgid", SetGid); in Initialize()
|
/third_party/ltp/testcases/kernel/fs/read_all/ |
H A D | read_all.c | 288 TEST(setgid(nobody->pw_gid)); in maybe_drop_privs()
|
/third_party/musl/libc-test/src/api/ |
H A D | unistd.c | 314 {int(*p)(gid_t) = setgid;} in f()
|
/third_party/toybox/toys/pending/ |
H A D | tcpsvd.c | 290 setgid(gid); in tcpsvd_main()
|