Searched refs:kuid_has_mapping (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/include/linux/ |
D | uidgid.h | 131 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/ |
D | proc.c | 71 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()
|
D | keyring.c | 1155 if (!kuid_has_mapping(ns, keyring->user->uid)) in find_keyring_by_name()
|
/Linux-v5.10/fs/ |
D | attr.c | 314 !kuid_has_mapping(inode->i_sb->s_user_ns, attr->ia_uid)) in notify_change()
|
D | posix_acl.c | 230 if (!kuid_has_mapping(user_ns, pa->e_uid)) in posix_acl_valid()
|
D | exec.c | 1595 if (!kuid_has_mapping(bprm->cred->user_ns, uid) || in bprm_fill_uid()
|
D | inode.c | 2173 if (kuid_has_mapping(ns, inode->i_uid) && ns_capable(ns, CAP_FOWNER)) in inode_owner_or_capable()
|
D | namei.c | 2742 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/ |
D | capability.c | 489 return kuid_has_mapping(ns, inode->i_uid) && in privileged_wrt_inode_uidgid()
|
D | user_namespace.c | 100 if (!kuid_has_mapping(parent_ns, owner) || in create_user_ns()
|