Home
last modified time | relevance | path

Searched refs:gid (Results 1 – 25 of 338) sorted by last modified time

12345678910>>...14

/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Dsvc_rpcsec_gss.c672 &client_data->u_cred.gid, in rpc_gss_getcred()
691 &client_data->u_cred.gid, in rpc_gss_getcred()
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c64 uid_t gid; member
667 p->gid = info->pr_gid; in add_proc()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c325 smb_init_daemon_priv(int flags, uid_t uid, gid_t gid) in smb_init_daemon_priv() argument
339 if (gid != (gid_t)-1 && setgid(gid) != 0) in smb_init_daemon_priv()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_xdr.c846 gid_t gid; member
880 pug->uid = pug->gid = 0; in alloc_ugcache()
1361 vap->va_gid = pug->gid; in xdr_ga_fattr_res()
1364 uid_t gid; in xdr_ga_fattr_res() local
1368 error = nfs_idmap_str_gid(&gv, &gid, FALSE); in xdr_ga_fattr_res()
1385 vap->va_gid = gid; in xdr_ga_fattr_res()
1388 pug->gid = gid; in xdr_ga_fattr_res()
1962 vap->va_gid = pug->gid; in xdr_ga_fattr_res_inline()
1965 uid_t gid; in xdr_ga_fattr_res_inline() local
1986 vap->va_gid = gid; in xdr_ga_fattr_res_inline()
[all …]
H A Dnfs_subr.c2048 sa->gid.set_it = FALSE; in vattr_to_sattr3()
2050 sa->gid.set_it = TRUE; in vattr_to_sattr3()
2051 sa->gid.gid = (gid3)vap->va_gid; in vattr_to_sattr3()
H A Dnfs_server.c2025 gid_t gid; in checkauth() local
2086 access = nfsauth_access(exi, req, cr, &uid, &gid, &ngids, &gids); in checkauth()
2159 } else if (crgetuid(cr) != uid || crgetgid(cr) != gid) { in checkauth()
2160 if (crsetugid(cr, uid, gid) != 0) in checkauth()
2287 gid_t gid; in checkauth4() local
2330 access = nfsauth4_access(cs->exi, cs->vp, req, cr, &uid, &gid, &ngids, in checkauth4()
2397 } else if (crgetuid(cr) != uid || crgetgid(cr) != gid) { in checkauth4()
2398 if (crsetugid(cr, uid, gid) != 0) in checkauth4()
H A Dnfs_auth.c666 gid_t gid; in nfsauth_refresh_thread() local
763 p->auth_srv_gid = gid; in nfsauth_refresh_thread()
1052 if (gid != NULL) in nfsauth_cache_get()
1053 *gid = tmpgid; in nfsauth_cache_get()
1096 if (gid != NULL) in nfsauth_cache_get()
1097 *gid = p->auth_srv_gid; in nfsauth_cache_get()
1217 if (gid != NULL) in nfsauth_cache_get()
1218 *gid = tmpgid; in nfsauth_cache_get()
1279 if (gid != NULL) in nfsauth_access()
1284 if (gid != NULL) in nfsauth_access()
[all …]
H A Dnfs4_srv_attr.c2190 gid_t gid; in rfs4_fattr4_owner_group() local
2275 error = nfs_idmap_str_gid(&na->owner_group, &gid, TRUE); in rfs4_fattr4_owner_group()
2283 else if (sarg->vap->va_gid != gid) in rfs4_fattr4_owner_group()
/illumos-gate/usr/src/uts/common/
H A DMakefile.files208 gid.o \
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dsa.c1516 uint64_t uid, gid, mode, rdev, xattr = 0, parent, gen, links; in sa_add_projid() local
1553 &gid, 8); in sa_add_projid()
1589 &gid, 8); in sa_add_projid()
1612 SA_ADD_BULK_ATTR(attrs, count, SA_ZPL_GID(zfsvfs), NULL, &gid, 8); in sa_add_projid()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl.h658 ib_gid_t gid; member
/illumos-gate/usr/src/cmd/ps/
H A Dps.c2192 gid_t gid; in gconv() local
2203 if (str2uid(gtbl[i].name, (uid_t *)&gid, 0, MAXEPHUID) == 0) in gconv()
2204 grp = getgrgid(gid); in gconv()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c2988 gid_t gid; in reset_node_permissions() local
3022 getattr(phy_path, aminor, spectype, dev, &mode, &uid, &gid); in reset_node_permissions()
3086 vprint(VERBOSE_MID, PERM_MSG, phy_path, uid, gid, mode); in reset_node_permissions()
3100 gid = DA_GID; in reset_node_permissions()
3110 (sb.st_uid != uid || sb.st_gid != gid)) { in reset_node_permissions()
3111 if (chown(phy_path, uid, gid) == -1) in reset_node_permissions()
3117 vprint(VERBOSE_MID, PERM_MSG, phy_path, uid, gid, mode); in reset_node_permissions()
7150 uid_t *uid, gid_t *gid) in getattr() argument
7260 *gid = mp->mp_gid; in getattr()
7274 *gid = sys_gid; in getattr()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_hw.h216 struct gid struct
222 } gid; member
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4.h1463 extern int nfs_idmap_gid_str(gid_t gid, utf8string *u8s, bool_t);
H A Dnfs.h1225 gid3 gid; member
1308 gid3 gid; member
1333 set_gid3 gid; member
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dlibtest.shlib1985 # Select valid gid and create specified group.
1997 # Assign 100 as the base gid
1998 typeset -i gid=100
2000 groupadd -g $gid $group > /dev/null 2>&1
2004 # The gid is not unique
2005 4) ((gid += 1)) ;;
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_autohome.c84 gid_t gid; in smb_autohome_add() local
90 gid = token->tkn_primary_grp.i_id; in smb_autohome_add()
104 if (smb_autohome_add_private(username, uid, gid) != NERR_Success) { in smb_autohome_add()
107 (void) smb_autohome_add_private(username, uid, gid); in smb_autohome_add()
139 smb_autohome_add_private(const char *username, uid_t uid, gid_t gid) in smb_autohome_add_private() argument
173 si.shr_gid = gid; in smb_autohome_add_private()
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2046 dump_uidgid(objset_t *os, uint64_t uid, uint64_t gid) in dump_uidgid() argument
2051 gid_idx = FUID_INDEX(gid); in dump_uidgid()
2067 print_idstr(gid, "gid"); in dump_uidgid()
2077 uint64_t uid, gid, mode, fsize, parent, links; in dump_znode() local
2092 SA_ADD_BULK_ATTR(bulk, idx, sa_attr_table[ZPL_GID], NULL, &gid, 8); in dump_znode()
2134 dump_uidgid(os, uid, gid); in dump_znode()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmexpress.c477 revokedevaccess(char *dev, uid_t uid, gid_t gid, mode_t mode) in revokedevaccess() argument
480 if (chown(dev, uid, gid) == -1) in revokedevaccess()
486 (void) acl_strip(dev, uid, gid, mode); in revokedevaccess()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c458 procgid = request->secure->gid; in exec()
883 procgid = request->secure->gid; in exec()
999 procgid = request->secure->gid; in exec()
/illumos-gate/usr/src/uts/common/os/
H A Dexec.c655 uid_t uid, gid; in gexec() local
701 (privflags = execsetid(vp, &vattr, &uid, &gid, &fset, in gexec()
719 cred->cr_gid = gid; in gexec()
721 cred->cr_sgid = gid; in gexec()
1116 uid_t uid, gid; in execsetid() local
1123 gid = cr->cr_gid; in execsetid()
1165 gid = vattrp->va_gid; in execsetid()
1204 cr->cr_gid != gid || in execsetid()
1206 cr->cr_sgid != gid)) { in execsetid()
1208 *gidp = gid; in execsetid()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c782 long gid; in aus_chown() member
786 gid = (uint32_t)uap->gid; in aus_chown()
806 long gid; in aus_fchown() member
811 gid = (uint32_t)uap->gid; in aus_fchown()
849 long gid; in aus_lchown() member
853 gid = (uint32_t)uap->gid; in aus_lchown()
868 long gid; in aui_fchownat() member
893 long gid; in aus_fchownat() member
898 gid = (uint32_t)uap->gid; in aus_fchownat()
2244 gid = (uint32_t)uap->gid; in aus_setgid()
[all …]
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_cache.c448 *gid = result->gid; in kidmap_cache_lookup_gidbysid()
485 *pid = result->gid; in kidmap_cache_lookup_pidbysid()
543 entry.pid = gid; in kidmap_cache_lookup_sidbygid()
597 new->gid = UNDEF_GID; in kidmap_cache_add_sid2uid()
682 result->gid = gid; in kidmap_cache_add_sid2gid()
690 new->gid = gid; in kidmap_cache_add_sid2gid()
717 find.pid = gid; in kidmap_cache_add_sid2gid()
730 new->pid = gid; in kidmap_cache_add_sid2gid()
783 result->gid = pid; in kidmap_cache_add_sid2pid()
794 new->gid = UNDEF_GID; in kidmap_cache_add_sid2pid()
[all …]
H A Dkidmap_priv.h54 gid_t gid; member
120 uint32_t rid, gid_t *gid);
132 uint32_t *rid, gid_t gid);
141 uint32_t rid, gid_t gid, int direction);

12345678910>>...14