函数逻辑报告 |
Source Code:kernel\capability.c |
Create Date:2022-07-27 10:12:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:bool privileged_wrt_inode_uidgid(struct user_namespace *ns, const struct inode *inode)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct user_namespace * | ns | |
const struct inode * | inode |
489 | 返回:kuid_has_mapping(ns, i_uid)且kgid_has_mapping(ns, i_gid) |
名称 | 描述 |
---|---|
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 |
would_dump |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |