Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:show_signal

Proto:static void show_signal(struct task_struct *tsk, int signr, const char *type, const char *desc, struct pt_regs *regs, long error_code)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
intsignr
const char *type
const char *desc
struct pt_regs *regs
longerror_code
229  If show_unhandled_signals && unhandled_signal(tsk, signr) && printk_ratelimit() Then
231  pr_info("%s[%d] %s%s ip:%lx sp:%lx error:%lx", * executable name, excluding path. * - normally initialized setup_new_exec() * - access it with [gs]et_task_comm() * - lock it with task_lock(), task_pid_nr(tsk), type, desc, ip, sp, error_code)
234  print_vma_addr(Annotation for a "continued" line of log printout (only done after a* line that had no enclosing \n). Only to be used by core/arch code* during early bootup (a continued line is not SMP-safe otherwise)." in ", ip)
235  Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("\n")
Caller
NameDescribe
do_trap
do_bounds
do_general_protection