Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:complete_signal

Proto:static void complete_signal(int sig, struct task_struct *p, enum pid_type type)

Type:void

Parameter:

TypeParameterName
intsig
struct task_struct *p
enum pid_typetype
986  signal = Signal handlers:
995  If Test if P wants to take SIG. After we've checked all threads with this,* it's equivalent to finding no threads not blocking SIG. Any threads not* blocking SIG were ruled out because they are not running and already* have pending signals Then t = p
997  Else if type == PIDTYPE_PID || thread_group_empty(p) Then Return
1003  Else
1007  t = current thread group signal load-balancing target:
1009  t = next_thread(t)
1018  current thread group signal load-balancing target: = t
1025  If sig_fatal(p, sig) && Not (see SIGNAL_* flags below & group exit in progress ) && Not sigismember( & real_blocked, sig) && ( sig == SIGKILL || Not ptrace ) Then
1032  If Not sig_kernel_coredump(sig) Then
1042  t = p
1043  Do
1056  signal_wake_up(t, sig == SIGKILL)
1057  Return
Caller
NameDescribe
__send_signal
send_sigqueue