Home
last modified time | relevance | path

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

/Linux-v5.15/fs/
Dattr.c37 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()
Dnamei.c341 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()
Dremap_range.c430 if (uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) in allow_file_dedupe()
Dposix_acl.c373 uid = i_uid_into_mnt(mnt_userns, inode); in posix_acl_permission()
Dcoredump.c785 if (!uid_eq(i_uid_into_mnt(mnt_userns, inode), in do_coredump()
Dstat.c50 stat->uid = i_uid_into_mnt(mnt_userns, inode); in generic_fillattr()
Dexec.c1612 uid = i_uid_into_mnt(mnt_userns, inode); in bprm_fill_uid()
Dinode.c2198 i_uid = i_uid_into_mnt(mnt_userns, inode); in inode_owner_or_capable()
/Linux-v5.15/kernel/
Dcapability.c491 return kuid_has_mapping(ns, i_uid_into_mnt(mnt_userns, inode)) && in privileged_wrt_inode_uidgid()
/Linux-v5.15/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()
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()
Dfile.c514 .uid = i_uid_into_mnt(file_mnt_user_ns(file), file_inode(file)), in __file_path_perm()
Ddomain.c863 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/
Didmappings.rst628 - ``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/
Dxfs_itable.c89 buf->bs_uid = from_kuid(sb_userns, i_uid_into_mnt(mnt_userns, inode)); in xfs_bulkstat_one_int()
Dxfs_iops.c592 stat->uid = i_uid_into_mnt(mnt_userns, inode); in xfs_vn_getattr()
/Linux-v5.15/fs/ksmbd/
Dndr.c375 ret = ndr_write_int64(n, from_kuid(&init_user_ns, i_uid_into_mnt(user_ns, inode))); in ndr_encode_posix_acl()
Doplock.c1639 i_uid_into_mnt(user_ns, inode)), in create_posix_rsp_buf()
Dsmb2pdu.c2441 fattr->cf_uid = i_uid_into_mnt(mnt_userns, inode); in ksmbd_acls_fattr()
/Linux-v5.15/fs/fat/
Dfile.c455 if (!uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) { in fat_allow_set_time()
/Linux-v5.15/include/linux/
Dfs.h1665 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/
Dima_policy.c587 !rule->fowner_op(i_uid_into_mnt(mnt_userns, inode), rule->fowner)) in ima_match_rules()