Function report | 
Source Code:kernel\signal.c | 
Create Date:2022-07-28 09:15:28 | 
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Bad permissions for sending the signal* - the caller must hold the RCU read lock
Proto:static int check_kill_permission(int sig, struct kernel_siginfo *info, struct task_struct *t)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | sig | |
| struct kernel_siginfo * | info | |
| struct task_struct * | t | 
| 828 | If Not Test if 'sig' is valid signal. Use this instead of testing _NSIG directly Then Return -EINVAL | 
| 831 | If Not si_fromuser(info) Then Return 0 | 
| 834 | error = audit_signal_info(sig, t) | 
| 838 | If Not same_thread_group(current process, t) && Not alled with RCU read lock from check_kill_permission() Then | 
| 842 | sid = task_session(t) | 
| 847 | If Not sid || sid == task_session(current process) Then Break | 
| 850 | Default | 
| 851 | Return -EPERM | 
| 855 | Return security_task_kill(t, info, sig, NULL) | 
| Name | Describe | 
|---|---|
| group_send_sig_info | send signal info to all the members of a group | 
| do_send_specific | 
| 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  |