/titanic_44/usr/src/uts/common/syscall/ |
H A D | chown.c | 68 vattr.va_uid = uid; in fchownat() 71 if (vattr.va_uid != -1) in fchownat()
|
H A D | stat.c | 236 sb.st_uid = vattr.va_uid; in cstat() 359 sb.st_uid = vattr.va_uid; in cstat32() 467 lsb.st_uid = vattr.va_uid; in cstat64() 586 lsb.st_uid = vattr.va_uid; in cstat64_32()
|
/titanic_44/usr/src/uts/common/sys/fs/ |
H A D | dv_node.h | 132 (!((attrp->va_uid == mp.mp_uid) && \ 140 attr.va_uid = mp.mp_uid; \ 146 attrp->va_uid = mp.mp_uid; \
|
H A D | tmpnode.h | 109 #define tn_uid tn_attr.va_uid
|
H A D | cachefs_fs.h | 258 (out_vattrp)->va_uid = (in_vattrp)->va_uid; \ 281 (out_vattrp)->va_uid = (in_vattrp)->va_uid; \
|
/titanic_44/usr/src/uts/common/fs/dev/ |
H A D | sdev_ptsops.c | 145 if (dv->sdev_attr->va_uid != uid || dv->sdev_attr->va_gid != gid) { in devpts_validate() 146 dv->sdev_attr->va_uid = uid; in devpts_validate() 206 vap->va_uid = uid; 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 D | devfs_vnops.c | 207 vap->va_uid = 0; in devfs_getattr() 262 map->va_uid = vap->va_uid; in devfs_setattr_dir() 327 if (map->va_uid != mp->mp_uid) in dv_setattr_cmp() 431 mp.mp_uid = dv_vattr_file.va_uid; in devfs_setattr() 491 map->va_uid = vap->va_uid; in devfs_setattr() 534 dv->dv_name, vap->va_uid)); in devfs_setattr() 712 uid_t owner = dv->dv_attr->va_uid; in devfs_unlocked_access()
|
/titanic_44/usr/src/uts/common/fs/namefs/ |
H A D | namevno.c | 248 if (crgetuid(crp) != nodep->nm_vattr.va_uid) { in nm_access_unlocked() 255 nodep->nm_vattr.va_uid, nodep->nm_vattr.va_mode << shift, in nm_access_unlocked() 310 nmvap->va_uid = vap->va_uid; in nm_setattr()
|
H A D | namevfs.c | 412 if (error = secpolicy_vnode_owner(crp, vattrp->va_uid)) in nm_mount() 419 if (secpolicy_vnode_access2(crp, mvp, vattrp->va_uid, vattrp->va_mode, in nm_mount() 573 if (secpolicy_vnode_owner(crp, nodep->nm_vattr.va_uid) != 0) { in nm_unmount()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | policy.c | 727 if ((err = secpolicy_vnode_owner(cr, va.va_uid)) != 0) in secpolicy_fs_common() 730 if (secpolicy_vnode_access2(cr, mvp, va.va_uid, va.va_mode, in secpolicy_fs_common() 1249 (vap->va_mask & AT_UID) != 0 && vap->va_uid == 0) != 0) { in secpolicy_setid_clear() 1263 ovap->va_uid)) != 0) { in secpolicy_setid_setsticky_clear() 1421 if ((error = secpolicy_vnode_setdac(cr, ovap->va_uid)) != 0) in secpolicy_vnode_setattr() 1449 if (cr->cr_uid != ovap->va_uid) { in secpolicy_vnode_setattr() 1452 if (((mask & AT_UID) && vap->va_uid != ovap->va_uid) || in secpolicy_vnode_setattr() 1462 (error = secpolicy_vnode_chown(cr, ovap->va_uid)) != 0) { in secpolicy_vnode_setattr() 1480 if (cr->cr_uid != ovap->va_uid) { in secpolicy_vnode_setattr() 1498 error = secpolicy_xvattr((xvattr_t *)vap, ovap->va_uid, cr, in secpolicy_vnode_setattr()
|
/titanic_44/usr/src/uts/common/fs/objfs/ |
H A D | objfs_common.c | 79 vap->va_uid = 0; in objfs_common_getattr()
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_readdir.c | 1223 va.va_uid, &owner, TRUE); in rfs4_op_readdir() 1226 lastuid = va.va_uid; in rfs4_op_readdir() 1228 } else if (va.va_uid != lastuid) { in rfs4_op_readdir() 1236 va.va_uid, &owner, TRUE); in rfs4_op_readdir() 1238 lastuid = va.va_uid; in rfs4_op_readdir()
|
H A D | nfs_srv.c | 265 if (crgetuid(cr) == bva.va_uid && !error && in rfs_setattr() 716 if (crgetuid(cr) != va.va_uid) { in rfs_read() 968 if (crgetuid(cr) != va.va_uid) { in rfs_write_sync() 1434 if (crgetuid(rp->cr) != va.va_uid) { in rfs_write() 2722 vap->va_uid = sa->sa_uid; in sattr_to_vattr() 2785 if (vap->va_uid == (unsigned short)(-1)) in vattr_to_nattr() 2787 else if (vap->va_uid == UID_NOBODY) in vattr_to_nattr() 2790 na->na_uid = vap->va_uid; in vattr_to_nattr()
|
H A D | nfs4_attr.c | 91 if (*errorp = nfs_idmap_uid_str(vap->va_uid, &nap->owner, in nfs4_ver_fattr4_attr() 180 if (*errorp = nfs_idmap_uid_str(vap->va_uid, &nap->owner, in nfs4_set_fattr4_attr()
|
H A D | nfs4_srv_attr.c | 1022 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() 2059 error = nfs_idmap_uid_str(sarg->vap->va_uid, &na->owner, TRUE); in rfs4_fattr4_owner() 2084 error = nfs_idmap_str_uid(&na->owner, &sarg->vap->va_uid, TRUE); in rfs4_fattr4_owner() 2130 else if (sarg->vap->va_uid != uid) in rfs4_fattr4_owner()
|
H A D | nfs3_xdr.c | 605 vap->va_uid = (uid_t)IXDR_GET_U_INT32(ptr); in xdr_fattr3_to_vattr() 606 if (vap->va_uid == NFS_UID_NOBODY) in xdr_fattr3_to_vattr() 607 vap->va_uid = UID_NOBODY; in xdr_fattr3_to_vattr() 680 xdr_u_int(xdrs, (uint_t *)&vap->va_uid) && in xdr_fattr3_to_vattr() 758 if (vap->va_uid == NFS_UID_NOBODY) in xdr_fattr3_to_vattr() 759 vap->va_uid = UID_NOBODY; in xdr_fattr3_to_vattr()
|
/titanic_44/usr/src/uts/common/fs/doorfs/ |
H A D | door_vnops.c | 157 vap->va_uid = 0; /* owner user id */ in door_getattr()
|
/titanic_44/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_fscache.c | 809 attrp->va_uid = 0; in fscdir_create() 830 attrp->va_uid = 0; in fscdir_create() 880 attrp->va_uid = 0; in fscdir_create()
|
/titanic_44/usr/src/uts/common/fs/ |
H A D | xattr.c | 344 if (xvattr.xva_vattr.va_uid > MAXUID) { in xattr_fill_nvlist() 350 if (kidmap_getsidbyuid(crgetzone(cr), xvattr.xva_vattr.va_uid, in xattr_fill_nvlist() 434 vap->va_uid = 0; in xattr_file_getattr() 694 rid, &xvattr.xva_vattr.va_uid); in xattr_file_write()
|
/titanic_44/usr/src/uts/common/fs/sharefs/ |
H A D | sharefs_vnops.c | 193 vap->va_uid = 0; in sharefs_getattr()
|
/titanic_44/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_tnode.c | 177 t->tn_uid = vap->va_uid; in tmpnode_init()
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fsops.c | 201 set_attr.sa_vattr.va_uid = fs_sd->sd_uid; in smb_fsop_create_with_sd() 410 attr->sa_vattr.va_uid = fattr.sa_vattr.va_uid; in smb_fsop_create_stream() 2170 fs_sd->sd_uid = attr.sa_vattr.va_uid; in smb_fsop_sdread() 2304 set_attr.sa_vattr.va_uid = fs_sd->sd_uid; in smb_fsop_sdwrite()
|
/titanic_44/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_root.c | 380 vap->va_uid = 0; in ctfs_common_getattr()
|
/titanic_44/usr/src/uts/common/fs/portfs/ |
H A D | port_vnops.c | 323 vap->va_uid = pp->port_uid; /* owner user id */ in port_getattr()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | zfs_log.c | 618 if ((mask_applied & AT_UID) && IS_EPHEMERAL(vap->va_uid)) in zfs_log_setattr() 621 lr->lr_uid = (uint64_t)vap->va_uid; in zfs_log_setattr()
|