Function report |
Source Code:kernel\ptrace.c |
Create Date:2022-07-28 09:13:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Ensure that nothing can wake it up, even SIGKILL
Proto:static bool ptrace_freeze_traced(struct task_struct *task)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task |
175 | bool ret = false |
178 | If siglock protected & JOBCTL_LISTENING Then Return ret |
181 | spin_lock_irq( & siglock) |
182 | If task_is_traced(task) && Not __fatal_signal_pending(task) Then |
183 | run state = __TASK_TRACED |
184 | ret = true |
186 | spin_unlock_irq( & siglock) |
188 | Return ret |
Name | Describe |
---|---|
ptrace_check_attach | ptrace_check_attach - check whether ptracee is ready for ptrace operation*@child: ptracee to check for*@ignore_state: don't check whether @child is currently %TASK_TRACED* Check whether @child is being ptraced by %current and ready for further |
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 |