Searched refs:gr (Results 1 - 25 of 29) sorted by relevance

12

/osnet-11/usr/src/cmd/hal/hald/
H A Dutil_helper.c97 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 Dgroups.t92 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 Dgrent.t170 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 Dstrgid.c73 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 Dfmtgid.c64 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 Dirs_data.h29 struct irs_gr * gr; member in struct:net_data
H A Dlcl_ng.c83 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 Dgen_p.h70 struct irs_gr * gr; member in struct:irs_inst
H A Dirs_data.c79 if (net_data->gr != NULL) {
80 (*net_data->gr->close)(net_data->gr);
81 net_data->gr = NULL;
H A Dirpmarshall.c398 * 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 Dgen.c251 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.s358 ! 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 Dgrent.pm49 $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 Dsmb_util.c422 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 Dsafefile.c56 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 Dncgrpw.c595 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 Dbochs.c81 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 Dcirrus.c115 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 Dsis315_init.c155 static const grub_uint8_t gr[] = { variable
H A Dsis315pro.c308 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 Dacl_lex.l933 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 Dconfig.charset177 for l in el el_GR gr gr_GR; do
/osnet-11/usr/src/cmd/sendmail/src/
H A Dreadcf.c1456 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 Dsysplugin.c395 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 Dllib-lproc110 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);

Completed in 43 milliseconds

12