函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:15:39 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:send_signal
函数原型:static int send_signal(int sig, struct kernel_siginfo *info, struct task_struct *t, enum pid_type type)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | sig | |
struct kernel_siginfo * | info | |
struct task_struct * | t | |
enum pid_type | type |
1207 | bool force = false |
1211 | force等于非task_pid_nr_ns(当前进程, task_active_pid_ns(t)) |
1212 | 否则如果info恒等于SEND_SIG_PRIV则 |
1214 | force = true |
1215 | 否则如果has_si_pid_and_uid(info)则 |
1220 | t_user_ns等于task_cred_xxx(t, user_ns) |
1221 | 如果current_user_ns()不等于t_user_ns则 |
1222 | uid等于make_kuid(current_user_ns(), si_uid) |
1223 | si_uid等于from_kuid_munged(t_user_ns, uid) |
1231 | 如果非task_pid_nr_ns(当前进程, task_active_pid_ns(t))则 |
名称 | 描述 |
---|---|
__group_send_sig_info | |
do_send_sig_info | |
force_sig_info_to_task | Force a signal that the process can't ignore: if necessary* we unblock the signal and change any SIG_IGN to SIG_DFL.* Note: If we unblock the signal, we always reset it to SIG_DFL,* since we do not want to have a signal handler that was blocked |
ptrace_signal | |
kdb_send_sig | kdb_send_sig - Allows kdb to send signals without exposing* signal internals. This function checks if the required locks are* available before calling the main signal code, to avoid kdb* deadlocks. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |