Function report | 
Source Code:fs\binfmt_aout.c | 
Create Date:2022-07-28 20:27:18 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:load_aout_library
Proto:static int load_aout_library(struct file *file)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | 
| 263 | pos = 0 | 
| 265 | inode = file_inode(file) | 
| 276 | Go to out | 
| 292 | start_addr = start address & 0xfffff000 | 
| 295 | If printk_ratelimit() Then | 
| 301 | retval = vm_brk(start_addr, length of text, in bytes + length of data, in bytes + length of uninitialized data area for file, in bytes ) | 
| 307 | retval = 0 | 
| 308 | Go to out | 
| 316 | If error != start_addr Then Go to out | 
| 319 | len = align the pointer to the (next) page boundary ( length of text, in bytes + length of data, in bytes ) | 
| 320 | bss = length of text, in bytes + length of data, in bytes + length of uninitialized data area for file, in bytes | 
| 326 | retval = 0 | 
| 327 | out : | 
| 328 | Return retval | 
| 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  |