函数逻辑报告 |
Source Code:fs\namei.c |
Create Date:2022-07-29 10:35:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:may_open
函数原型:static int may_open(const struct path *path, int acc_mode, int flag)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct path * | path | |
| int | acc_mode | |
| int | flag |
| 2901 | 返回:负ELOOP |
| 2908 | 如果非may_open_dev(path)则返回:负EACCES |
| 2932 | 如果flag按位与O_NOATIME且非inode_owner_or_capable(inode)则返回:负EPERM |
| 2935 | 返回:0 |
| 名称 | 描述 |
|---|---|
| atomic_open | Attempt to atomically look up, create and open a file from a negative* dentry |
| do_last | Handle the last step of open() |
| do_tmpfile |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |