函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\ptrace.c Create Date:2022-07-27 10:13:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Ensure that nothing can wake it up, even SIGKILL

函数原型:static bool ptrace_freeze_traced(struct task_struct *task)

返回类型:bool

参数:

类型参数名称
struct task_struct *task
175  bool ret = false
178  如果 JOBCTL_*, siglock protected: 按位与JOBCTL_LISTENING则返回:ret
181  spin_lock_irq( & siglock)
182  如果task_is_traced(task)且非__fatal_signal_pending(task)则
183  任务状态等于__TASK_TRACED
184  ret = true
186  spin_unlock_irq( & siglock)
188  返回:ret
调用者
名称描述
ptrace_check_attachptrace_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