Home
last modified time | relevance | path

Searched refs:setfsgid (Results 1 - 16 of 16) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dsetfsgid.c30 int result = setfsgid(fsgid); in setfsgid_0100()
35 result = setfsgid(result); in setfsgid_0100()
48 int result = setfsgid(invalid_fsgid); in setfsgid_0200()
53 result = setfsgid(result); in setfsgid_0200()
/third_party/musl/src/linux/
H A Dsetfsgid.c4 int setfsgid(gid_t gid) in setfsgid() function
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dfsuid.h14 int setfsgid(gid_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dfsuid.h14 int setfsgid(gid_t);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dfsuid.h14 int setfsgid(gid_t);
/third_party/musl/include/sys/
H A Dfsuid.h14 int setfsgid(gid_t);
/third_party/ltp/testcases/kernel/syscalls/setfsgid/
H A Dsetfsgid02.c12 * Testcase for setfsgid() syscall to check that
15 * value of previous setfsgid() call
32 GID16_CHECK(gid, setfsgid); in run()
47 tst_res(TFAIL, "EUID %d: setfsgid() returned %ld", geteuid(), TST_RET); in run()
49 tst_res(TPASS, "EUID %d: setfsgid() returned expected value: %ld", in run()
H A Dsetfsgid01.c11 * Verify that setfsgid() correctly updates the filesystem group ID
36 GID16_CHECK(gid, setfsgid); in run()
H A Dsetfsgid03.c22 * Testcase to check the basic functionality of setfsgid(2) system
62 GID16_CHECK(gid, setfsgid, cleanup); in main()
68 "setfsgid() failed unexpectedly"); in main()
74 "setfsgid() returned %ld, expected anything but %d", in main()
77 tst_resm(TPASS, "setfsgid() returned expected value : " in main()
/third_party/ltp/testcases/kernel/syscalls/utils/
H A Dcompat_tst_16.h119 TST_CREATE_SYSCALL(setfsgid, gid); in SETFSGID()
H A Dcompat_16.h122 LTP_CREATE_SYSCALL(setfsgid, cleanup, gid); in SETFSGID()
/third_party/libfuse/util/
H A Dfusermount.c119 oldfsgid = setfsgid(getgid()); in drop_privs()
127 setfsgid(oldfsgid); in restore_privs()
/third_party/rust/crates/nix/src/
H A Dunistd.rs1500 /// See also [setfsgid(2)](https://man7.org/linux/man-pages/man2/setfsgid.2.html)
1502 pub fn setfsgid(gid: Gid) -> Gid { in setfsgid() functions
1503 let prev_fsgid = unsafe { libc::setfsgid(gid.into()) }; in setfsgid()
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs3349 pub fn setfsgid(gid: ::gid_t) -> ::c_int; in setfsgid() functions
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs4023 pub fn setfsgid(gid: ::gid_t) -> ::c_int; in setfsgid() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs4052 pub fn setfsgid(gid: ::gid_t) -> ::c_int; in setfsgid() functions

Completed in 41 milliseconds