/titanic_44/usr/src/cmd/oamuser/user/ |
H A D | val_lgrp.c | 84 if (g_ptr->gr_gid == gid) { in valid_lgroup() 91 grplist[ i++ ] = g_ptr->gr_gid; in valid_lgroup() 95 if( g_ptr->gr_gid == grplist[j] ) in valid_lgroup() 100 grplist[i++] = g_ptr->gr_gid; in valid_lgroup()
|
H A D | groups.c | 184 if (g_ptr->gr_gid == gids[i]) { in edit_group()
|
/titanic_44/usr/src/lib/libcmdutils/common/ |
H A D | gid.c | 56 if (isreservedgid(grp->gr_gid)) /* Skip reserved IDs */ in findnextgid() 58 if (grp->gr_gid >= gid) { in findnextgid() 59 if (grp->gr_gid == stop) { /* Overflow check */ in findnextgid() 63 gid = grp->gr_gid + 1; in findnextgid()
|
/titanic_44/usr/src/cmd/oamuser/lib/ |
H A D | putgrent.c | 58 if (grpstr->gr_gid == 0) { in putgrent() 61 (void) fprintf(to, "%ld:", grpstr->gr_gid); in putgrent() 80 grpstr->gr_passwd, grpstr->gr_gid); in putgrent()
|
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | getgrouplist.c | 79 if (grp->gr_gid == agroup) 82 if (groups[i] == grp->gr_gid) 92 groups[ngroups++] = grp->gr_gid;
|
/titanic_44/usr/src/lib/nsswitch/files/common/ |
H A D | getgrent.c | 128 ulong_t gr_gid; in check_grgid() local 146 gr_gid = strtoul(linep, (char **)&end, 10); in check_grgid() 149 if (linep == end || gr_gid > UINT32_MAX) in check_grgid() 152 return ((gid_t)gr_gid == argp->key.gid); in check_grgid()
|
/titanic_44/usr/src/cmd/newgrp/ |
H A D | newgrp.c | 246 if (p->pw_gid == g->gr_gid || getuid() == 0) { 248 return (g->gr_gid); 253 return (g->gr_gid); 264 return (g->gr_gid);
|
/titanic_44/usr/src/lib/libresolv2/common/irs/ |
H A D | util.c | 92 if ((gid_t)grp->gr_gid == basegid) in make_group_list() 98 groups[ng++] = grp->gr_gid; in make_group_list()
|
/titanic_44/usr/src/lib/libast/common/string/ |
H A D | strgid.c | 89 id = gr->gr_gid; in strgid() 104 id = gr->gr_gid; in strgid()
|
/titanic_44/usr/src/cmd/hal/hald/ |
H A D | util_helper.c | 116 if (initgroups (HAL_USER, gr->gr_gid)) { in drop_privileges() 122 if (setgid (gr->gr_gid)) { in drop_privileges()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | getgrnam_r.c | 363 group->gr_gid = 0; in str2group() 390 group->gr_gid = GID_NOBODY; in str2group() 392 group->gr_gid = (gid_t)tmp; in str2group() 449 gid_t gid = grp->gr_gid; in process_cstr()
|
H A D | pt.c | 151 pto.pto_rgid = gr_name->gr_gid; in grantpt()
|
/titanic_44/usr/src/lib/nsswitch/compat/common/ |
H A D | getgrent.c | 143 return (g->gr_gid == argp->key.gid); 200 int gid = g->gr_gid; 262 g->gr_gid);
|
/titanic_44/usr/src/lib/libbc/inc/include/ |
H A D | grp.h | 32 int gr_gid; member
|
/titanic_44/usr/src/lib/libbc/inc/5include/ |
H A D | grp.h | 43 gid_t gr_gid; member
|
/titanic_44/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 431 if (setgid(grp->gr_gid) == -1) { in pkgexecv() 432 progerr(pkg_gt(ERR_SETGID), grp->gr_gid); in pkgexecv()
|
/titanic_44/usr/src/cmd/getent/ |
H A D | dogetgr.c | 47 grp->gr_gid) == EOF) in putgrent()
|
/titanic_44/usr/src/ucbcmd/install.d/ |
H A D | install.c | 163 if (gflag && chown(dirname, -1, gp->gr_gid) && errno != EPERM) { in main() 252 if (chown(path, pp->pw_uid, gp->gr_gid) && errno != EPERM) {
|
/titanic_44/usr/src/cmd/oamuser/group/ |
H A D | mod_group.c | 94 g_ptr->gr_gid = gid; in mod_group()
|
/titanic_44/usr/src/ucbcmd/groups/ |
H A D | groups.c | 86 if (pw->pw_gid == gr->gr_gid) { in showgroups()
|
/titanic_44/usr/src/head/ |
H A D | grp.h | 51 gid_t gr_gid; member
|
/titanic_44/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_nsswitch.c | 375 de = uint_list_dav(val, &grp->gr_gid, 1); in directory_provider_nsswitch_populate() 378 grp->gr_gid + LOCALRID_GID_MIN); in directory_provider_nsswitch_populate()
|
/titanic_44/usr/src/cmd/logins/ |
H A D | logins.c | 587 if ((dp->groupID == grent->gr_gid) && !dp->groupname) { in applygroup() 608 !(grent->gr_gid == dp->groupID)) { in applygroup() 614 psecgrp->groupID = grent->gr_gid; in applygroup() 1556 pgrp->groupID = grent->gr_gid; in main()
|
/titanic_44/usr/src/lib/libcmd/common/ |
H A D | id.c | 319 else sfprintf(sp, "%u(%s)", grp->gr_gid, grp->gr_name); in getids() 385 else sfprintf(sp, "%u", grp->gr_gid); in getids()
|
/titanic_44/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 225 gr->gr_gid == stbuf.st_gid) || 338 ((gr != NULL && gr->gr_gid == st->st_gid) || 643 ((gr != NULL && gr->gr_gid == stbuf.st_gid) ||
|