Home
last modified time | relevance | path

Searched refs:vfsuid_into_kuid (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/include/linux/
H A Dmnt_idmapping.h163 static inline kuid_t vfsuid_into_kuid(vfsuid_t vfsuid) in vfsuid_into_kuid() function
/openbmc/linux/fs/smb/server/
H A Dsmbacl.h223 return from_kuid(&init_user_ns, vfsuid_into_kuid(vfsuid)); in posix_acl_uid_translate()
H A Dndr.c378 ret = ndr_write_int64(n, from_kuid(&init_user_ns, vfsuid_into_kuid(vfsuid))); in ndr_encode_posix_acl()
H A Doplock.c1740 id_to_sid(from_kuid_munged(&init_user_ns, vfsuid_into_kuid(vfsuid)), in create_posix_rsp_buf()
H A Dsmb2pdu.c2641 fattr->cf_uid = vfsuid_into_kuid(vfsuid); in ksmbd_acls_fattr()
5174 id_to_sid(from_kuid_munged(&init_user_ns, vfsuid_into_kuid(vfsuid)), in find_file_posix_info()
/openbmc/linux/security/apparmor/
H A Dlsm.c239 vfsuid_into_kuid(vfsuid), in common_perm_cond()
288 cond.uid = vfsuid_into_kuid(vfsuid); in common_perm_rm()
397 cond.uid = vfsuid_into_kuid(vfsuid); in apparmor_path_rename()
404 cond_exchange.uid = vfsuid_into_kuid(vfsuid); in apparmor_path_rename()
479 cond.uid = vfsuid_into_kuid(vfsuid); in apparmor_file_open()
H A Ddomain.c884 vfsuid_into_kuid(vfsuid), in apparmor_bprm_creds_for_exec()
995 vfsuid_into_kuid(vfsuid), info, error)); in apparmor_bprm_creds_for_exec()
H A Dfile.c494 .uid = vfsuid_into_kuid(vfsuid), in __file_path_perm()
/openbmc/linux/security/
H A Dcommoncap.c339 kroot = vfsuid_into_kuid(rootvfsuid); in rootid_owns_currentns()
427 mappedroot = from_kuid(current_user_ns(), vfsuid_into_kuid(vfsroot)); in cap_inode_getsecurity()
713 cpu_caps->rootid = vfsuid_into_kuid(rootvfsuid); in get_vfs_caps_from_disk()
/openbmc/linux/Documentation/filesystems/
H A Didmappings.rst668 use the ``vfsuid_into_kuid()`` and ``vfsgid_into_kgid()`` helpers.
675 or ``kgid_t``. And this can be done by using ``vfsuid_into_kuid()`` and
727 - ``vfsuid_into_kuid()`` and ``vfsgid_into_kgid()``
761 k11000 = vfsuid_into_kuid(v11000)
787 k21000 = vfsuid_into_kuid(v21000)
893 k11000 = vfsuid_into_kuid(v11000)
930 k11000 = vfsuid_into_kuid(v11000)
1030 k1125 = vfsuid_into_kuid(v1125)
/openbmc/linux/fs/xfs/
H A Dxfs_itable.c105 buf->bs_uid = from_kuid(sb_userns, vfsuid_into_kuid(vfsuid)); in xfs_bulkstat_one_int()
H A Dxfs_iops.c573 stat->uid = vfsuid_into_kuid(vfsuid); in xfs_vn_getattr()
/openbmc/linux/fs/
H A Dstat.c56 stat->uid = vfsuid_into_kuid(vfsuid); in generic_fillattr()
H A Dposix_acl.c920 caller_userns, vfsuid_into_kuid(vfsuid))); in vfs_posix_acl_to_xattr()
H A Dexec.c1645 bprm->cred->euid = vfsuid_into_kuid(vfsuid); in bprm_fill_uid()
/openbmc/linux/fs/overlayfs/
H A Dutil.c1412 inode->i_uid = vfsuid_into_kuid(vfsuid); in ovl_copyattr()
H A Dinode.c486 e->e_uid = vfsuid_into_kuid(vfsuid); in ovl_idmap_posix_acl()