函数逻辑报告 |
Source Code:fs\notify\fanotify\fanotify_user.c |
Create Date:2022-07-29 10:50:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:fanotify_find_path
函数原型:static int fanotify_find_path(int dfd, const char __user *filename, struct path *path, unsigned int flags, __u64 mask, unsigned int obj_type)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | dfd | |
| const char __user * | filename | |
| struct path * | path | |
| unsigned int | flags | |
| __u64 | mask | |
| unsigned int | obj_type |
| 539 | 如果(filename == NULL)则 |
| 547 | 如果flags按位与FAN_MARK_ONLYDIR且非S_ISDIR(i_mode)则 |
| 556 | 否则 |
| 557 | lookup_flags等于0 |
| 559 | 如果非flags按位与FAN_MARK_DONT_FOLLOW的值则lookup_flags或等于llow links at the end |
| 561 | 如果flags按位与FAN_MARK_ONLYDIR则lookup_flags或等于quire a directory |
| 564 | ret等于user_path_at(dfd, filename, lookup_flags, path) |
| 571 | 如果ret则 |
| 573 | 转到:out |
| 576 | ret等于security_path_notify(path, mask, obj_type) |
| 577 | 如果ret则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 | 返回:ret |
| 名称 | 描述 |
|---|---|
| do_fanotify_mark |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |