函数逻辑报告 |
Source Code:kernel\capability.c |
Create Date:2022-07-27 10:12:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ptracer_capable - Determine if the ptracer holds CAP_SYS_PTRACE in the namespace*@tsk: The task that may be ptraced*@ns: The user namespace to search for CAP_SYS_PTRACE in* Return true if the task that is ptracing the current task had CAP_SYS_PTRACE
函数原型:bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk | |
struct user_namespace * | ns |
520 | ret等于0 |
525 | 如果cred则ret等于security_capable(cred, ns, Allow ptrace() of any process , If capable should audit the security request ) |
529 | 返回:ret恒等于0 |
名称 | 描述 |
---|---|
ptrace_access_vm | Access another process' address space via ptrace.* Source/target buffer must be kernel space,* Do not walk the page table directly, use get_user_pages |
cap_bprm_set_creds | ap_bprm_set_creds - Set up the proposed credentials for execve().*@bprm: The execution parameters, including the proposed creds* Set up the proposed credentials for a new execution context being* constructed by execve() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |