函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:siginfo_layout

函数原型:enum siginfo_layout siginfo_layout(unsigned sig, int si_code)

返回类型:enum siginfo_layout

参数:

类型参数名称
unsignedsig
intsi_code
3149  layout等于SIL_KILL
3150  如果si_code大于sent by kill, sigsend, raise si_code小于sent by the kernel from somewhere
3153  layout等于layout
3158  否则如果sig恒等于SIGSEGVsi_code恒等于ailed address bound checks layout等于SIL_FAULT_BNDERR
3161  否则如果sig恒等于SIGSEGVsi_code恒等于ailed protection key checks layout等于SIL_FAULT_PKUERR
3165  否则如果si_code小于等于NSIGPOLLlayout等于SIL_POLL
3167  否则
3168  如果si_code恒等于sent by timer expiration layout等于SIL_TIMER
3170  否则如果si_code恒等于sent by queued SIGIO layout等于SIL_POLL
3172  否则如果si_code小于0则layout等于SIL_RT
3175  返回:layout
调用者
名称描述
has_si_pid_and_uid
copy_siginfo_to_user32
post_copy_siginfo_from_user32
signalfd_copyinfoCopied from copy_siginfo_to_user() in kernel/signal.c