函数逻辑报告 | 
Source Code:fs\exec.c | 
Create Date:2022-07-29 10:33:46 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:The nascent bprm->mm is not visible until exec_mmap() but it can* use a lot of memory, account these pages in current->mm temporary* for oom_badness()->get_mm_rss(). Once exec succeeds or fails, we* change the counter back via acct_arg_size(0).
函数原型:static void acct_arg_size(struct linux_binprm *bprm, unsigned long pages)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct linux_binprm * | bprm | |
| unsigned long | pages | 
| 191 | add_mm_counter(mm, MM_ANONPAGES, diff) | 
| 名称 | 描述 | 
|---|---|
| get_arg_page | |
| 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 | 
| __do_execve_file | sys_execve() executes a new program. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |