Function report |
Source Code:security\yama\yama_lsm.c |
Create Date:2022-07-28 19:55:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:yama_ptracer_add - add/replace an exception for this tracer/tracee pair*@tracer: the task_struct of the process doing the ptrace*@tracee: the task_struct of the process to be ptraced* Each tracee can have, at most, one tracer registered. Each time this
Proto:static int yama_ptracer_add(struct task_struct *tracer, struct task_struct *tracee)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tracer | |
| struct task_struct * | tracee |
| 146 | added = Allocation memory |
| 152 | invalid = false |
| 154 | spin_lock( & ptracer_relations_lock) |
| 157 | If invalid Then Continue |
| 162 | Go to out |
| 168 | out : |
| 170 | spin_unlock( & ptracer_relations_lock) |
| 171 | Return 0 |
| Name | Describe |
|---|---|
| yama_task_prctl | yama_task_prctl - check for Yama-specific prctl operations*@option: operation*@arg2: argument*@arg3: argument*@arg4: argument*@arg5: argument* Return 0 on success, -ve on error. -ENOSYS is returned when Yama* does not handle the given option. |
| 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 |