Lines Matching full:owner

17  * information: Portions Copyright [yyyy] [name of copyright owner]
109 secpolicy_vnode_access2(const cred_t *cr, struct inode *ip, uid_t owner, in secpolicy_vnode_access2() argument
122 secpolicy_vnode_any_access(const cred_t *cr, struct inode *ip, uid_t owner) in secpolicy_vnode_any_access() argument
124 if (crgetuid(cr) == owner) in secpolicy_vnode_any_access()
131 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner))) in secpolicy_vnode_any_access()
145 * Determine if subject can chown owner of a file.
148 secpolicy_vnode_chown(const cred_t *cr, uid_t owner) in secpolicy_vnode_chown() argument
150 if (crgetuid(cr) == owner) in secpolicy_vnode_chown()
154 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner))) in secpolicy_vnode_chown()
185 secpolicy_vnode_setdac(const cred_t *cr, uid_t owner) in secpolicy_vnode_setdac() argument
187 if (crgetuid(cr) == owner) in secpolicy_vnode_setdac()
191 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner))) in secpolicy_vnode_setdac()
280 secpolicy_vnode_setid_modify(const cred_t *cr, uid_t owner, zidmap_t *mnt_ns, in secpolicy_vnode_setid_modify() argument
283 owner = zfs_uid_to_vfsuid(mnt_ns, fs_ns, owner); in secpolicy_vnode_setid_modify()
285 if (crgetuid(cr) == owner) in secpolicy_vnode_setid_modify()
289 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner))) in secpolicy_vnode_setid_modify()
346 secpolicy_xvattr(xvattr_t *xvap, uid_t owner, cred_t *cr, mode_t type) in secpolicy_xvattr() argument
348 return (secpolicy_vnode_chown(cr, owner)); in secpolicy_xvattr()