函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\signal.c Create Date:2022-07-27 08:30:07
Last Modify:2022-05-22 06:23:02 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:信号处理入口

函数原型:void do_signal(struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
815  如果get_signal( & ksig)则
817  自定义信号处理函数
818  返回
822  如果Only the low 32 bits of orig_ax are meaningful, so we return int.* This importantly ignores the high bits on 64-bit, so comparisons* sign-extend the low 32 bits.大于等于0则
825  :syscall_get_error(当前进程, regs)恒等于负start if no handler..
826  :syscall_get_error(当前进程, regs)恒等于负These should never be seen by user programs. To return one of ERESTART** codes, signal_pending() MUST be set. Note that ptrace can observe these* at syscall exit tracing, but they will never be left for the debugged user* process to see.
828  ax等于orig_ax
829  ip减等于2
830  退出
834  ip减等于2
835  退出
843  restore_saved_sigmask()