函数逻辑报告 |
Source Code:kernel\auditfilter.c |
Create Date:2022-07-27 12:27:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Common user-space to kernel rule translation.
函数原型:static inline struct audit_entry *audit_to_entry_common(struct audit_rule_data *rule)
返回类型:struct audit_entry
参数:
类型 | 参数 | 名称 |
---|---|---|
struct audit_rule_data * | rule |
244 | 默认 |
245 | 转到:exit_err |
262 | 如果AUDIT_NEVER, AUDIT_POSSIBLE, AUDIT_ALWAYS 不等于Do not build context if rule matches 且AUDIT_NEVER, AUDIT_POSSIBLE, AUDIT_ALWAYS 不等于Generate audit record if rule matches 则转到:exit_err |
264 | 如果field_count大于Rule structure sizes -- if these change, different AUDIT_ADD and* AUDIT_LIST commands must be implemented. 则转到:exit_err |
275 | field_count等于field_count |
277 | 以i小于AUDIT_BITMASK_SIZE循环mask[i]等于syscall(s) affected [i] |
280 | 以i小于AUDIT_SYSCALL_CLASSES循环 |
296 | 返回:entry |
298 | exit_err : |
299 | 返回:错误号 |
名称 | 描述 |
---|---|
audit_data_to_entry | Translate struct audit_rule_data to kernel's rule representation. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |