| /netbsd-src/tests/lib/libc/sys/ |
| H A D | t_getgroups.c | 55 ATF_REQUIRE(getgroups(10, (gid_t *)-1) == -1); in ATF_TC_BODY() 60 ATF_REQUIRE(getgroups(-1, gidset) == -1); in ATF_TC_BODY() 80 n = getgroups(NGROUPS_MAX, gidset); in ATF_TC_BODY() 108 n = getgroups(NGROUPS_MAX, gidset); in ATF_TC_BODY() 153 ATF_REQUIRE(getgroups(0, gidset) >= 0); in ATF_TC_BODY()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | uidswap.c | 69 saved_egroupslen = getgroups(NGROUPS_MAX, saved_egroups); in temporarily_use_uid() 78 user_groupslen = getgroups(NGROUPS_MAX, user_groups); in temporarily_use_uid()
|
| /netbsd-src/usr.bin/quota/ |
| H A D | quota.c | 166 ngroups = getgroups(NGROUPS, gidset); in main() 268 ngroups = getgroups(NGROUPS, gidset); in showgid() 301 ngroups = getgroups(NGROUPS, gidset); in showgrpname()
|
| /netbsd-src/external/bsd/atf/dist/atf-c/detail/ |
| H A D | user.c | 57 ngroups = getgroups(NGROUPS_MAX, groups); in atf_user_is_member_of_group()
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/ia64/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/ |
| H A D | unistd.h | 1719 # undef getgroups 1720 # define getgroups rpl_getgroups 1722 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1723 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); 1726 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); 1728 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); 1730 _GL_CXXALIASWARN (getgroups); 1732 # undef getgroups 1734 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
|