Function report |
Source Code:kernel\signal.c |
Create Date:2022-07-28 09:15:45 |
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Force a signal that the process can't ignore: if necessary* we unblock the signal and change any SIG_IGN to SIG_DFL.* Note: If we unblock the signal, we always reset it to SIG_DFL,* since we do not want to have a signal handler that was blocked
Proto:static int force_sig_info_to_task(struct kernel_siginfo *info, struct task_struct *t)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kernel_siginfo * | info | |
| struct task_struct * | t |
| 1311 | spin_lock_irqsave( & siglock, flags) |
| 1313 | ignored = sa_handler == gnore signal |
| 1314 | blocked = sigismember( & blocked, sig) |
| 1317 | If blocked Then |
| 1326 | If sa_handler == default signal handling && Not ptrace Then Per task flags (PF_*), defined further below: &= ~r init: ignore fatal signals |
| 1328 | ret = send_signal(sig, info, t, PIDTYPE_PID) |
| 1329 | spin_unlock_irqrestore( & siglock, flags) |
| 1331 | Return ret |
| Name | Describe |
|---|---|
| force_sig_info | |
| force_sig_fault_to_task |
| 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 |