Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:15:44
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_send_sig_info

Proto:int do_send_sig_info(int sig, struct kernel_siginfo *info, struct task_struct *p, enum pid_type type)

Type:int

Parameter:

TypeParameterName
intsig
struct kernel_siginfo *info
struct task_struct *p
enum pid_typetype
1282  ret = -ESRCH
1284  If lock_task_sighand(p, & flags) Then
1285  ret = send_signal(sig, info, p, type)
1286  unlock_task_sighand(p, & flags)
1289  Return ret
Caller
NameDescribe
group_send_sig_infosend signal info to all the members of a group
send_sig_infoThese are for backward compatibility with the rest of the kernel source.
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