Searched refs:grname (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.3-release/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 79 char *grname; member in struct:__anon6177 103 strcmp(group, grouphead.grname)) { 108 grouphead.grname = (char *) 110 strcpy(grouphead.grname, group); 150 if (grouphead.grname) { 151 free(grouphead.grname); 152 grouphead.grname = (char *)0;
|
/freebsd-10.3-release/lib/libc/gen/ |
H A D | getnetgrent.c | 129 char *grname; member in struct:__anon5776 164 if (grouphead.gr == NULL || strcmp(group, grouphead.grname)) { 205 grouphead.grname = strdup(group); 252 if (grouphead.grname) { 253 free(grouphead.grname); 254 grouphead.grname = NULL;
|
/freebsd-10.3-release/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 351 ingroup(const char *grname) argument 361 if ((gptr = getgrnam(grname)) == NULL) { 362 warnx("warning: unknown group '%s'", grname);
|
/freebsd-10.3-release/usr.sbin/pw/ |
H A D | pw_user.c | 77 static uid_t pw_gidpolicy(struct userconf *cnf, char *grname, char *nam, 381 pw_gidpolicy(struct userconf *cnf, char *grname, char *nam, gid_t prefer, bool dryrun) argument 390 if (grname) { 391 if ((grp = GETGRNAM(grname)) == NULL) { 392 gid = pw_checkid(grname, GID_MAX); 856 char grname[MAXLOGNAME]; local 960 strlcpy(grname, gr->gr_name, LOGNAMESIZE); 962 grname[0] = '\0'; 982 strcmp(name, grname) == 0) 1180 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; local 1491 char *gecos, *homedir, *grname, *name, *newname, *walk, *skel, *shell; local [all...] |
Completed in 73 milliseconds