Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\traps.c Create Date:2022-07-28 07:31:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_trap

Proto:static void do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, long error_code, int sicode, void __user *addr)

Type:void

Parameter:

TypeParameterName
inttrapnr
intsignr
char *str
struct pt_regs *regs
longerror_code
intsicode
void __user *addr
243  tsk = current process
246  If Not do_trap_no_signal(tsk, trapnr, str, regs, error_code) Then Return
249  show_signal(tsk, signr, "trap ", str, regs, error_code)
251  If Not sicode Then force_sig(signr)
253  Else force_sig_fault(signr, sicode, addr)
Caller
NameDescribe
do_error_trap
do_bounds
do_int3
do_iret_error