Home
last modified time | relevance | path

Searched refs:kuid_has_mapping (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/include/linux/
Duidgid.h131 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() function
179 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() function
/Linux-v5.10/security/keys/
Dproc.c71 if (kuid_has_mapping(user_ns, key->user->uid)) in key_serial_next()
103 if (kuid_has_mapping(user_ns, minkey->user->uid)) in find_ge_key()
256 if (kuid_has_mapping(user_ns, user->uid)) in __key_user_next()
Dkeyring.c1155 if (!kuid_has_mapping(ns, keyring->user->uid)) in find_keyring_by_name()
/Linux-v5.10/fs/
Dattr.c314 !kuid_has_mapping(inode->i_sb->s_user_ns, attr->ia_uid)) in notify_change()
Dposix_acl.c230 if (!kuid_has_mapping(user_ns, pa->e_uid)) in posix_acl_valid()
Dexec.c1595 if (!kuid_has_mapping(bprm->cred->user_ns, uid) || in bprm_fill_uid()
Dinode.c2173 if (kuid_has_mapping(ns, inode->i_uid) && ns_capable(ns, CAP_FOWNER)) in inode_owner_or_capable()
Dnamei.c2742 if (!kuid_has_mapping(s_user_ns, current_fsuid()) || in may_create()
2933 if (!kuid_has_mapping(s_user_ns, current_fsuid()) || in may_o_create()
/Linux-v5.10/kernel/
Dcapability.c489 return kuid_has_mapping(ns, inode->i_uid) && in privileged_wrt_inode_uidgid()
Duser_namespace.c100 if (!kuid_has_mapping(parent_ns, owner) || in create_user_ns()