/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | grpauth.c | 31 #include <grp.h> 55 struct group *grp; local 57 if ((grp = getgrnam(name)) == NULL) 60 gr = *grp;
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | gid.c | 37 #include <grp.h> 51 struct group *grp; local 55 for (grp = getgrent(); grp != NULL; grp = getgrent()) { 56 if (isreservedgid(grp->gr_gid)) /* Skip reserved IDs */ 58 if (grp->gr_gid >= gid) { 59 if (grp->gr_gid == stop) { /* Overflow check */ 63 gid = grp->gr_gid + 1; 66 if (grp [all...] |
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetgr.c | 28 #include <grp.h> 35 putgrent(const struct group *grp, FILE *fp) argument 40 if (grp == NULL) { 45 grp->gr_name != NULL ? grp->gr_name : "", 46 grp->gr_passwd != NULL ? grp->gr_passwd : "", 47 grp->gr_gid) == EOF) 50 mem = grp ->gr_mem; 69 struct group *grp; local [all...] |
/illumos-gate/usr/src/cmd/oamuser/lib/ |
H A D | vgroup.c | 59 struct group *grp; local 75 if ((r = valid_gid((gid_t)l, &grp)) == NOTUNIQUE) { 78 *gptr = grp; 86 if (valid_gname(group, &grp, &warn) == NOTUNIQUE) { 90 *gptr = grp;
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/genunix/ |
H A D | gcore_isadep.c | 43 gcore_getgregs(mdb_klwp_t *lwp, gregset_t grp) argument 57 grp[REG_RDI] = rp->r_rdi; 58 grp[REG_RSI] = rp->r_rsi; 59 grp[REG_RDX] = rp->r_rdx; 60 grp[REG_RCX] = rp->r_rcx; 61 grp[REG_R8] = rp->r_r8; 62 grp[REG_R9] = rp->r_r9; 63 grp[REG_RAX] = rp->r_rax; 64 grp[REG_RBX] = rp->r_rbx; 65 grp[REG_RB [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/modules/genunix/ |
H A D | gcore_isadep.c | 47 gcore_getgregs(mdb_klwp_t *lwp, gregset_t grp) argument
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 42 #include <grp.h> 142 struct group *grp; local 430 if (gname && *gname && (grp = cgrnam(gname)) != NULL) { 431 if (setgid(grp->gr_gid) == -1) { 432 progerr(pkg_gt(ERR_SETGID), grp->gr_gid);
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | util.c | 69 struct group *grp; local 91 while ((grp = (*this->next)(this)) != NULL) { 92 if ((gid_t)grp->gr_gid == basegid) 94 for (i = 0; grp->gr_mem[i]; i++) { 95 if (!strcmp(grp->gr_mem[i], name)) { 98 groups[ng++] = grp->gr_gid;
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_recv.c | 56 aggr_grp_t *grp = port->lp_grp; local 59 if (grp->lg_promisc) { 63 aggr_mac_rx(grp->lg_mh, mrh, nmp); 79 aggr_grp_t *grp = port->lp_grp; local 81 if (grp->lg_lacp_mode == AGGR_LACP_OFF) { 82 aggr_mac_rx(grp->lg_mh, mrh, mp); 104 aggr_mac_rx(grp->lg_mh, mrh, 139 aggr_mac_rx(grp->lg_mh, mrh, 158 aggr_mac_rx(grp->lg_mh, mrh, head);
|
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | userspace.py | 31 import grp namespace 72 (1, 0): ("POSIX Group", lambda id: grp.getgrgid(int(id)).gr_name),
|
H A D | allow.py | 34 import grp namespace 80 name = grp.getgrgid(int(ws)).gr_name 182 id = decodeid(w, grp.getgrnam, 194 id = grp.getgrnam(w)[2]
|
/illumos-gate/usr/src/cmd/lvm/rpc.metad/ |
H A D | metad_init.c | 29 #include <grp.h> 144 struct group *grp; local 154 if ((grp = getgrgid(METAD_GID)) == NULL) 156 for (namep = grp->gr_mem; ((*namep != NULL) && (**namep != '\0'));
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | kvm_amd64dep.c | 70 mdb_tgt_gregset_t gregs, *grp; local 75 grp = &gregs; 77 grp = kt->k_regs; 89 (void) mdb_amd64_kvm_stack_iter(mdb.m_target, grp, func, arg);
|
H A D | kvm_ia32dep.c | 70 mdb_tgt_gregset_t gregs, *grp; local 75 grp = &gregs; 77 grp = kt->k_regs; 89 (void) mdb_ia32_kvm_stack_iter(mdb.m_target, grp, func, arg);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid.c | 47 #include <grp.h> 202 struct group grp; local 250 (void) _uncached_getgrnam_r("NF21dmvP", &grp, grp_buf, grp_buflen); 251 (void) _uncached_getgrgid_r(1181794, &grp, grp_buf, grp_buflen);
|
/illumos-gate/usr/src/cmd/ptools/pcred/ |
H A D | pcred.c | 38 #include <grp.h> 274 struct group *grp = getgrnam(grnam); local 277 if (grp == NULL) { 286 res = grp->gr_gid;
|
/illumos-gate/usr/src/cmd/renice/ |
H A D | renice.c | 46 #include <grp.h> 109 struct group *grp; local 207 if ((grp = getgrnam(*argv)) != NULL) { 208 who = grp->gr_gid;
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_init.c | 32 #include <grp.h> 265 struct group *grp; local 275 if ((grp = getgrgid(MED_GID)) == NULL) 277 for (namep = grp->gr_mem; ((*namep != NULL) && (**namep != '\0'));
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_init.c | 28 #include <grp.h> 259 struct group *grp; local 269 if ((grp = getgrgid(METAMHD_GID)) == NULL) 271 for (namep = grp->gr_mem; ((*namep != NULL) && (**namep != '\0'));
|
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/ |
H A D | kvm_v9dep.c | 128 mdb_tgt_gregset_t gregs, *grp; local 134 grp = &gregs; 136 grp = kt->k_regs; 149 (void) mdb_kvm_v9stack_iter(mdb.m_target, grp, func, arg);
|
/illumos-gate/usr/src/cmd/chown/ |
H A D | chown.c | 52 #include <grp.h> 60 static struct group *grp; variable in typeref:struct:group 210 } else if ((grp = getgrnam(grpp)) != NULL) { 211 gid = grp->gr_gid;
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | reqexec.c | 40 #include <grp.h> 329 struct group *grp; local 358 if ((grp = getgrnam(CHK_GRP)) != (struct group *)NULL) { 359 instgid = grp->gr_gid;
|
/illumos-gate/usr/src/tools/install.bin/ |
H A D | install.bin.c | 101 gid_t grp = (gid_t)-1; local 105 grp = stdfind(group, groupnames); 106 if (grp < 0) 119 if (chown(file, own, grp) == -1) {
|
/illumos-gate/usr/src/ucbcmd/chown/ |
H A D | chown.c | 52 #include <grp.h> 72 struct group *grp; local 105 if ((grp = getgrnam(group)) == NULL) 107 gid = grp -> gr_gid;
|
/illumos-gate/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_init.c | 582 sda_init_switch(sda_slot_t *slot, uint8_t mode, uint8_t grp, uint8_t val, argument 594 arg &= ~(0xf << (grp << 2)); 595 arg |= (val << (grp << 2));
|