函数逻辑报告 | 
Source Code:fs\exec.c | 
Create Date:2022-07-29 10:33:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:During bprm_mm_init(), we create a temporary stack at STACK_TOP_MAX. Once* the binfmt code determines where the new stack should reside, we shift it to* its final location. The process proceeds as follows:* 1) Use shift to calculate the new vma endpoints.
函数原型:static int shift_arg_pages(struct vm_area_struct *vma, unsigned long shift)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | shift | 
| 641 | 如果vma不等于look up the first VMA in which addr resides, NULL if none* - should be called with mm->mmap_sem at least held readlocked则返回:负EFAULT | 
| 647 | 如果vma_adjust(vma, new_start, old_end, Offset (within vm_file) in PAGE_SIZEunits , NULL)则返回:负ENOMEM | 
| 658 | lru_add_drain() | 
| 666 | 否则 | 
| 681 | vma_adjust(vma, new_start, new_end, Offset (within vm_file) in PAGE_SIZEunits , NULL) | 
| 683 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| setup_arg_pages | Finalizes the stack vm_area_struct. The flags and permissions are updated,* the stack is optionally relocated, and some extra space is added. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |