Function report |
Source Code:fs\open.c |
Create Date:2022-07-28 20:00:59 |
| Last Modify:2020-03-18 10:16:03 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_sys_open
Proto:long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | dfd | |
| const char __user * | filename | |
| int | flags | |
| umode_t | mode |
| 1085 | fd = build_open_flags(flags, mode, & op) |
| 1095 | fd = get_unused_fd_flags(flags) |
| 1096 | If fd >= 0 Then |
| 1107 | Return fd |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE3 | |
| SYSCALL_DEFINE4 | |
| COMPAT_SYSCALL_DEFINE3 | Exactly like sys_open(), except that it doesn't set the* O_LARGEFILE flag. |
| COMPAT_SYSCALL_DEFINE4 | Exactly like sys_openat(), except that it doesn't set the* O_LARGEFILE flag. |
| ksys_open |
| 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 |