Home
last modified time | relevance | path

Searched refs:getgrnam (Results 1 – 25 of 86) sorted by relevance

1234

/freebsd/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ptm.c97 ATF_REQUIRE_MSG((gp = getgrnam("tty")) != NULL, in ATF_TC_BODY()
161 ATF_REQUIRE_MSG((gp = getgrnam("tty")) != NULL, in ATF_TC_BODY()
/freebsd/lib/libc/tests/nss/
H A Dgetgr_test.c362 grp = getgrnam(grp_model->gr_name); in group_test_getgrnam()
536 ATF_TC_WITHOUT_HEAD(getgrnam);
537 ATF_TC_BODY(getgrnam, tc) in ATF_TC_BODY() argument
568 ATF_TP_ADD_TC(tp, getgrnam); in ATF_TP_ADD_TCS()
/freebsd/include/
H A Dgrp.h68 struct group *getgrnam(const char *);
/freebsd/bin/pax/
H A Dcache.c402 if ((gr = getgrnam(name)) == NULL) in gid_name()
410 if ((gr = getgrnam(name)) == NULL) { in gid_name()
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_getgrent.c149 gr2 = getgrnam(gr->gr_name); in ATF_TC_BODY()
/freebsd/lib/libpam/modules/pam_ftpusers/
H A Dpam_ftpusers.c96 grp = getgrnam(name); in pam_sm_acct_mgmt()
/freebsd/lib/libpam/modules/pam_group/
H A Dpam_group.c94 if ((grp = getgrnam(group)) == NULL || grp->gr_mem == NULL) in pam_group()
/freebsd/tests/sys/mac/bsdextended/
H A Dugidfw_test.c162 if (getgrnam(test_groups[i]) == NULL) in test_libugidfw_strings()
/freebsd/sbin/mknod/
H A Dmknod.c83 return ((gr = getgrnam(s)) == NULL) ? id(s, "group") : gr->gr_gid; in a_gid()
/freebsd/contrib/dma/
H A Ddma-mbox-create.c113 gr = getgrnam(DMA_GROUP); in main()
/freebsd/usr.sbin/bluetooth/sdpd/
H A Dmain.c181 struct group *grp = getgrnam(group); in drop_root()
/freebsd/sbin/mount_unionfs/
H A Dmount_unionfs.c82 if ((gr = getgrnam(s)) != NULL) in parse_gid()
/freebsd/usr.sbin/chroot/
H A Dchroot.c57 gp = getgrnam(group); in resolve_group()
/freebsd/sbin/mksnap_ffs/
H A Dmksnap_ffs.c159 if ((grp = getgrnam("operator")) == NULL) in main()
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dallow.py182 id = decodeid(w, grp.getgrnam,
194 id = grp.getgrnam(w)[2]
/freebsd/usr.bin/chpass/
H A Dfield.c133 if (!(gr = getgrnam(p))) { in p_gid()
/freebsd/crypto/heimdal/appl/login/
H A Dlimits_conf.c182 gr = getgrnam(args[0] + 1); in read_limits_conf()
H A Dlogin_access.c216 } else if ((group = getgrnam(tok)) != 0) { /* try group membership */ in user_match()
/freebsd/crypto/heimdal/appl/rsh/
H A Dlimits_conf.c182 gr = getgrnam(args[0] + 1); in read_limits_conf()
H A Dlogin_access.c216 } else if ((group = getgrnam(tok)) != 0) { /* try group membership */ in user_match()
/freebsd/crypto/openssh/
H A Dsshpty.c170 grp = getgrnam("tty"); in pty_setowner()
/freebsd/usr.sbin/pw/
H A Dpw.c65 getgrnam,
/freebsd/lib/libc/posix1e/
H A Dacl_from_text.c296 g = getgrnam(name); in _acl_name_to_id()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_disk_set_standard_lookup.c65 * Installs functions that use getpwnam()/getgrnam()---along with
67 * object. This is in a separate file because getpwnam()/getgrnam()
152 result = getgrnam(gname); in lookup_gid()
/freebsd/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c186 if ((group = getgrnam(tok)) == NULL) { in group_match()

1234