Function report |
Source Code:kernel\signal.c |
Create Date:2022-07-28 09:17:36 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_tkill
Proto:static int do_tkill(pid_t tgid, pid_t pid, int sig)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
pid_t | tgid | |
pid_t | pid | |
int | sig |
3794 | clear_siginfo( & info) |
3796 | si_errno = 0 |
3797 | si_code = sent by tkill system call |
3798 | si_pid = task_tgid_vnr(current process) |
3799 | si_uid = from_kuid_munged(current_user_ns(), current_uid()) |
3801 | Return do_send_specific(tgid, pid, sig, & info) |
Name | Describe |
---|---|
SYSCALL_DEFINE3 | sys_tgkill - send signal to one specific thread*@tgid: the thread group ID of the thread*@pid: the PID of the thread*@sig: signal to be sent* This syscall also checks the @tgid and returns -ESRCH even if the PID |
SYSCALL_DEFINE2 | sys_tkill - send signal to one specific task*@pid: the PID of the task*@sig: signal to be sent* Send a signal to only one task, even if it's a CLONE_THREAD 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 |