Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fixup_bad_iret

Proto:asmlinkage __visible notrace struct bad_iret_stack *fixup_bad_iret(struct bad_iret_stack *s)

Type:struct bad_iret_stack

Parameter:

TypeParameterName
struct bad_iret_stack *s
651  new_stack = Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(sp0) - 1
655  Not static to avoid a conflict with the prototype in the Linux headers.
658  memmove(new_stack, s, offsetof(structbad_iret_stack, ip))
660  BUG_ON(!ser_mode(regs) determines whether a register set came from user* mode)
661  Return new_stack