Function report |
Source Code:arch\x86\kernel\signal.c |
Create Date:2022-07-28 07:30:49 |
Last Modify:2022-05-22 06:23:02 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:handle_signal
Proto:static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ksignal * | ksig | |
struct pt_regs * | regs |
716 | If v8086_mode(regs) Then save_v86_state((structkernel_vm86_regs * )regs, urn due to signal ) |
723 | Case syscall_get_error(current process, regs) == -start by calling sys_restart_syscall |
724 | Case syscall_get_error(current process, regs) == -start if no handler.. |
729 | If Not (sa_flags & SA_RESTART) Then |
734 | Case syscall_get_error(current process, regs) == -ERESTARTNOINTR |
747 | If stepping Then user_disable_single_step(current process) |
750 | failed = setup_rt_frame(ksig, regs) < 0 |
751 | If Not failed Then |
762 | flags &= ~( X86_EFLAGS_DF | X86_EFLAGS_RF | X86_EFLAGS_TF) |
766 | fpu__clear(fpu) |
768 | signal_setup_done(failed, ksig, stepping) |
Name | Describe |
---|---|
do_signal | Note that 'init' is a special process: it doesn't get signals it doesn't* want to handle. Thus you cannot kill init even with a SIGKILL even by* mistake. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |