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:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fixup_bug

Proto:int fixup_bug(struct pt_regs *regs, int trapnr)

Type:int

Parameter:

TypeParameterName
struct pt_regs *regs
inttrapnr
171  If trapnr != X86_TRAP_UD Then Return 0
175  Case report_bug(ip, regs) == BUG_TRAP_TYPE_NONE
176  Case report_bug(ip, regs) == BUG_TRAP_TYPE_BUG
177  Break
179  Case report_bug(ip, regs) == BUG_TRAP_TYPE_WARN
180  ip += LEN_UD2
181  Return 1
184  Return 0
Caller
NameDescribe
do_error_trap