Searched refs:i_uid_into_mnt (Results 1 – 21 of 21) sorted by relevance
/Linux-v5.15/fs/ |
D | attr.c | 37 kuid_t kuid = i_uid_into_mnt(mnt_userns, inode); in chown_ok() 64 if (uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode)) && in chgrp_ok() 396 !uid_valid(i_uid_into_mnt(mnt_userns, inode))) in notify_change()
|
D | namei.c | 341 i_uid = i_uid_into_mnt(mnt_userns, inode); in acl_permission_check() 1052 i_uid = i_uid_into_mnt(mnt_userns, inode); in may_follow_link() 1134 if (!uid_valid(i_uid_into_mnt(mnt_userns, inode)) || in may_linkat() 1188 uid_eq(i_uid_into_mnt(mnt_userns, inode), dir_uid) || in may_create_in_sticky() 1189 uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) in may_create_in_sticky() 2287 nd->dir_uid = i_uid_into_mnt(mnt_userns, nd->inode); in link_path_walk() 2813 if (uid_eq(i_uid_into_mnt(mnt_userns, inode), fsuid)) in __check_sticky() 2815 if (uid_eq(i_uid_into_mnt(mnt_userns, dir), fsuid)) in __check_sticky() 2854 if (!uid_valid(i_uid_into_mnt(mnt_userns, inode)) || in may_delete()
|
D | remap_range.c | 430 if (uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) in allow_file_dedupe()
|
D | posix_acl.c | 373 uid = i_uid_into_mnt(mnt_userns, inode); in posix_acl_permission()
|
D | coredump.c | 785 if (!uid_eq(i_uid_into_mnt(mnt_userns, inode), in do_coredump()
|
D | stat.c | 50 stat->uid = i_uid_into_mnt(mnt_userns, inode); in generic_fillattr()
|
D | exec.c | 1612 uid = i_uid_into_mnt(mnt_userns, inode); in bprm_fill_uid()
|
D | inode.c | 2198 i_uid = i_uid_into_mnt(mnt_userns, inode); in inode_owner_or_capable()
|
/Linux-v5.15/kernel/ |
D | capability.c | 491 return kuid_has_mapping(ns, i_uid_into_mnt(mnt_userns, inode)) && in privileged_wrt_inode_uidgid()
|
/Linux-v5.15/security/apparmor/ |
D | lsm.c | 229 i_uid_into_mnt(mnt_userns, d_backing_inode(path->dentry)), in common_perm_cond() 277 cond.uid = i_uid_into_mnt(mnt_userns, inode); in common_perm_rm() 373 i_uid_into_mnt(mnt_userns, d_backing_inode(old_dentry)), in apparmor_path_rename() 431 i_uid_into_mnt(mnt_userns, inode), in apparmor_file_open()
|
D | file.c | 514 .uid = i_uid_into_mnt(file_mnt_user_ns(file), file_inode(file)), in __file_path_perm()
|
D | domain.c | 863 kuid_t i_uid = i_uid_into_mnt(file_mnt_user_ns(bprm->file), in apparmor_bprm_creds_for_exec()
|
/Linux-v5.15/Documentation/filesystems/ |
D | idmappings.rst | 628 - ``i_uid_into_mnt()`` and ``i_gid_into_mnt()`` 667 first call ``i_uid_into_mnt()`` thereby translating the filesystem's kernel id 670 i_uid_into_mnt(k21000): 802 i_uid_into_mnt(k1000): 838 i_uid_into_mnt(k21000): 937 i_uid_into_mnt(k1000): 1006 i_uid_into_mnt(kid): 1017 i_uid_into_mnt(kid):
|
/Linux-v5.15/fs/xfs/ |
D | xfs_itable.c | 89 buf->bs_uid = from_kuid(sb_userns, i_uid_into_mnt(mnt_userns, inode)); in xfs_bulkstat_one_int()
|
D | xfs_iops.c | 592 stat->uid = i_uid_into_mnt(mnt_userns, inode); in xfs_vn_getattr()
|
/Linux-v5.15/fs/ksmbd/ |
D | ndr.c | 375 ret = ndr_write_int64(n, from_kuid(&init_user_ns, i_uid_into_mnt(user_ns, inode))); in ndr_encode_posix_acl()
|
D | oplock.c | 1639 i_uid_into_mnt(user_ns, inode)), in create_posix_rsp_buf()
|
D | smb2pdu.c | 2441 fattr->cf_uid = i_uid_into_mnt(mnt_userns, inode); in ksmbd_acls_fattr()
|
/Linux-v5.15/fs/fat/ |
D | file.c | 455 if (!uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) { in fat_allow_set_time()
|
/Linux-v5.15/include/linux/ |
D | fs.h | 1665 static inline kuid_t i_uid_into_mnt(struct user_namespace *mnt_userns, in i_uid_into_mnt() function 2302 return !uid_valid(i_uid_into_mnt(mnt_userns, inode)) || in HAS_UNMAPPED_ID()
|
/Linux-v5.15/security/integrity/ima/ |
D | ima_policy.c | 587 !rule->fowner_op(i_uid_into_mnt(mnt_userns, inode), rule->fowner)) in ima_match_rules()
|