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:do_close_on_exec
Proto:void do_close_on_exec(struct files_struct *files)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct files_struct * | files |
| 680 | cycle |
| 682 | fd = i * BITS_PER_LONG |
| 683 | fdt = files_fdtable(files) |
| 686 | set = close_on_exec[i] |
| 687 | If Not set Then Continue |
| 689 | close_on_exec[i] = 0 |
| 692 | If Not (set & 1) Then Continue |
| 694 | file = current fd array [fd] |
| 695 | If Not file Then Continue |
| 698 | __put_unused_fd(files, fd) |
| 701 | cond_resched() |
| Name | Describe |
|---|---|
| flush_old_exec | Calling this is the point of no return. None of the failures will be* seen by userspace since either the process is already taking a fatal* signal (via de_thread() or coredump), or will have SEGV raised |
| 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 |