/osnet-11/usr/src/cmd/hal/hald/ |
H A D | util_helper.c | 97 struct group *gr = NULL; local 107 gr = getgrnam (HAL_GROUP); 108 if (!gr) { 114 if (initgroups (HAL_USER, gr->gr_gid)) { 120 if (setgid (gr->gr_gid)) {
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | groups.t | 92 my $gr = $1; 93 my @g0 = split /,/, $gr; 109 print "# groups=$gr\n"; 125 next if (! defined $group or ! grep { $_ eq $group } @gr) and $seen{$_}++; 127 push(@gr, $group); 130 push(@gr, $_); 134 print "# gr = @gr\n"; 138 $gr1 = join(' ', grep(!$did{$_}++, sort split(' ', join(' ', @gr)))); 140 $gr1 = join(' ', sort @gr); [all...] |
H A D | grent.t | 170 my $gr = scalar getgrent(); 171 last unless defined $gr; 172 push @gr1, $gr; 180 my ($gr) = (getgrent()); 181 last unless defined $gr; 182 push @gr2, $gr;
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | strgid.c | 73 register struct group* gr; local 88 if (gr = getgrnam(name)) 89 id = gr->gr_gid; 103 else if (gr = getgrnam("Administrators")) 104 id = gr->gr_gid;
|
H A D | fmtgid.c | 64 register struct group* gr; local 78 if (gr = getgrgid(gid)) 80 name = gr->gr_name;
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | irs_data.h | 29 struct irs_gr * gr; member in struct:net_data
|
H A D | lcl_ng.c | 83 struct ng_old_struct *gr; member in struct:pvt::__anon2423 159 if (pvt->fp == NULL || pvt->grouphead.gr == NULL || 174 pvt->nextgrp = pvt->grouphead.gr; 254 gp = pvt->grouphead.gr; 266 pvt->grouphead.gr = NULL; 306 grp->ng_next = pvt->grouphead.gr; 307 pvt->grouphead.gr = grp;
|
H A D | gen_p.h | 70 struct irs_gr * gr; member in struct:irs_inst
|
H A D | irs_data.c | 79 if (net_data->gr != NULL) { 80 (*net_data->gr->close)(net_data->gr); 81 net_data->gr = NULL;
|
H A D | irpmarshall.c | 398 * int irp_marshall_gr(const struct group *gr, char **buffer, size_t *len) 410 irp_marshall_gr(const struct group *gr, char **buffer, size_t *len) { argument 415 if (gr == NULL || len == NULL) { 420 sprintf(grGid, "%ld", (long)gr->gr_gid); 422 need += strlen(gr->gr_name) + 1; 424 need += strlen(gr->gr_passwd) + 1; 429 need += joinlength(gr->gr_mem) + 1; 452 strcpy(*buffer, gr->gr_name); strcat(*buffer, fieldsep); 454 strcat(*buffer, gr->gr_passwd); 458 joinarray(gr 477 irp_unmarshall_gr(struct group *gr, char *buffer) argument 2210 struct group *gr; local [all...] |
H A D | gen.c | 251 if (irs->accessors[n].gr != NULL) 252 (*irs->accessors[n].gr->close)(irs->accessors[n].gr); 371 if (inst->gr == NULL && inst->acc->gr_map != NULL) 372 if (!(inst->gr = (*inst->acc->gr_map)(inst->acc))) 393 if (inst->gr == NULL && inst->acc->gr_map != NULL) 394 inst->gr = (*inst->acc->gr_map)(inst->acc);
|
/osnet-11/usr/src/lib/libc/sparcv9/fp/ |
H A D | __quad_mag64.s | 358 ! unsigned int ex, ey, gr, borrow, rm; 378 ! gr = sticky = 0; 385 ! gr = frac >> 62; 392 ! sticky |= gr | (frac & ((1ul << (e - 2)) - 1)); 393 ! gr = (frac >> (e - 2)) & 3; 397 ! sticky |= (gr & 1); 398 ! gr = (gr >> 1) | ((frac & 1) << 1); 405 ! gr <<= 1; 407 ! gr | [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/User/ |
H A D | grent.pm | 49 $gr = getgrgid(0) or die "No group zero"; 50 if ( $gr->name eq 'wheel' && @{$gr->members} > 1 ) { 60 $gr = getgr($whoever);
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_util.c | 422 char *gr; local 465 for (gr = strtok_r(access_list, ":", &lasts); 466 gr != NULL; gr = strtok_r(NULL, ":", &lasts)) { 473 if (*gr == '-') { 475 gr++; 492 if (*gr == '.') { 493 if (*(gr + 1) == '\0') { /* single dot */ 497 off = strlen(host) - strlen(gr); 499 strcasecmp(host + off, gr) 663 char *gr; local [all...] |
/osnet-11/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 56 register struct group *gr = NULL; local 224 ((gr != NULL && 225 gr->gr_gid == stbuf.st_gid) || 226 (gr = getgrgid(stbuf.st_gid)) != NULL)) 230 for (gp = gr->gr_mem; *gp != NULL; gp++) 338 ((gr != NULL && gr->gr_gid == st->st_gid) || 339 (gr = getgrgid(st->st_gid)) != NULL)) 343 for (gp = gr->gr_mem; *gp != NULL; gp++) 408 register struct group *gr local [all...] |
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | ncgrpw.c | 595 struct group *gr; local 611 while ((gr = fgetgrent(gr_ptr)) != NULL) { 612 if (strcmp(gr->gr_name, nam) == 0) { 619 return (gr); 673 struct group *gr; local 689 while ((gr = fgetgrent(gr_ptr)) != NULL) { 690 if (gr->gr_gid == gid) { 697 return (gr);
|
/osnet-11/usr/src/grub/grub2/grub-core/video/ |
H A D | bochs.c | 81 grub_uint8_t gr[256]; member in struct:saved_state 102 for (i = 0; i < ARRAY_SIZE (st->gr); i++) 103 st->gr[i] = grub_vga_gr_read (i); 136 for (i = 0; i < ARRAY_SIZE (st->gr); i++) 137 grub_vga_gr_write (st->gr[i], i);
|
H A D | cirrus.c | 115 grub_uint8_t gr[GRUB_VGA_GR_MAX]; member in struct:saved_state 136 for (i = 0; i < ARRAY_SIZE (st->gr); i++) 137 st->gr[i] = grub_vga_gr_read (i); 156 for (i = 0; i < ARRAY_SIZE (st->gr); i++) 157 grub_vga_gr_write (st->gr[i], i);
|
H A D | sis315_init.c | 155 static const grub_uint8_t gr[] = { variable
|
H A D | sis315pro.c | 308 for (i = 0; i < ARRAY_SIZE (gr); i++) 309 grub_vga_gr_write (gr[i], i);
|
/osnet-11/usr/src/lib/libsec/common/ |
H A D | acl_lex.l | 933 struct group *gr; 952 gr = getgrnam(name); 953 if (gr) { 954 *id = gr->gr_gid;
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | config.charset | 177 for l in el el_GR gr gr_GR; do
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | readcf.c | 1456 struct group *gr; local 1467 gr = getgrnam(q); 1468 if (gr == NULL) 1474 m->m_gid = gr->gr_gid; 2715 register struct group *gr; local 2718 gr = getgrnam(val); 2719 if (gr == NULL) 2723 DefGid = gr->gr_gid; 3374 register struct group *gr; local 3376 gr [all...] |
/osnet-11/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 395 struct group gr; local 442 if (getgrgid_r(gid, &gr, pw_buf, GETPWUID_BUFF_LEN) == 450 gr.gr_name, GIDNAMELEN);
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | llib-lproc | 110 int Plwp_getregs(struct ps_prochandle *Pr, lwpid_t i, prgregset_t gr); 111 int Plwp_setregs(struct ps_prochandle *Pr, lwpid_t i, const prgregset_t gr);
|