/osnet-11/usr/src/lib/libast/common/features/ |
H A D | botch.c | 48 gid_t groups[32 * sizeof(int) / sizeof(gid_t)]; local 51 if ((n = getgroups((sizeof(groups) / sizeof(groups[0])) / r, groups)) > 0) 54 groups[i] = ((gid_t)0); 55 if (getgroups(i, groups) != i) 57 if (groups[i] != ((gid_t)0)) 59 groups[i] = ((gid_t)-1); 60 if (getgroups(i, groups) != i) 62 if (groups[ [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | initgroups.c | 42 /* Private interface to the groups code in getgrnam.c */ 48 gid_t *groups; local 58 * ngroups_max is the maximum number of supplemental groups per 59 * process. if no supplemental groups are allowed, we're done. 64 if ((groups = (gid_t *)calloc(ngroups_max, sizeof (gid_t))) == 0) { 68 groups[0] = agroup; 70 ngroups = _getgroupsbymember(uname, groups, (int)ngroups_max, 75 free(groups); 79 retsave = setgroups(ngroups, groups); 82 free(groups); [all...] |
H A D | getnetgrent.c | 109 ia.groups.argc = ngroup; 110 ia.groups.argv = pgroup;
|
H A D | nss_dbdefs.c | 666 ing->groups.argc; 676 cv = ing->groups.argv; 677 for (i = ing->groups.argc; --i >= 0; ) { 695 pptr->groups_argc = ing->groups.argc; 749 cv = ing->groups.argv; 1044 ing->groups.argc = pptr->groups_argc; 1052 ing->groups.argc; 1067 ing->groups.argv = cv; 1068 for (i = 0; i < ing->groups.argc; i++) {
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | groups.t | 21 print "1..0 # Skip: no `id` or `groups`\n"; 34 # groups 39 # Beware 3: the groups= might be anywhere in the id output. 40 # Beware 4: groups can have spaces ('id -a' being the only defense against this) 41 # Beware 5: id -a might not contain the groups= part. 48 # groups=(42),foo(1),bar(2),zot me(3) # parse 49 # groups=22,42,1(foo),2(bar),3(zot me) # parse 51 # and the groups= might be after, before, or between uid=... and gid=... 54 # prefer 'id' over 'groups' (is this ever wrong anywhere?) 56 if (($groups [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/demos/ |
H A D | nntp | 11 @groups = @ARGV; 24 foreach $group (@groups)
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | eaccess.c | 107 static gid_t* groups; 113 if (!(groups = newof(0, gid_t, ngroups + 1, 0))) 116 ngroups = getgroups(ngroups, groups); 120 if (groups[n] == st.st_gid)
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | util.c | 67 gid_t basegid, gid_t *groups, int *ngroups) 78 * the first element of groups is the effective gid 83 groups[ng++] = basegid; 86 groups[ng++] = basegid; 88 * Scan the group file to find additional groups. 98 groups[ng++] = grp->gr_gid; 66 make_group_list(struct irs_gr *this, const char *name, gid_t basegid, gid_t *groups, int *ngroups) argument
|
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | Listener.java | 61 private Vector groups = new Vector(); // Multicast groups monitored. field in class:Listener 148 // Record the groups monitored. 150 listener.groups.addElement(maddr); 179 listener.groups); 268 groups);
|
H A D | SLPConfig.java | 648 // interface. If groups is not null, then join all 649 // the groups. Otherwise, this is send only. 653 Vector groups) { 661 (groups == null ? true:false)); 663 if ((groups != null) && (dss instanceof MulticastSocket)) { 664 int i, n = groups.size(); 668 InetAddress maddr = (InetAddress)groups.elementAt(i); 652 refreshMulticastSocketOnInterface(InetAddress interfac, Vector groups) argument
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | id.c | 38 "groups the current process belongs to will also be written.]" 49 "[G:groups?Writes only the supplementary group IDs.]" 50 "[s:fair-share?Writes fair share scheduler IDs and groups on systems that " 216 static gid_t* groups; local 223 * get supplemental groups if required 232 if ((maxgroups = getgroups(0, groups)) <= 0) 234 if (!(groups = newof(0, gid_t, maxgroups + 1, 0))) 237 ngroups = getgroups(maxgroups, groups); 240 for (k = 0; k < j && groups[k] != groups[ [all...] |
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | getprojent.c | 76 ns_ldap_attr_t *users, *groups; local 136 groups = __ns_ldap_getAttrStruct(result->entry, _PROJ_GROUPS); 137 if (!(groups == NULL || groups->attrvalue == NULL)) { 139 for (i = 0; i < groups->value_count; i++) { 140 if (groups->attrvalue[i] == NULL) { 146 groups->attrvalue[i]); 150 groups->attrvalue[i]);
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | argp-parse.c | 250 groups of options. */ 253 all the groups of options. */ 258 /* States of the various parsing groups. */ 259 struct group *groups; 262 /* An vector containing storage for the CHILD_INPUTS field in all groups. */ 349 + (((group - cvt->parser->groups) + 1) << USER_BITS); 416 parser->egroup = convert_options (argp, 0, 0, parser->groups, &cvt); 418 parser->egroup = parser->groups; /* No parsers at all! */ 506 parser->groups = parser->storage; 529 if (parser->groups < parse 254 struct group *groups; member in struct:parser [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 310 /* on some systems you can be in several groups */ 314 gid_t *groups=0; local 319 if((maxgroups=getgroups(0,groups)) < 0) 325 groups = (gid_t*)malloc((maxgroups+1)*sizeof(gid_t)); 326 n = getgroups(maxgroups,groups); 329 if(groups[n] == statb.st_gid)
|
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getnetgrent.c | 336 top_down(struct nis_netgr_be *be, const char **groups, int ngroups, argument 355 ngt_insert(ngt, *groups, strlen(*groups)); 356 groups++; 496 /* ==== ? Should only do this if all the top-level groups */ 780 if (inlist(ia->groups.argc, ia->groups.argv, val)) { 843 res = top_down(be, (const char **)ia->groups.argv, ia->groups.argc,
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 316 gid_t *groups = alloca(maxgrp * sizeof (gid_t)); local 346 /* search through all groups for membership */ 348 groups[0] = pw.pw_gid; 350 ngroups = _getgroupsbymember(pw.pw_name, groups, maxgrp, 361 (argp->gidlist[count]) = groups[count];
|
H A D | svcauth_des.c | 607 short grouplen; /* length of cached groups */ 608 gid_t groups[1]; /* cached groups allocate _SC_NGROUPS_MAX */ member in struct:bsdcred 628 short *grouplen, gid_t *groups) 666 (gid_t *)&i_gid, &i_grouplen, (gid_t *)groups)) { 678 cred->groups[i] = groups[i]; 698 groups[i] = cred->groups[i]; 627 authdes_getucred(const struct authdes_cred *adc, uid_t *uid, gid_t *gid, short *grouplen, gid_t *groups) argument
|
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.pm | 156 my ($projname, $projid, $comment, $users, $groups, $attributes); 265 # "groups" - , seperated group list string 278 my ($projname, $projid, $comment, $users, $groups, $attributes); 284 ($projname, $projid, $comment, $users, $groups, $attributes) = 294 ($projname, $projid, $comment, $users, $groups, $attributes) = 328 if (defined($groups)) { 329 $projent->{'groups'} = $groups; 330 ($ret, $ref) = projent_parse_groups($groups, $flags); 467 # Parses "," seperated list of groups, an [all...] |
/osnet-11/usr/src/lib/librestart/common/ |
H A D | librestart.h | 278 gid_t groups[NGROUPS_MAX]; member in struct:method_context
|
/osnet-11/usr/src/lib/libproject/common/ |
H A D | getprojent.c | 182 * Check if user is a member of one of project's groups. 379 char *users, *groups; local 440 if ((groups = gettok(&next, ':')) == NULL) { 442 * groups field should not be last field 474 p = gettok(&groups, ',');
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | samr_svc.c | 436 * number of users, groups, and aliases in a domain. 801 * Request the list of groups of which a user is a member. 855 info->groups = NDR_MALLOC(mxa, size); 856 if (info->groups == NULL) { 868 group = info->groups; 1383 param->groups = 0; 1393 param->groups = 0; 1399 param->groups = (struct group_disp_info *)NDR_MALLOC( 1402 param->groups->count = 1; 1403 param->groups [all...] |
H A D | samr_clnt.c | 842 * Query the groups for a specific user. The handle must be a valid 843 * user handle obtained via samr_open_user. The list of groups is 844 * returned in group_info. Note that group_info->groups is allocated 853 struct samr_UserGroups **groups) 877 if ((*groups = malloc(nbytes)) == NULL) { 882 bcopy(arg.info->groups, *groups, nbytes); 852 samr_query_user_groups(mlsvc_handle_t *user_handle, int *n_groups, struct samr_UserGroups **groups) argument
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | import_gcry.py | 158 sg = s.groups()[0] 182 fname = m.groups ()[1] 209 chmsg = "Removed including of %s" % m.groups ()[0]
|
/osnet-11/usr/src/lib/libresolv2/include/ |
H A D | port_before.h | 66 #define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, int *ngroups
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | test.c | 605 /* on some systems you can be in several groups */ 609 gid_t *groups; local 620 groups = (gid_t*)stakalloc((maxgroups+1)*sizeof(gid_t)); 621 n = getgroups(maxgroups,groups); 624 if(groups[n] == statb.st_gid)
|