Function report |
Source Code:security\apparmor\ipc.c |
Create Date:2022-07-28 19:50:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int aa_may_ptrace(struct aa_label *tracer, struct aa_label *tracee, unsigned int request)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_label * | tracer | |
struct aa_label * | tracee | |
unsigned int | request |
124 | xrequest = request << PTRACE_PERM_SHIFT |
127 | Return xcheck_labels(tracer, tracee, profile, profile_tracer_perm(profile, tracee, request, & sa), profile_tracee_perm(profile, tracer, xrequest, & sa)) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |