函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:16:12 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kill_something_info() interprets pid in interesting ways just like kill(2).* POSIX specifies that kill(-1,sig) is unspecified, but what we have* is probably wrong. Should make it like BSD or SYSV.
函数原型:static int kill_something_info(int sig, struct kernel_siginfo *info, pid_t pid)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | sig | |
struct kernel_siginfo * | info | |
pid_t | pid |
1555 | 如果pid大于0则 |
1559 | 返回:ret |
1566 | read_lock( & tasklist_lock) |
1567 | 如果pid不等于负1则 |
1570 | 否则 |
1575 | 如果task_pid_vnr(p)大于1且非same_thread_group(p, 当前进程)则 |
1586 | read_unlock( & tasklist_lock) |
1588 | 返回:ret |
名称 | 描述 |
---|---|
SYSCALL_DEFINE2 | sys_kill - send a signal to a process*@pid: the PID of the process*@sig: signal to be sent |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |