函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_send_sig_info

函数原型:int do_send_sig_info(int sig, struct kernel_siginfo *info, struct task_struct *p, enum pid_type type)

返回类型:int

参数:

类型参数名称
intsig
struct kernel_siginfo *info
struct task_struct *p
enum pid_typetype
1282  ret等于负ESRCH
1284  如果lock_task_sighand(p, & flags)则
1285  ret等于send_signal(sig, info, p, type)
1286  unlock_task_sighand(p, & flags)
1289  返回:ret
调用者
名称描述
group_send_sig_infosend signal info to all the members of a group
send_sig_info信号发送入口
do_send_specific
__oom_kill_process
kill_procsKill the processes that have been collected earlier.* Only do anything when DOIT is set, otherwise just free the list* (this is used for clean pages which do not need killing)* Also when FAIL is set do a force kill because something went* wrong earlier.
send_sigio_to_task
send_sigurg_to_task