函数逻辑报告 |
Source Code:include\linux\capability.h |
Create Date:2022-07-27 06:41:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:has_ns_capability
函数原型:static inline bool has_ns_capability(struct task_struct *t, struct user_namespace *ns, int cap)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | t | |
| struct user_namespace * | ns | |
| int | cap |
| 222 | 返回:true |
| 名称 | 描述 |
|---|---|
| cap_ptrace_traceme | ap_ptrace_traceme - Determine whether another process may trace the current*@parent: The task proposed to be the tracer* If parent is in the same or an ancestor user_ns and has all current's* capabilities, then ptrace access is allowed |
| yama_ptrace_traceme | yama_ptrace_traceme - validate PTRACE_TRACEME calls*@parent: task that will become the ptracer of the current task* Returns 0 if following the ptrace is allowed, -ve on error. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |