函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:16:13
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:force_sig

函数原型:void force_sig(int sig)

返回类型:void

参数:

类型参数名称
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  强制信号发送
调用者
名称描述
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.
signal_fault
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.
safesetid_task_fix_setuidCheck whether there is either an exception for user under old cred struct to* set*uid to user under new cred struct, or the UID transition is allowed (by* Linux set*uid rules) even without CAP_SETUID.