函数逻辑报告 |
Source Code:kernel\auditsc.c |
Create Date:2022-07-27 12:31:44 |
Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:audit_signal_info_syscall - record signal info for syscalls*@t: task being signaled* If the audit subsystem is being terminated, record the task (pid)* and uid that is doing that.
函数原型:int audit_signal_info_syscall(struct task_struct *t)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | t |
2389 | ctx等于audit_context() |
2397 | 如果非target_pid则 |
2398 | target_pid等于task_tgid_nr(t) |
2399 | target_auid等于audit_get_loginuid(t) |
2400 | target_uid等于t_uid |
2401 | target_sessionid等于audit_get_sessionid(t) |
2402 | security_task_getsecid(t, & target_sid) |
2403 | 内存复制(target_comm, 是否使用FPU, Task command name length: ) |
2404 | 返回:0 |
2408 | 如果非axp或pid_count恒等于Number of target pids per aux struct. 则 |
2413 | type等于ptrace target |
2419 | target_pid[pid_count]等于task_tgid_nr(t) |
2420 | target_auid[pid_count]等于audit_get_loginuid(t) |
2421 | target_uid[pid_count]等于t_uid |
2423 | security_task_getsecid(t, & target_sid[pid_count]) |
2424 | 内存复制(target_comm[pid_count], 是否使用FPU, Task command name length: ) |
2425 | pid_count自加 |
2427 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |