Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rce_sig_info_umip_fault() - Force a SIGSEGV with SEGV_MAPERR*@addr: Address that caused the signal*@regs: Register set containing the instruction pointer* Force a SIGSEGV signal with SEGV_MAPERR as the error code

Proto:static void force_sig_info_umip_fault(void __user *addr, struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
void __user *addr
struct pt_regs *regs
285  tsk = current process
287  Fault info: = addr
288  error_code = X86_PF_USER | X86_PF_WRITE
289  trap_nr = X86_TRAP_PF
291  force_sig_fault(SIGSEGV, address not mapped to object , addr)
293  If Not (show_unhandled_signals && unhandled_signal(tsk, SIGSEGV)) Then Return
296  umip_pr_err(regs, "segfault in emulation. error%x\n", X86_PF_USER | X86_PF_WRITE)
Caller
NameDescribe
fixup_umip_exceptionxup_umip_exception() - Fixup a general protection fault caused by UMIP*@regs: Registers as saved when entering the #GP handler* The instructions SGDT, SIDT, STR, SMSW and SLDT cause a general protection* fault if executed with CPL > 0 (i