Function report |
Source Code:fs\exec.c |
Create Date:2022-07-28 20:03:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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).
Proto:static void acct_arg_size(struct linux_binprm *bprm, unsigned long pages)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct linux_binprm * | bprm | |
| unsigned long | pages |
| 191 | add_mm_counter(mm, MM_ANONPAGES, diff) |
| Name | Describe |
|---|---|
| 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. |
| 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 |