Function report |
Source Code:kernel\capability.c |
Create Date:2022-07-28 09:12:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:privileged_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.
Proto:bool privileged_wrt_inode_uidgid(struct user_namespace *ns, const struct inode *inode)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct user_namespace * | ns | |
const struct inode * | inode |
489 | Return kuid_has_mapping(ns, i_uid) && kgid_has_mapping(ns, i_gid) |
Name | Describe |
---|---|
capable_wrt_inode_uidgid | apable_wrt_inode_uidgid - Check nsown_capable and uid and gid mapped*@inode: The inode in question*@cap: The capability in question* Return true if the current task has the given capability targeted at* its own user namespace and that the given inode's |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |