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