函数逻辑报告 |
Source Code:security\apparmor\ipc.c |
Create Date:2022-07-27 21:26:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_may_ptrace - test if tracer task can trace the tracee*@tracer: label of the task doing the tracing (NOT NULL)*@tracee: task label to be traced*@request: permission request* Returns: %0 else error code if permission denied or error
函数原型:int aa_may_ptrace(struct aa_label *tracer, struct aa_label *tracee, unsigned int request)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct aa_label * | tracer | |
| struct aa_label * | tracee | |
| unsigned int | request |
| 124 | xrequest等于request左移PTRACE_PERM_SHIFT位 |
| 127 | 返回:xcheck_labels(tracer, tracee, profile, profile_tracer_perm(profile, tracee, request, & sa), profile_tracee_perm(profile, tracer, xrequest, & sa)) |
| 名称 | 描述 |
|---|---|
| may_change_ptraced_domain | may_change_ptraced_domain - check if can change profile on ptraced task*@to_label: profile to change to (NOT NULL)*@info: message if there is an error* Check if current is ptraced and if so if the tracing task is allowed* to trace the new domain* Returns: |
| apparmor_ptrace_access_check | |
| apparmor_ptrace_traceme |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |