/illumos-gate/usr/src/uts/sparc/fs/proc/ |
H A D | prmachdep.c | 95 gregset_t gr; in prgetprregs() local 99 getgregs(lwp, gr); in prgetprregs() 106 prp[R_G1] = gr[REG_G1]; in prgetprregs() 107 prp[R_G2] = gr[REG_G2]; in prgetprregs() 108 prp[R_G3] = gr[REG_G3]; in prgetprregs() 109 prp[R_G4] = gr[REG_G4]; in prgetprregs() 110 prp[R_G5] = gr[REG_G5]; in prgetprregs() 111 prp[R_G6] = gr[REG_G6]; in prgetprregs() 112 prp[R_G7] = gr[REG_G7]; in prgetprregs() 114 prp[R_O0] = gr[REG_O0]; in prgetprregs() [all …]
|
/illumos-gate/usr/src/cmd/scsi/smp/common/ |
H A D | smp.c | 658 smp_report_general_resp_t *gr = in main() local 662 SCSI_READ16(&gr->srgr_exp_route_indexes)); in main() 664 gr->srgr_long_response != 0 ? "Supported" : "Unsupported"); in main() 665 (void) printf("Phys: %d\n", gr->srgr_number_of_phys); in main() 667 if (gr->srgr_externally_configurable_route_table != 0) { in main() 671 if (gr->srgr_configuring != 0) { in main() 674 if (gr->srgr_configures_others != 0) { in main() 677 if (gr->srgr_open_reject_retry_supported != 0) { in main() 680 if (gr->srgr_stp_continue_awt != 0) { in main() 683 if (gr->srgr_table_to_table_supported != 0) { in main() [all …]
|
/illumos-gate/usr/src/ucbcmd/groups/ |
H A D | groups.c | 37 struct group *gr; in main() local 56 gr = getgrgid(groups[i]); in main() 57 if (gr == NULL) { in main() 62 (void) printf("%s%s", sep, gr->gr_name); in main() 73 struct group *gr; in showgroups() local 85 while (gr = getgrent()) { in showgroups() 86 if (pw->pw_gid == gr->gr_gid) { in showgroups() 91 (void) printf("%s%s", sep, gr->gr_name); in showgroups() 97 for (cp = gr->gr_mem; cp && *cp; cp++) in showgroups() 99 (void) printf("%s%s", sep, gr->gr_name); in showgroups()
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_util.c | 363 char *cstr = access_list, *gr = access_list; in smb_chk_hostaccess() local 436 if (*gr == '-') { in smb_chk_hostaccess() 438 gr++; in smb_chk_hostaccess() 447 if (*gr == '@') { in smb_chk_hostaccess() 448 gr++; in smb_chk_hostaccess() 450 if (!isdigit(*gr) && *gr != '[') { in smb_chk_hostaccess() 452 if ((np = getnetbyname_r(gr, &n, buff, in smb_chk_hostaccess() 465 if (inet_matchaddr(buf.buf, gr) == 1) in smb_chk_hostaccess() 472 gr = ++cstr; in smb_chk_hostaccess() 485 gr = ++cstr; in smb_chk_hostaccess() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | netgroup.c | 105 char *gr; in netgroup_check() local 134 for (i = 0, gr = glist; i < grc && !belong; ) { in netgroup_check() 140 response = (*gr != '-') ? 1 : 0; in netgroup_check() 146 for (n = 0; i < grc; i++, n++, gr += strlen(gr) + 1) { in netgroup_check() 147 if ((response && *gr == '-') || in netgroup_check() 148 (!response && *gr != '-')) in netgroup_check() 151 grl[n] = response ? gr : gr + 1; in netgroup_check()
|
H A D | exportlist.c | 76 char *gr, *p, *opts, *val, *lasts; in export() local 143 while ((gr = strtok_r(val, ":", &lasts)) in export() 146 grtail = newgroup(gr, grtail); in export()
|
H A D | mountd.c | 1930 char *gr = access_list; in in_access_list() local 1962 if (*gr == '-') { in in_access_list() 1964 gr++; in in_access_list() 1973 if (*gr == '@') { in in_access_list() 1974 gr++; in in_access_list() 1977 if (!isdigit(*gr) && *gr != '[') { in in_access_list() 1980 if ((np = getnetbyname_r(gr, &n, buff, in in_access_list() 2003 ret = inet_matchaddr(pnb->buf, gr); in in_access_list() 2008 "entry: %s", gr); in in_access_list() 2036 if (*gr == '.') { in in_access_list() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/dfshares/ |
H A D | dfshares.c | 147 struct groupnode *gr, *tmpgr; in free_ex() local 152 gr = ex->ex_groups; in free_ex() 153 while (gr) { in free_ex() 154 tmpgr = gr->gr_next; in free_ex() 155 free(gr); in free_ex() 156 gr = tmpgr; in free_ex()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/ |
H A D | showmount.c | 252 struct groupnode *gr; in printex() local 280 gr = ex->ex_groups; in printex() 281 if (gr == NULL) { in printex() 284 while (gr) { in printex() 285 printf("%s", gr->gr_name); in printex() 286 gr = gr->gr_next; in printex() 287 if (gr) { in printex()
|
/illumos-gate/usr/src/cmd/groups/ |
H A D | groups.c | 104 struct group *gr; in showgroups() local 122 if (gr = getgrgid(groups[0])) in showgroups() 123 (void) printf("%s", gr->gr_name); in showgroups() 128 if ((gr = getgrgid(groups[i]))) in showgroups() 129 (void) printf(" %s", gr->gr_name); in showgroups()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | strgid.c | 73 register struct group* gr; in strgid() local 88 if (gr = getgrnam(name)) in strgid() 89 id = gr->gr_gid; in strgid() 103 else if (gr = getgrnam("Administrators")) in strgid() 104 id = gr->gr_gid; in strgid()
|
H A D | fmtgid.c | 64 register struct group* gr; in fmtgid() local 78 if (gr = getgrgid(gid)) in fmtgid() 80 name = gr->gr_name; in fmtgid()
|
/illumos-gate/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 |= 1; 408 ! gr = (-gr & 7); [all …]
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util_helper.c | 99 struct group *gr = NULL; in drop_privileges() local 109 gr = getgrnam (HAL_GROUP); in drop_privileges() 110 if (!gr) { in drop_privileges() 116 if (initgroups (HAL_USER, gr->gr_gid)) { in drop_privileges() 122 if (setgid (gr->gr_gid)) { in drop_privileges()
|
/illumos-gate/usr/src/cmd/id/ |
H A D | id.c | 77 struct group *gr; in main() local 206 if (gr = getgrgid(*idp)) in main() 208 gr->gr_name); in main() 244 if (gr = getgrgid(*idp)) in main() 246 gr->gr_name); in main() 318 struct group *gr; in pgid() local 320 if (nflag && (gr = getgrgid(gid)) != GRNULL) in pgid() 321 (void) printf("%s", gr->gr_name); in pgid()
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 56 register struct group *gr = NULL; variable 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 = NULL; local 643 ((gr != NULL && gr->gr_gid == stbuf.st_gid) || [all …]
|
/illumos-gate/usr/src/test/libsec-tests/cmd/ |
H A D | lib_stubs.c | 392 static struct group gr; in getgrnam() local 423 gr.gr_name = grname; in getgrnam() 424 gr.gr_gid = mp->pid; in getgrnam() 425 return (&gr); in getgrnam() 432 static struct group gr; in getgrgid() local 451 gr.gr_name = grname; in getgrgid() 452 gr.gr_gid = gid; in getgrgid() 453 return (&gr); in getgrgid()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_ng.c | 79 struct ng_old_struct *gr; member 155 if (pvt->fp == NULL || pvt->grouphead.gr == NULL || in ng_rewind() 170 pvt->nextgrp = pvt->grouphead.gr; in ng_rewind() 250 gp = pvt->grouphead.gr; in freelists() 262 pvt->grouphead.gr = NULL; in freelists() 302 grp->ng_next = pvt->grouphead.gr; in parse_netgrp() 303 pvt->grouphead.gr = grp; in parse_netgrp()
|
H A D | irpmarshall.c | 406 irp_marshall_gr(const struct group *gr, char **buffer, size_t *len) { in irp_marshall_gr() argument 411 if (gr == NULL || len == NULL) { in irp_marshall_gr() 416 sprintf(grGid, "%ld", (long)gr->gr_gid); in irp_marshall_gr() 418 need += strlen(gr->gr_name) + 1; in irp_marshall_gr() 420 need += strlen(gr->gr_passwd) + 1; in irp_marshall_gr() 425 need += joinlength(gr->gr_mem) + 1; in irp_marshall_gr() 448 strcpy(*buffer, gr->gr_name); strcat(*buffer, fieldsep); in irp_marshall_gr() 450 strcat(*buffer, gr->gr_passwd); in irp_marshall_gr() 454 joinarray(gr->gr_mem, *buffer, COMMA) ; strcat(*buffer, fieldsep); in irp_marshall_gr() 473 irp_unmarshall_gr(struct group *gr, char *buffer) { in irp_unmarshall_gr() argument [all …]
|
H A D | irs_data.c | 75 if (net_data->gr != NULL) { in net_data_destroy() 76 (*net_data->gr->close)(net_data->gr); in net_data_destroy() 77 net_data->gr = NULL; in net_data_destroy()
|
H A D | gen.c | 236 if (irs->accessors[n].gr != NULL) in gen_close() 237 (*irs->accessors[n].gr->close)(irs->accessors[n].gr); in gen_close() 355 if (inst->gr == NULL && inst->acc->gr_map != NULL) in add_rule() 356 inst->gr = (*inst->acc->gr_map)(inst->acc); in add_rule()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | ncgrpw.c | 595 struct group *gr; in clgrnam() local 612 while ((gr = fgetgrent(gr_ptr)) != NULL) { in clgrnam() 613 if (strcmp(gr->gr_name, nam) == 0) { in clgrnam() 620 return (gr); in clgrnam() 673 struct group *gr; in clgrgid() local 689 while ((gr = fgetgrent(gr_ptr)) != NULL) { in clgrgid() 690 if (gr->gr_gid == gid) { in clgrgid() 697 return (gr); in clgrgid()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | server.c | 307 #define protogroup() (gr ? gr->gr_name : group) 352 if (gr == NULL || gr->gr_gid != stb.st_gid) in sendf() 353 if ((gr = getgrgid(stb.st_gid)) == NULL) { in sendf() 356 gr = NULL; in sendf() 1192 if (gr == NULL || strcmp(group, gr->gr_name) != 0) { in chog() 1195 ((gr = getgrnam(group)) == NULL)) { in chog() 1201 gid = gr->gr_gid; in chog() 1203 gid = gr->gr_gid; in chog()
|
/illumos-gate/usr/src/cmd/chgrp/ |
H A D | chgrp.c | 63 static struct group *gr; variable 190 } else if ((gr = getgrnam(argv[0])) != NULL) { in main() 191 gid = gr->gr_gid; in main()
|
/illumos-gate/usr/src/data/bhyve/kbdlayout/ |
H A D | gr | 2 # (gr : Greek (104 keys))
|