函数逻辑报告 |
Source Code:fs\exec.c |
Create Date:2022-07-29 10:33:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_open_execat
函数原型:static struct file *do_open_execat(int fd, struct filename *name, int flags)
返回类型:struct file
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | fd | |
| struct filename * | name | |
| int | flags |
| 842 | struct open_flags open_exec_flags = {open_flag = O_LARGEFILE | O_RDONLY | __FMODE_EXEC, acc_mode = MAY_EXEC, intent = ... in open , lookup_flags = llow links at the end , } |
| 849 | 如果flags按位与Do not follow symbolic links. 按位或Allow empty relative pathname 的值的反的值不等于0则返回:错误号 |
| 851 | 如果flags按位与Do not follow symbolic links. 则lookup_flags与等于llow links at the end 的反 |
| 856 | file等于do_filp_open(fd, name, & open_exec_flags) |
| 864 | 如果path_noexec( & f_path)则转到:exit |
| 867 | err等于deny_write_access(file) |
| 871 | 如果 pointer to actual string [0]不等于'\0'则snotify_open - file was opened |
| 874 | out : |
| 875 | 返回:file |
| 877 | exit : |
| 879 | 返回:错误号 |
| 名称 | 描述 |
|---|---|
| open_exec | |
| __do_execve_file | sys_execve() executes a new program. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |