函数逻辑报告 |
Source Code:kernel\audit.c |
Create Date:2022-07-27 12:26:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:audit_log_task_context
函数原型:int audit_log_task_context(struct audit_buffer *ab)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct audit_buffer * | ab |
| 2061 | char * ctx = NULL |
| 2066 | security_task_getsecid(当前进程, & sid) |
| 2067 | 如果非sid则返回:0 |
| 2070 | error等于security_secid_to_secctx(sid, & ctx, & len) |
| 2071 | 如果error则 |
| 2072 | 如果error不等于负EINVAL则转到:error_path |
| 2074 | 返回:0 |
| 2077 | 写入审计信息 |
| 2078 | security_release_secctx(ctx, len) |
| 2079 | 返回:0 |
| 2081 | error_path : |
| 2082 | audit_panic("error in audit_log_task_context") |
| 2083 | 返回:error |
| 名称 | 描述 |
|---|---|
| audit_log_config_change | |
| audit_log_common_recv_msg | |
| audit_log_task_info | |
| audit_log_set_loginuid | |
| audit_log_rule_change | Log rule additions and removals |
| audit_log_task | |
| integrity_audit_msg |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |