Home
last modified time | relevance | path

Searched refs:i_uid_into_mnt (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/security/apparmor/
Dlsm.c229 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()
Dfile.c514 .uid = i_uid_into_mnt(file_mnt_user_ns(file), file_inode(file)), in __file_path_perm()
Ddomain.c862 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/
Dcapability.c492 return kuid_has_mapping(ns, i_uid_into_mnt(mnt_userns, inode)) && in privileged_wrt_inode_uidgid()
/linux-6.1.9/fs/
Dnamei.c342 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()
Dremap_range.c432 if (uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) in allow_file_dedupe()
Dcoredump.c719 if (!uid_eq(i_uid_into_mnt(mnt_userns, inode), in do_coredump()
Dstat.c51 stat->uid = i_uid_into_mnt(mnt_userns, inode); in generic_fillattr()
Dinode.c2360 i_uid = i_uid_into_mnt(mnt_userns, inode); in inode_owner_or_capable()
Dexec.c1614 uid = i_uid_into_mnt(mnt_userns, inode); in bprm_fill_uid()
/linux-6.1.9/Documentation/filesystems/
Didmappings.rst633 - ``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/
Dutil.c1112 inode->i_uid = i_uid_into_mnt(real_mnt_userns, realinode); in ovl_copyattr()
/linux-6.1.9/security/integrity/ima/
Dima_policy.c603 !rule->fowner_op(i_uid_into_mnt(mnt_userns, inode), rule->fowner)) in ima_match_rules()
/linux-6.1.9/include/linux/
Dfs.h1632 static inline kuid_t i_uid_into_mnt(struct user_namespace *mnt_userns, in i_uid_into_mnt() function