函数逻辑报告 |
Source Code:fs\notify\fanotify\fanotify_user.c |
Create Date:2022-07-29 10:50:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:process_access_response
函数原型:static int process_access_response(struct fsnotify_group *group, struct fanotify_response *response_struct)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct fsnotify_group * | group | |
| struct fanotify_response * | response_struct |
| 178 | 当: & == Legit userspace responses to a _PERM event |
| 180 | 退出 |
| 181 | 默认 |
| 182 | 返回:负EINVAL |
| 188 | 如果response按位与Bit mask to create audit record for result 且非FAN_GROUP_FLAG(group, FAN_ENABLE_AUDIT)则返回:负EINVAL |
| 191 | 加自旋锁 |
| 194 | 如果d we passed to userspace for this event 不等于fd则继续下一循环 |
| 197 | 删除链表项并重新初始化 |
| 199 | wake_up( & access_waitq) |
| 200 | 返回:0 |
| 202 | 自旋锁解锁 |
| 204 | 返回:负ENOENT |
| 名称 | 描述 |
|---|---|
| fanotify_write |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |