Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:When things go south during signal handling, we* will force a SIGSEGV. And if the signal that caused* the problem was already a SIGSEGV, we'll want to* make sure we don't even try to deliver the signal..

Proto:void force_sigsegv(int sig)

Type:void

Parameter:

TypeParameterName
intsig
1640  p = current process
1642  If sig == SIGSEGV Then
1644  spin_lock_irqsave( & siglock, flags)
1645  sa_handler = default signal handling
1646  spin_unlock_irqrestore( & siglock, flags)
1648  force_sig(SIGSEGV)
Caller
NameDescribe
signal_setup_done
__rseq_handle_notify_resumeThis resume handler must always be executed between any of:* - preemption,* - signal delivery,* and return to user-space