Home
last modified time | relevance | path

Searched refs:setgid (Results 26 - 50 of 71) sorted by relevance

123

/kernel/linux/linux-6.6/tools/testing/selftests/mount/
H A Dnosymfollow-test.c106 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 Dunprivileged-remount-test.c171 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 Dunix-caps.c184 if (setgid(context->gid)) {
185 lwsl_cx_err(context, "setgid: %s failed",
/third_party/ltp/testcases/kernel/syscalls/lchown/
H A Dlchown02.c176 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 Dcompat_16.h97 LTP_CREATE_SYSCALL(setgid, cleanup, gid); in SETGID()
/kernel/liteos_a/testsuites/unittest/security/reugid/smoke/
H A Dreugid_test_001.cpp109 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 Dmove_mount_set_group_test.c101 if (setgid(0)) in create_and_enter_userns()
/kernel/linux/linux-5.10/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c171 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 Dsys_ni.c174 COND_SYSCALL(setgid); variable
/kernel/linux/linux-6.6/kernel/
H A Dsys_ni.c96 COND_SYSCALL(setgid); variable
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h138 int setgid(gid_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h113 int setgid(gid_t);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h140 int setgid(gid_t);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h138 int setgid(gid_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h113 int setgid(gid_t);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h118 int setgid(gid_t);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h113 int setgid(gid_t);
/third_party/libfuse/util/
H A Dmount.fuse.c410 if (!pwd || setgid(pwd->pw_gid) == -1 || setuid(pwd->pw_uid) == -1) { in main()
/third_party/musl/include/
H A Dunistd.h177 int setgid(gid_t);
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c192 if (setgid(0)) in setid_userns_root()
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c210 if (setgid(0)) in setid_userns_root()
/third_party/node/src/
H A Dnode_credentials.cc275 } 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 Dread_all.c288 TEST(setgid(nobody->pw_gid)); in maybe_drop_privs()
/third_party/musl/libc-test/src/api/
H A Dunistd.c314 {int(*p)(gid_t) = setgid;} in f()
/third_party/toybox/toys/pending/
H A Dtcpsvd.c290 setgid(gid); in tcpsvd_main()

Completed in 19 milliseconds

123