Home
last modified time | relevance | path

Searched refs:AT_UID (Results 1 – 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_attr.c86 case AT_UID: in nfs4_ver_fattr4_attr()
175 case AT_UID: in nfs4_set_fattr4_attr()
350 ASSERT(nfs4_ntov_map[i].vbit == AT_UID || in vattr_to_fattr4()
353 if (nfs4_ntov_map[i].vbit == AT_UID) { in vattr_to_fattr4()
480 if (vmask & AT_UID) in nfs4_vmask_to_nmask()
521 if (vmask & AT_UID) in nfs4_vmask_to_nmask_set()
692 { FATTR4_OWNER_MASK, AT_UID, FALSE, FALSE,
H A Dnfs4_srv_attr.c1008 if ((vap->va_mask & (AT_UID | AT_GID)) != in rfs4_fattr4_acl()
1009 (AT_UID | AT_GID)) { in rfs4_fattr4_acl()
1011 vap->va_mask = AT_UID | AT_GID; in rfs4_fattr4_acl()
2087 if (sarg->rdattr_error && !(sarg->vap->va_mask & AT_UID)) { in rfs4_fattr4_owner()
2091 ASSERT(sarg->vap->va_mask & AT_UID); in rfs4_fattr4_owner()
2109 ASSERT(sarg->vap->va_mask & AT_UID); in rfs4_fattr4_owner()
2160 ASSERT(sarg->vap->va_mask & AT_UID); in rfs4_fattr4_owner()
H A Dnfs_srv.c268 bva.va_mask = AT_UID | AT_SIZE; in rfs_setattr()
1087 va.va_mask = AT_UID|AT_MODE; in rfs_write_sync()
1556 va.va_mask = AT_UID|AT_MODE; in rfs_write()
2848 vap->va_mask |= AT_UID; in sattr_to_vattr()
/illumos-gate/usr/src/boot/sys/x86/include/
H A Delf.h90 #define AT_UID 11 /* Real uid. */ macro
175 #define AT_UID 11 /* Real uid. */ macro
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c263 if (mask & AT_UID) in devfs_setattr_dir()
272 if (mask & (AT_MODE | AT_UID | AT_GID | AT_MTIME)) in devfs_setattr_dir()
282 if (vap->va_mask & (AT_MODE|AT_UID|AT_GID|AT_ATIME|AT_MTIME)) { in devfs_setattr_dir()
378 (AT_MODE|AT_UID|AT_GID|AT_ATIME|AT_MTIME)) == 0) in devfs_setattr()
387 if (vap->va_mask & (AT_MODE | AT_UID | AT_GID)) in devfs_setattr()
421 persist = (vap->va_mask & (AT_MODE | AT_UID | AT_GID)); in devfs_setattr()
492 if (mask & AT_UID) in devfs_setattr()
501 if (mask & (AT_MODE | AT_UID | AT_GID | AT_MTIME)) { in devfs_setattr()
534 if (mask & AT_UID) in devfs_setattr()
H A Ddevfs_subr.c79 AT_TYPE|AT_MODE|AT_UID|AT_GID, /* va_mask */
98 AT_TYPE|AT_MODE|AT_SIZE|AT_UID|AT_GID|AT_RDEV, /* va_mask */
117 AT_TYPE|AT_MODE|AT_SIZE|AT_UID|AT_GID|AT_RDEV, /* va_mask */
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ptsops.c52 AT_TYPE|AT_MODE|AT_UID|AT_GID, /* va_mask */
377 ASSERT((protocol & AT_UID) || (protocol & AT_GID)); in devpts_set_id()
390 devpts_set_id, AT_UID|AT_GID)); in devpts_setattr()
H A Dsdev_subr.c76 AT_TYPE|AT_MODE|AT_UID|AT_GID, /* va_mask */
114 AT_TYPE|AT_MODE|AT_UID|AT_GID, /* va_mask */
133 AT_TYPE|AT_MODE|AT_UID|AT_GID, /* va_mask */
259 if (mask & AT_UID) in sdev_attr_update()
999 vattr.va_mask = AT_TYPE|AT_MODE|AT_UID|AT_GID; in sdev_rnmnode()
1369 vattr.va_mask = AT_TYPE|AT_MODE|AT_UID|AT_GID; in sdev_filldir_from_store()
1867 vattr.va_mask = AT_TYPE|AT_MODE|AT_UID|AT_GID; in devname_lookup_func()
2892 if ((mask & AT_UID) || (mask & AT_GID)) { in devname_setattr_func()
2893 if (mask & AT_UID) in devname_setattr_func()
2900 if ((protocol & AT_UID) || (protocol & AT_GID)) { in devname_setattr_func()
[all …]
H A Dsdev_vtops.c56 AT_TYPE|AT_MODE|AT_UID|AT_GID, /* va_mask */
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4_attr.h165 AT_UID | \
218 AT_UID | \
232 AT_UID | \
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_policy.c77 if (mask & (AT_UID|AT_GID)) in secpolicy_vnode_setattr()
/illumos-gate/usr/src/uts/common/syscall/
H A Dchown.c72 vattr.va_mask |= AT_UID; in fchownat()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_client.c505 if (vap->va_mask & (AT_UID | AT_GID)) { in smbfsgetattr()
510 mask &= ~(AT_UID | AT_GID); in smbfsgetattr()
H A Dsmbfs_acl.c536 if (vap->va_mask & AT_UID) { in smbfs_acl_setids()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c3113 (((mask & AT_UID) && IS_EPHEMERAL(vap->va_uid)) || in zfs_setattr()
3136 ((mask & (AT_SIZE|AT_UID|AT_GID|AT_MTIME|AT_MODE)) || in zfs_setattr()
3209 if (mask & (AT_UID|AT_GID)) { in zfs_setattr()
3210 int idmask = (mask & (AT_UID|AT_GID)); in zfs_setattr()
3226 take_owner = (mask & AT_UID) && (vap->va_uid == crgetuid(cr)); in zfs_setattr()
3239 if (((idmask == (AT_UID|AT_GID)) && take_owner && take_group) || in zfs_setattr()
3240 ((idmask == AT_UID) && take_owner) || in zfs_setattr()
3248 trim_mask = (mask & (AT_UID|AT_GID)); in zfs_setattr()
3403 if ((mask & (AT_UID | AT_GID)) || projid != ZFS_INVALID_PROJID) { in zfs_setattr()
3413 if (mask & AT_UID) { in zfs_setattr()
[all …]
H A Dzfs_replay.c323 zfs_init_vattr(&xva.xva_vattr, AT_TYPE | AT_MODE | AT_UID | AT_GID, in zfs_replay_create_acl()
457 zfs_init_vattr(&xva.xva_vattr, AT_TYPE | AT_MODE | AT_UID | AT_GID, in zfs_replay_create()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_fssub.c305 vattr.va_mask = AT_MODE | AT_UID | AT_GID; in fs_fab_acl()
/illumos-gate/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h233 #define AT_UID 0x00004 macro
/illumos-gate/usr/src/uts/common/os/
H A Dpolicy.c738 va.va_mask = AT_UID|AT_MODE; in secpolicy_fs_common()
1307 (vap->va_mask & AT_UID) != 0 && vap->va_uid == 0) != 0) { in secpolicy_setid_clear()
1490 if (mask & (AT_UID|AT_GID)) { in secpolicy_vnode_setattr()
1514 if (((mask & AT_UID) && vap->va_uid != ovap->va_uid) || in secpolicy_vnode_setattr()
/illumos-gate/usr/src/uts/common/fs/
H A Dxattr.c231 xvattr.xva_vattr.va_mask |= (AT_UID|AT_GID); in xattr_fill_nvlist()
766 xvattr.xva_vattr.va_mask |= AT_UID; in xattr_file_write()
1075 #define PARENT_ATTRMASK (AT_UID|AT_GID|AT_RDEV|AT_CTIME|AT_MTIME)
/illumos-gate/usr/src/uts/common/sys/
H A Dvnode.h593 #define AT_UID 0x00004 macro
615 #define AT_ALL (AT_TYPE|AT_MODE|AT_UID|AT_GID|AT_FSID|AT_NODEID|\
619 #define AT_STAT (AT_MODE|AT_UID|AT_GID|AT_FSID|AT_NODEID|AT_NLINK|\
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb_il.c237 if (lr->lr_mask & AT_UID) { in zil_prt_rec_setattr()
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevno.c306 if (mask & AT_UID) in nm_setattr()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c363 rattr.va_mask = AT_MODE|AT_UID|AT_GID; /* Hint to getattr */ in tmp_mount()
H A Dtmp_vnops.c687 va.va_mask = AT_UID|AT_GID; in tmp_getattr()
763 if (mask & AT_UID) in tmp_setattr()
772 if (mask & (AT_UID | AT_GID | AT_MODE | AT_MTIME)) in tmp_setattr()

12