函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:内核信号处理

函数原型:void kernel_sigaction(int sig, __sighandler_t action)

返回类型:void

参数:

类型参数名称
intsig
__sighandler_taction
3928  spin_lock_irq( & siglock)
3929  sa_handler等于action
3930  如果action恒等于gnore signal
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  确定进程等待信号
3940  spin_unlock_irq( & siglock)
调用者
名称描述
call_usermodehelper_exec_syncHandles UMH_WAIT_PROC.
allow_signal
allow_kernel_signal
disallow_signal