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

Name:do_trap_no_signal

Proto:static inline __attribute__((__always_inline__)) int do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, struct pt_regs *regs, long error_code)

Type:int

Parameter:

TypeParameterName
struct task_struct *tsk
inttrapnr
const char *str
struct pt_regs *regs
longerror_code
191  If v8086_mode(regs) Then
196  If trapnr < X86_TRAP_UD Then
197  If Not handle_vm86_trap((structkernel_vm86_regs * )regs, error_code, trapnr) Then Return 0
201  Else if Not ser_mode(regs) determines whether a register set came from user* mode Then
202  If fixup_exception(regs, trapnr, error_code, 0) Then Return 0
205  error_code = error_code
206  trap_nr = trapnr
207  die(str, regs, error_code)
219  error_code = error_code
220  trap_nr = trapnr
222  Return -1
Caller
NameDescribe
do_trap
do_bounds