Function report |
Source Code:fs\file.c |
Create Date:2022-07-28 20:08:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We only lock f_pos if we have threads or if the file might be* shared with another process. In both cases we'll have an elevated* file count (done either by fdget() or by fork()).
Proto:void set_close_on_exec(unsigned int fd, int flag)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | fd | |
| int | flag |
| 823 | fdt = files_fdtable(files) |
| 824 | If flag Then __set_close_on_exec(fd, fdt) |
| 826 | Else __clear_close_on_exec(fd, fdt) |
| Name | Describe |
|---|---|
| do_vfs_ioctl | When you add any new common ioctls to the switches above and below* please update compat_sys_ioctl() too.* do_vfs_ioctl() is not for drivers and not intended to be EXPORT_SYMBOL()'d.* It's just a simple helper for sys_ioctl and compat_sys_ioctl. |
| 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 |