Function report |
Source Code:fs\notify\fanotify\fanotify_user.c |
Create Date:2022-07-28 20:18:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fanotify_find_path
Proto:static int fanotify_find_path(int dfd, const char __user *filename, struct path *path, unsigned int flags, __u64 mask, unsigned int obj_type)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | dfd | |
| const char __user * | filename | |
| struct path * | path | |
| unsigned int | flags | |
| __u64 | mask | |
| unsigned int | obj_type |
| 539 | If (filename == NULL) Then |
| 547 | If flags & FAN_MARK_ONLYDIR && Not S_ISDIR(i_mode) Then |
| 556 | Else |
| 557 | lookup_flags = 0 |
| 559 | If Not (flags & FAN_MARK_DONT_FOLLOW) Then lookup_flags |= llow links at the end |
| 561 | If flags & FAN_MARK_ONLYDIR Then lookup_flags |= quire a directory |
| 564 | ret = user_path_at(dfd, filename, lookup_flags, path) |
| 571 | If ret Then |
| 573 | Go to out |
| 576 | ret = security_path_notify(path, mask, obj_type) |
| 577 | If ret Then path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount. |
| 580 | out : |
| 581 | Return ret |
| Name | Describe |
|---|---|
| do_fanotify_mark |
| 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 |