函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:17:32 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_tkill
函数原型:static int do_tkill(pid_t tgid, pid_t pid, int sig)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
pid_t | tgid | |
pid_t | pid | |
int | sig |
3794 | clear_siginfo( & info) |
3796 | si_errno等于0 |
3798 | si_pid等于task_tgid_vnr(当前进程) |
3799 | si_uid等于from_kuid_munged(current_user_ns(), current_uid()) |
3801 | 返回:do_send_specific(tgid, pid, sig, & info) |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |