函数逻辑报告 |
Source Code:fs\notify\fanotify\fanotify.c |
Create Date:2022-07-29 10:49:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Wait for response to permission event
函数原型:static int fanotify_get_response(struct fsnotify_group *group, struct fanotify_perm_event *event, struct fsnotify_iter_info *iter_info)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct fsnotify_group * | group | |
| struct fanotify_perm_event * | event | |
| struct fsnotify_iter_info * | iter_info |
| 98 | 如果ret小于0则 |
| 99 | 加自旋锁 |
| 101 | 如果state of the event 恒等于FAN_EVENT_REPORTED则 |
| 108 | 如果state of the event 恒等于FAN_EVENT_INIT则fsnotify_remove_queued_event(group, & fse) |
| 115 | 自旋锁解锁 |
| 116 | 转到:out |
| 121 | 当: & == Legit userspace responses to a _PERM event |
| 125 | 默认 |
| 130 | 如果userspace answer to the event 按位与Bit mask to create audit record for result 则audit_fanotify(userspace answer to the event & ~Bit mask to create audit record for result ) |
| 135 | out : |
| 136 | fsnotify_destroy_event(group, & fse) |
| 138 | 返回:ret |
| 名称 | 描述 |
|---|---|
| fanotify_handle_event |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |