Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:int3_exception_notify

Proto:static int __init int3_exception_notify(struct notifier_block *self, unsigned long val, void *data)

Type:int

Parameter:

TypeParameterName
struct notifier_block *self
unsigned longval
void *data
652  args = data
653  regs = regs
655  If Not regs || ser_mode(regs) determines whether a register set came from user* mode Then Return Don't care
658  If val != DIE_INT3 Then Return Don't care
661  If ip - INT3_INSN_SIZE != defined in asm below Then Return Don't care
664  int3_emulate_call(regs, (unsignedlong) & We define the int3_magic() function in assembly to control the calling* convention such that we can 'call' it from assembly.)
665  Return Clean way to return from the notifier and stop further calls.