Function report |
Source Code:fs\notify\fanotify\fanotify_user.c |
Create Date:2022-07-28 20:18:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:process_access_response
Proto:static int process_access_response(struct fsnotify_group *group, struct fanotify_response *response_struct)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct fsnotify_group * | group | |
struct fanotify_response * | response_struct |
178 | Case & == Legit userspace responses to a _PERM event |
179 | Case & == FAN_DENY |
180 | Break |
181 | Default |
182 | Return -EINVAL |
188 | If response & Bit mask to create audit record for result && Not FAN_GROUP_FLAG(group, FAN_ENABLE_AUDIT) Then Return -EINVAL |
191 | spin_lock( & protect the notification_list ) |
194 | If d we passed to userspace for this event != fd Then Continue |
199 | wake_up( & access_waitq) |
200 | Return 0 |
202 | spin_unlock( & protect the notification_list ) |
204 | Return -ENOENT |
Name | Describe |
---|---|
fanotify_write |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |