函数逻辑报告 |
Source Code:kernel\ptrace.c |
Create Date:2022-07-27 10:13:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ptrace_has_cap
函数原型:static bool ptrace_has_cap(const struct cred *cred, struct user_namespace *ns, unsigned int mode)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct cred * | cred | |
| struct user_namespace * | ns | |
| unsigned int | mode |
| 272 | 如果mode按位与PTRACE_MODE_NOAUDIT则ret等于security_capable(cred, ns, Allow ptrace() of any process , If capable should audit the security request ) |
| 274 | 否则ret等于security_capable(cred, ns, Allow ptrace() of any process , Default (no) options for the capable function ) |
| 277 | 返回:ret恒等于0 |
| 名称 | 描述 |
|---|---|
| __ptrace_may_access | Returns 0 on success, -errno on denial. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |