Home
last modified time | relevance | path

Searched refs:setgid (Results 1 - 25 of 49) sorted by relevance

12

/third_party/node/lib/internal/bootstrap/switches/
H A Ddoes_own_process_state.js18 process.setgid = wrapped.setgid;
47 setgid: _setgid,
101 setgid: wrapIdSetter('Group', _setgid),
H A Ddoes_not_own_process_state.js18 process.setgid = unavailable('process.setgid()');
/third_party/musl/src/unistd/
H A Dsetgid.c5 int setgid(gid_t gid) in setgid() function
/third_party/ltp/testcases/kernel/syscalls/setgid/
H A Dsetgid01.c11 * Calls setgid() with current gid and expects success.
27 GID16_CHECK(gid, setgid); in setup()
H A Dsetgid02.c10 * Test if setgid() system call sets errno to EPERM correctly.
14 * Call setgid() to set the gid to that of root. Run this test as
28 GID16_CHECK(rootpwent->pw_gid, setgid); in run()
H A Dsetgid03.c24 tst_res(TFAIL, "setgid failed to set gid to nobody gid"); in run()
32 GID16_CHECK(nobody->pw_gid, setgid); in setup()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dsetgid.c22 * @tc.desc : Call the setgid method to set the process gid
28 int result = setgid(gid); in setgid_0100()
30 t_error("%s setgid error get result is %d are not 0\n", __func__, result); in setgid_0100()
33 t_error("%s setgid failed", __func__); in setgid_0100()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dgetresgid.c29 setgid(GID1000); in getresgid_0100()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/
H A D5-1.c38 if (setgid(pwd->pw_gid)) { in main()
39 perror("setgid"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
H A D6-1.c46 if (setgid(pw->pw_gid) != 0) { in set_nonroot()
51 perror("setgid failed"); in set_nonroot()
/third_party/pulseaudio/src/daemon/
H A Dcaps.c65 pa_assert_se(setgid(gid) >= 0); in pa_drop_root()
/third_party/cups-filters/backend/
H A Dcups-brf.c83 if (setgid(pw->pw_gid)) { in main()
/third_party/ltp/testcases/kernel/fs/fs_perms/
H A Dfs_perms.c114 if (setgid(group_id)) in testfperm()
116 "Could not setgid to %d.", group_id); in testfperm()
/third_party/ltp/testcases/kernel/syscalls/utils/
H A Dcompat_tst_16.h94 TST_CREATE_SYSCALL(setgid, gid); in SETGID()
H A Dcompat_16.h97 LTP_CREATE_SYSCALL(setgid, cleanup, gid); in SETGID()
/third_party/toybox/openharmony/
H A Dsu.c88 if (initgroups(pwd->pw_name, pwd->pw_gid) || setgid(pwd->pw_uid) || setuid(pwd->pw_uid)) in xsetuser()
/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/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);

Completed in 16 milliseconds

12