函数逻辑报告 | 
Source Code:kernel\auditsc.c | 
Create Date:2022-07-27 12:31:07 | 
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:__audit_syscall_exit - deallocate audit context after a system call*@success: success value of the syscall*@return_code: return value of the syscall* Tear down after system call
函数原型:void __audit_syscall_exit(int success, long return_code)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | success | |
| long | return_code | 
| 1678 | context等于audit_context() | 
| 1679 | 如果非context则返回 | 
| 1682 | 如果非链表为空则audit_kill_trees(context) | 
| 1686 | 如果success则返回值等于AUDITSC_SUCCESS | 
| 1688 | 否则返回值等于AUDITSC_FAILURE | 
| 1706 | 否则返回码等于return_code | 
| 1712 | 如果当前状态恒等于全程审计则audit_log_exit() | 
| 1716 | 是系统调用等于0 | 
| 1719 | audit_free_module(context) | 
| 1720 | audit_free_names(context) | 
| 1721 | unroll_tree_refs(context, NULL, 0) | 
| 1722 | audit_free_aux(context) | 
| 1723 | 审计数据 = NULL | 
| 1724 | aux_pids = NULL | 
| 1725 | target_pid等于0 | 
| 1726 | target_sid等于0 | 
| 1727 | sockaddr_len等于0 | 
| 1728 | type等于0 | 
| 1729 | fds[0]等于负1 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |