Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\uidgid.h Create Date:2022-07-28 05:38:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kgid_has_mapping

Proto:static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid)

Type:bool

Parameter:

TypeParameterName
struct user_namespace *ns
kgid_tgid
186  Return gid_valid(gid)
Caller
NameDescribe
privileged_wrt_inode_uidgidprivileged_wrt_inode_uidgid - Do capabilities in the namespace work over the inode?*@ns: The user namespace in question*@inode: The inode in question* Return true if the inode uid and gid are within the namespace.
create_user_nsCreate a new user namespace, deriving the creator from the user in the* passed credentials, and replacing that user with the new root user for the* new namespace.* This is called by copy_creds(), which will finish setting the target task's* credentials.
bprm_fill_uid
may_createCheck whether we can create an object with dentry child in directory* dir.* 1. We can't do it if child already exists (open has special treatment for* this case, but since we are inlined it's OK)* 2
may_o_create
notify_changey_change - modify attributes of a filesytem object*@dentry: object affected*@attr: new attributes*@delegated_inode: returns inode, if the inode is delegated* The caller must hold the i_mutex on the affected object
posix_acl_validCheck if an acl is valid. Returns 0 if it is, or -E... otherwise.