Home
last modified time | relevance | path

Searched refs:grpp (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/chown/
H A Dchown.c107 char *grpp; /* pointer to group name arg */ in main() local
186 if ((grpp = strchr(argv[0], ':')) != NULL) { in main()
187 *grpp++ = 0; in main()
190 if (sid_to_id(grpp, B_FALSE, &gid)) { in main()
193 grpp); in main()
196 } else if ((grp = getgrnam(grpp)) != NULL) { in main()
199 if (isnumber(grpp)) { in main()
201 gid = (gid_t)strtoul(grpp, NULL, 10); in main()
215 "chown: unknown group id %s\n"), grpp); in main()
/illumos-gate/usr/src/cmd/listen/
H A Dnlps_serv.c626 struct group *grpp; in exec_cmd() local
737 if ((grpp = getgrgid(pwdp->pw_gid)) == NULL) { in exec_cmd()
742 sprintf(msgbuf, "NLPS: Cannot set group id to %s", grpp->gr_name); in exec_cmd()
H A Dlisten.c1337 struct group *grpp; local
1441 if ((grpp = getgrgid(pwdp->pw_gid)) == NULL) {
1446 sprintf(msgbuf, "Cannot set group id to %s", grpp->gr_name);
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c578 struct group grp, *grpp; in di_devperm_login() local
590 if (getgrnam_r("tty", &grp, grbuf, NSS_BUFLEN_GROUP, &grpp) != 0) { in di_devperm_login()
591 tty_gid = grpp->gr_gid; in di_devperm_login()
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c2959 struct group grp, *grpp; in ns_lookup_byname() local
2985 grpp = getgrnam_r(name, &grp, buf, grpbufsiz); in ns_lookup_byname()
2986 if (grpp == NULL && errno == 0 && lower_name != NULL && in ns_lookup_byname()
2988 grpp = getgrnam_r(lower_name, &grp, buf, grpbufsiz); in ns_lookup_byname()
2989 if (grpp == NULL) { in ns_lookup_byname()