Searched refs:i_uid_into_mnt (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/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() 376 i_uid_into_mnt(mnt_userns, d_backing_inode(old_dentry)), in apparmor_path_rename() 382 i_uid_into_mnt(mnt_userns, d_backing_inode(new_dentry)), in apparmor_path_rename() 451 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 | 862 kuid_t i_uid = i_uid_into_mnt(file_mnt_user_ns(bprm->file), in apparmor_bprm_creds_for_exec()
|
/linux-6.1.9/kernel/ |
D | capability.c | 492 return kuid_has_mapping(ns, i_uid_into_mnt(mnt_userns, inode)) && in privileged_wrt_inode_uidgid()
|
/linux-6.1.9/fs/ |
D | namei.c | 342 i_uid = i_uid_into_mnt(mnt_userns, inode); in acl_permission_check() 1104 i_uid = i_uid_into_mnt(mnt_userns, inode); in may_follow_link() 1186 if (!uid_valid(i_uid_into_mnt(mnt_userns, inode)) || in may_linkat() 1240 uid_eq(i_uid_into_mnt(mnt_userns, inode), dir_uid) || in may_create_in_sticky() 1241 uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) in may_create_in_sticky() 2310 nd->dir_uid = i_uid_into_mnt(mnt_userns, nd->inode); in link_path_walk() 2888 if (uid_eq(i_uid_into_mnt(mnt_userns, inode), fsuid)) in __check_sticky() 2890 if (uid_eq(i_uid_into_mnt(mnt_userns, dir), fsuid)) in __check_sticky() 2929 if (!uid_valid(i_uid_into_mnt(mnt_userns, inode)) || in may_delete()
|
D | remap_range.c | 432 if (uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) in allow_file_dedupe()
|
D | coredump.c | 719 if (!uid_eq(i_uid_into_mnt(mnt_userns, inode), in do_coredump()
|
D | stat.c | 51 stat->uid = i_uid_into_mnt(mnt_userns, inode); in generic_fillattr()
|
D | inode.c | 2360 i_uid = i_uid_into_mnt(mnt_userns, inode); in inode_owner_or_capable()
|
D | exec.c | 1614 uid = i_uid_into_mnt(mnt_userns, inode); in bprm_fill_uid()
|
/linux-6.1.9/Documentation/filesystems/ |
D | idmappings.rst | 633 - ``i_uid_into_mnt()`` and ``i_gid_into_mnt()`` 672 first call ``i_uid_into_mnt()`` thereby translating the filesystem's kernel id 675 i_uid_into_mnt(k21000): 807 i_uid_into_mnt(k1000): 843 i_uid_into_mnt(k21000): 942 i_uid_into_mnt(k1000):
|
/linux-6.1.9/fs/overlayfs/ |
D | util.c | 1112 inode->i_uid = i_uid_into_mnt(real_mnt_userns, realinode); in ovl_copyattr()
|
/linux-6.1.9/security/integrity/ima/ |
D | ima_policy.c | 603 !rule->fowner_op(i_uid_into_mnt(mnt_userns, inode), rule->fowner)) in ima_match_rules()
|
/linux-6.1.9/include/linux/ |
D | fs.h | 1632 static inline kuid_t i_uid_into_mnt(struct user_namespace *mnt_userns, in i_uid_into_mnt() function
|