Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:16:15
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:force_sig

Proto:void force_sig(int sig)

Type:void

Parameter:

TypeParameterName
intsig
1622  clear_siginfo( & info)
1623  si_signo = sig
1624  si_errno = 0
1625  si_code = sent by the kernel from somewhere
1626  si_pid = 0
1627  si_uid = 0
1628  force_sig_info( & info)
Caller
NameDescribe
do_trap
do_general_protection
do_machine_checkThe actual machine check handler. This only handles real* exceptions when something got corrupted coming in through int 18.* This is executed in NMI context not subject to normal locking rules. This* implies that most kernel services cannot be safely used
handle_vm86_trap
arch_uretprobe_hijack_return_addr
force_sigsegvWhen things go south during signal handling, we* will force a SIGSEGV. And if the signal that caused* the problem was already a SIGSEGV, we'll want to* make sure we don't even try to deliver the signal..
handle_trampoline
handle_singlestepPerform required fix-ups and disable singlestep.* Allow pending signals to take effect.
addr_limit_user_checkCalled before coming back to user-mode. Returning to user-mode with an* address limit different than USER_DS can allow to overwrite kernel memory.