函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:16:32
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:may_ptrace_stop

函数原型:static inline bool may_ptrace_stop(void)

返回类型:bool

参数:

2072  如果非此条件成立可能性大(为编译器优化)(ptrace)则返回:false
2087  如果此条件成立可能性小(为编译器优化)(core_state)且此条件成立可能性小(为编译器优化)(mm == mm)则返回:false
2091  返回:true
调用者
名称描述
ptrace_stopThis must be called with current->sighand->siglock held.* This should be the path for all ptrace stops.* We always set current->last_siginfo while stopped here.* That makes it a way to test a stopped process for