函数逻辑报告 |
Source Code:fs\file.c |
Create Date:2022-07-29 10:38:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_close_on_exec
函数原型:void do_close_on_exec(struct files_struct *files)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct files_struct * | files |
| 679 | 加自旋锁 |
| 680 | 循环 |
| 682 | fd等于i乘BITS_PER_LONG |
| 683 | fdt等于files_fdtable(files) |
| 686 | set等于close_on_exec[i] |
| 687 | 如果非set则继续下一循环 |
| 689 | close_on_exec[i]等于0 |
| 692 | 如果非set按位与1的值则继续下一循环 |
| 694 | file等于 current fd array [fd] |
| 695 | 如果非file则继续下一循环 |
| 698 | __put_unused_fd(files, fd) |
| 699 | 自旋锁解锁 |
| 701 | cond_resched() |
| 702 | 加自旋锁 |
| 706 | 自旋锁解锁 |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |