Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/supplement/passwd/
H A Dgetgrouplist.c43 result = getgrouplist(server_user, server_gid, NULL, &server_ngroups); in getgrouplist_0100()
45 t_error("%s getgrouplist should be failed\n", __func__); in getgrouplist_0100()
49 result = getgrouplist(server_user, server_gid, server_groups, &server_ngroups); in getgrouplist_0100()
51 t_error("%s getgrouplist failed\n", __func__); in getgrouplist_0100()
/third_party/musl/src/misc/
H A Dinitgroups.c9 if (getgrouplist(user, gid, groups, &count) < 0) return -1; in initgroups()
/third_party/musl/porting/uniproton/kernel/include/
H A Dgrp.h44 int getgrouplist(const char *, gid_t, gid_t *, int *);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dgrp.h44 int getgrouplist(const char *, gid_t, gid_t *, int *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dgrp.h43 int getgrouplist(const char *, gid_t, gid_t *, int *);
/third_party/musl/include/
H A Dgrp.h44 int getgrouplist(const char *, gid_t, gid_t *, int *);
/third_party/musl/Benchmark/musl/
H A Dlibc_grp.cpp43 benchmark::DoNotOptimize(getgrouplist(user, pw->pw_gid, groups, &ngroups)); in Bm_function_Getgrouplist()
/third_party/selinux/libselinux/src/
H A Dseusers.c143 if (getgrouplist(name, gid, NULL, &ng) < 0) { in check_group()
149 if (getgrouplist(name, gid, groups, &ng) < 0) in check_group()
/third_party/musl/src/passwd/
H A Dgetgrouplist.c12 int getgrouplist(const char *user, gid_t gid, gid_t *groups, int *ngroups) in getgrouplist() function
/third_party/toybox/toys/posix/
H A Did.c131 ngroups = username ? getgrouplist(username, gid, groups, &i) in do_id()
/third_party/python/Tools/c-analyzer/c_common/
H A Dfsutil.py410 os.getgrouplist(username, gid)
/third_party/python/Lib/test/
H A Dpythoninfo.py349 if hasattr(os, 'getgrouplist'):
350 groups = os.getgrouplist(entry.pw_name, entry.pw_gid)
352 info_add('os.getgrouplist', groups)
H A Dtest_posix.py1062 @unittest.skipUnless(hasattr(posix, 'getgrouplist'), "test needs posix.getgrouplist()")
1068 self.assertIn(group, posix.getgrouplist(user, group))
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/
H A Dmod.rs724 pub fn getgrouplist( in getgrouplist() functions
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs290 let group_list = getgrouplist(&user, group).unwrap(); in test_initgroups()
/third_party/rust/crates/nix/src/
H A Dunistd.rs1629 /// [Further reading](https://man7.org/linux/man-pages/man3/getgrouplist.3.html)
1637 /// Although the `getgrouplist()` call does not return any specific
1648 pub fn getgrouplist(user: &CStr, group: Gid) -> Result<Vec<Gid>> { in getgrouplist() functions
1666 libc::getgrouplist(user.as_ptr(), in getgrouplist()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
H A Dmod.rs1498 pub fn getgrouplist( in getgrouplist() functions
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs1758 pub fn getgrouplist( in getgrouplist() functions
/third_party/rust/crates/libc/src/unix/nto/
H A Dmod.rs2937 pub fn getgrouplist( in getgrouplist() functions
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs3400 pub fn getgrouplist( in getgrouplist() functions
/third_party/rust/crates/libc/src/unix/solarish/
H A Dmod.rs2726 pub fn getgrouplist( in getgrouplist() functions
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs4224 pub fn getgrouplist( in getgrouplist() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs4291 pub fn getgrouplist( in getgrouplist() functions
/third_party/python/Modules/
H A Dposixmodule.c7632 os.getgrouplist
7648 os.getgrouplist in os_getgrouplist_impl()
7676 * getgrouplist() returns both the supplemental groups in os_getgrouplist_impl()
7693 if (getgrouplist(user, basegid, groups, &ngroups) != -1) { in os_getgrouplist_impl()
7698 /* getgrouplist() fails if the group list is too small */ in os_getgrouplist_impl()
7703 getgrouplist() sets ngroups to the total number of groups and in os_getgrouplist_impl()
7714 /* Retry getgrouplist() with a larger group list */ in os_getgrouplist_impl()
7718 /* Clang memory sanitizer libc intercepts don't know getgrouplist. */ in os_getgrouplist_impl()
/third_party/rust/crates/libc/src/unix/bsd/apple/
H A Dmod.rs5474 pub fn getgrouplist( in getgrouplist() functions

Completed in 134 milliseconds