Function report |
Source Code:include\linux\ptrace.h |
Create Date:2022-07-28 05:49:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ptrace_parent - return the task that is tracing the given task*@task: task to consider* Returns %NULL if no one is tracing @task, or the &struct task_struct* pointer to its tracer.* Must called under rcu_read_lock(). The pointer returned might be kept
Proto:static inline struct task_struct *ptrace_parent(struct task_struct *task)
Type:struct task_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | task |
| 126 | If Value for the false possibility is greater at compile time(ptrace) Then Return fetch RCU-protected pointer for dereferencing(parent) |
| 128 | Return NULL |
| Name | Describe |
|---|---|
| ptrace_parent_sid | prm security operations |
| smack_bprm_set_creds | smack_bprm_set_creds - set creds for exec*@bprm: the exec information* Returns 0 if it gets a blob, -EPERM if exec forbidden and -ENOMEM otherwise |
| 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: |
| ptracer_exception_found | ptracer_exception_found - tracer registered as exception for this tracee*@tracer: the task_struct of the process attempting ptrace*@tracee: the task_struct of the process to be ptraced* Returns 1 if tracer has a ptracer exception ancestor for tracee. |
| 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 |