Home
last modified time | relevance | path

Searched refs:va_gid (Results 1 – 25 of 80) sorted by relevance

1234

/titanic_44/usr/src/uts/common/syscall/
H A Dchown.c69 vattr.va_gid = gid; in fchownat()
73 if (vattr.va_gid != -1) in fchownat()
H A Dstat.c237 sb.st_gid = vattr.va_gid; in cstat()
360 sb.st_gid = vattr.va_gid; in cstat32()
468 lsb.st_gid = vattr.va_gid; in cstat64()
587 lsb.st_gid = vattr.va_gid; in cstat64_32()
/titanic_44/usr/src/uts/common/sys/fs/
H A Ddv_node.h133 (attrp->va_gid == mp.mp_gid) && \
141 attr.va_gid = mp.mp_gid; \
147 attrp->va_gid = mp.mp_gid; \
H A Dtmpnode.h110 #define tn_gid tn_attr.va_gid
H A Dcachefs_fs.h259 (out_vattrp)->va_gid = (in_vattrp)->va_gid; \
282 (out_vattrp)->va_gid = (in_vattrp)->va_gid; \
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_ptsops.c145 if (dv->sdev_attr->va_uid != uid || dv->sdev_attr->va_gid != gid) { in devpts_validate()
147 dv->sdev_attr->va_gid = gid; in devpts_validate()
207 vap->va_gid = gid; in devpts_create_rvp()
385 vap->va_uid, vap->va_gid); in devpts_set_id()
/titanic_44/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c264 map->va_gid = vap->va_gid; in devfs_setattr_dir()
329 if (map->va_gid != mp->mp_gid) in dv_setattr_cmp()
432 mp.mp_gid = dv_vattr_file.va_gid; in devfs_setattr()
493 map->va_gid = vap->va_gid; in devfs_setattr()
537 dv->dv_name, vap->va_gid)); in devfs_setattr()
717 if (groupmember(dv->dv_attr->va_gid, cr) == 0) in devfs_unlocked_access()
/titanic_44/usr/src/uts/common/fs/objfs/
H A Dobjfs_common.c80 vap->va_gid = 0; in objfs_common_getattr()
/titanic_44/usr/src/uts/common/fs/namefs/
H A Dnamevno.c250 if (!groupmember(nodep->nm_vattr.va_gid, crp)) in nm_access_unlocked()
312 nmvap->va_gid = vap->va_gid; in nm_setattr()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_readdir.c1278 nfs_idmap_gid_str(va.va_gid, in rfs4_op_readdir()
1282 lastgid = va.va_gid; in rfs4_op_readdir()
1284 } else if (va.va_gid != lastgid) { in rfs4_op_readdir()
1293 nfs_idmap_gid_str(va.va_gid, in rfs4_op_readdir()
1296 lastgid = va.va_gid; in rfs4_op_readdir()
H A Dnfs4_attr.c100 if (*errorp = nfs_idmap_gid_str(vap->va_gid, &nap->owner_group, in nfs4_ver_fattr4_attr()
189 if (*errorp = nfs_idmap_gid_str(vap->va_gid, &nap->owner_group, in nfs4_set_fattr4_attr()
H A Dnfs4_srv_attr.c1022 vap->va_uid, vap->va_gid, TRUE); in rfs4_fattr4_acl()
1032 vap->va_uid, vap->va_gid, vp->v_type == VDIR, TRUE); in rfs4_fattr4_acl()
2171 error = nfs_idmap_gid_str(sarg->vap->va_gid, &na->owner_group, in rfs4_fattr4_owner_group()
2197 error = nfs_idmap_str_gid(&na->owner_group, &sarg->vap->va_gid, in rfs4_fattr4_owner_group()
2244 else if (sarg->vap->va_gid != gid) in rfs4_fattr4_owner_group()
H A Dnfs3_xdr.c608 vap->va_gid = (gid_t)IXDR_GET_U_INT32(ptr); in xdr_fattr3_to_vattr()
609 if (vap->va_gid == NFS_GID_NOBODY) in xdr_fattr3_to_vattr()
610 vap->va_gid = GID_NOBODY; in xdr_fattr3_to_vattr()
681 xdr_u_int(xdrs, (uint_t *)&vap->va_gid) && in xdr_fattr3_to_vattr()
760 if (vap->va_gid == NFS_GID_NOBODY) in xdr_fattr3_to_vattr()
761 vap->va_gid = GID_NOBODY; in xdr_fattr3_to_vattr()
/titanic_44/usr/src/uts/common/fs/doorfs/
H A Ddoor_vnops.c158 vap->va_gid = 0; /* owner group id */ in door_getattr()
/titanic_44/usr/src/uts/common/fs/cachefs/
H A Dcachefs_fscache.c810 attrp->va_gid = 0; in fscdir_create()
831 attrp->va_gid = 0; in fscdir_create()
881 attrp->va_gid = 0; in fscdir_create()
/titanic_44/usr/src/uts/common/fs/tmpfs/
H A Dtmp_dir.c1058 ((va->va_gid == dir->tn_gid) || groupmember(va->va_gid, cred) || in tdirmaketnode()
1064 tp->tn_gid = va->va_gid; in tdirmaketnode()
H A Dtmp_tnode.c178 t->tn_gid = vap->va_gid; in tmpnode_init()
/titanic_44/usr/src/uts/common/fs/
H A Dxattr.c360 if (xvattr.xva_vattr.va_gid > MAXUID) { in xattr_fill_nvlist()
366 if (kidmap_getsidbygid(crgetzone(cr), xvattr.xva_vattr.va_gid, in xattr_fill_nvlist()
435 vap->va_gid = 0; in xattr_file_getattr()
698 rid, &xvattr.xva_vattr.va_gid); in xattr_file_write()
/titanic_44/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c194 vap->va_gid = 0; in sharefs_getattr()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c206 set_attr.sa_vattr.va_gid = fs_sd->sd_gid; in smb_fsop_create_with_sd()
411 attr->sa_vattr.va_gid = fattr.sa_vattr.va_gid; in smb_fsop_create_stream()
2171 fs_sd->sd_gid = attr.sa_vattr.va_gid; in smb_fsop_sdread()
2310 set_attr.sa_vattr.va_gid = fs_sd->sd_gid; in smb_fsop_sdwrite()
/titanic_44/usr/src/uts/common/fs/ctfs/
H A Dctfs_root.c381 vap->va_gid = 0; in ctfs_common_getattr()
/titanic_44/usr/src/uts/common/fs/portfs/
H A Dport_vnops.c324 vap->va_gid = pp->port_gid; /* owner group id */ in port_getattr()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzfs_log.c623 if ((mask_applied & AT_GID) && IS_EPHEMERAL(vap->va_gid)) in zfs_log_setattr()
626 lr->lr_gid = (uint64_t)vap->va_gid; in zfs_log_setattr()
/titanic_44/usr/src/uts/common/fs/udfs/
H A Dudf_alloc.c1043 ((vap->va_gid == pip->i_gid) || groupmember(vap->va_gid, cr) || in ud_ialloc()
1049 fe->fe_gid = SWAP_32(vap->va_gid); in ud_ialloc()
/titanic_44/usr/src/uts/common/os/
H A Dpolicy.c1281 secpolicy_vnode_setids_setgids(cr, ovap->va_gid) != 0) { in secpolicy_setid_setsticky_clear()
1453 ((mask & AT_GID) && vap->va_gid != ovap->va_gid && in secpolicy_vnode_setattr()
1454 !groupmember(vap->va_gid, cr))) { in secpolicy_vnode_setattr()

1234