函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\umip.c Create Date:2022-07-27 09:49:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static void force_sig_info_umip_fault(void __user *addr, struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
void __user *addr
struct pt_regs *regs
285  tsk等于当前进程
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  如果非show_unhandled_signalsunhandled_signal(tsk, SIGSEGV)的值则返回
296  umip_pr_err(regs, "segfault in emulation. error%x\n", X86_PF_USER | X86_PF_WRITE)
调用者
名称描述
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