Function report | 
Source Code:kernel\signal.c | 
Create Date:2022-07-28 09:17:29 | 
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:prepare_kill_siginfo
Proto:static inline void prepare_kill_siginfo(int sig, struct kernel_siginfo *info)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | sig | |
| struct kernel_siginfo * | info | 
| 3621 | clear_siginfo(info) | 
| 3623 | si_errno = 0 | 
| 3625 | si_pid = task_tgid_vnr(current process) | 
| 3626 | si_uid = from_kuid_munged(current_user_ns(), current_uid()) | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE2 | sys_kill - send a signal to a process*@pid: the PID of the process*@sig: signal to be sent | 
| SYSCALL_DEFINE4 | sys_pidfd_send_signal - Signal a process through a pidfd*@pidfd: file descriptor of the process*@sig: signal to send*@info: signal info*@flags: future flags* The syscall currently only signals via PIDTYPE_PID which covers* kill( | 
| 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  |