Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:has_si_pid_and_uid

Proto:static inline bool has_si_pid_and_uid(struct kernel_siginfo *info)

Type:bool

Parameter:

TypeParameterName
struct kernel_siginfo *info
1183  bool ret = false
1185  Case siginfo_layout(si_signo, si_code) == SIL_KILL
1186  Case siginfo_layout(si_signo, si_code) == SIL_CHLD
1187  Case siginfo_layout(si_signo, si_code) == SIL_RT
1188  ret = true
1189  Break
1190  Case siginfo_layout(si_signo, si_code) == SIL_TIMER
1191  Case siginfo_layout(si_signo, si_code) == SIL_POLL
1192  Case siginfo_layout(si_signo, si_code) == SIL_FAULT
1193  Case siginfo_layout(si_signo, si_code) == SIL_FAULT_MCEERR
1194  Case siginfo_layout(si_signo, si_code) == SIL_FAULT_BNDERR
1195  Case siginfo_layout(si_signo, si_code) == SIL_FAULT_PKUERR
1196  Case siginfo_layout(si_signo, si_code) == SIL_SYS
1197  ret = false
1198  Break
1200  Return ret
Caller
NameDescribe
send_signal