Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:For kthreads only, must not be used if cloned with CLONE_SIGHAND

Proto:void kernel_sigaction(int sig, __sighandler_t action)

Type:void

Parameter:

TypeParameterName
intsig
__sighandler_taction
3928  spin_lock_irq( & siglock)
3929  sa_handler = action
3930  If action == gnore signal Then
3933  sigemptyset( & mask)
3934  We don't use for these because there is no need tobe atomic.
3936  Remove signals in mask from the pending set and queue.* Returns 1 if any signals were found.* All callers must be holding the siglock.
3937  Remove signals in mask from the pending set and queue.* Returns 1 if any signals were found.* All callers must be holding the siglock.
3938  recalc_sigpending()
3940  spin_unlock_irq( & siglock)
Caller
NameDescribe
call_usermodehelper_exec_syncHandles UMH_WAIT_PROC.
allow_signal
allow_kernel_signal
disallow_signal