函数逻辑报告 |
Source Code:kernel\audit_fsnotify.c |
Create Date:2022-07-27 12:33:14 |
Last Modify:2020-03-17 18:09:23 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Update mark data in audit rules based on fsnotify events.
函数原型:static int audit_mark_handle_event(struct fsnotify_group *group, struct inode *to_tell, unsigned int mask, const void *data, int data_type, const struct qstr *dname, unsigned int cookie, struct fsnotify_iter_info *iter_info)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fsnotify_group * | group | |
struct inode * | to_tell | |
unsigned int | mask | |
const void * | data | |
int | data_type | |
const struct qstr * | dname | |
unsigned int | cookie | |
struct fsnotify_iter_info * | iter_info |
167 | BUG_ON(group != snotify handle. ) |
170 | 当:data_type恒等于FSNOTIFY_EVENT_PATH |
173 | 当:data_type恒等于FSNOTIFY_EVENT_INODE |
176 | 默认 |
177 | BUG() |
178 | 返回:0 |
181 | 如果mask按位与Subfile was created 按位或File was moved to Y 按位或Subfile was deleted 按位或File was moved from X 的值则 |
184 | audit_update_mark(audit_mark, inode) |
185 | 否则如果mask按位与Self was deleted 按位或de on umount fs 按位或Self was moved 的值则audit_autoremove_mark_rule(audit_mark) |
188 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |