Function report |
Source Code:fs\exec.c |
Create Date:2022-07-28 20:04:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Fill the binprm structure from the inode.* Check permissions, then read the first BINPRM_BUF_SIZE bytes* This may be called multiple times for binary chains (scripts for example).
Proto:int prepare_binprm(struct linux_binprm *bprm)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct linux_binprm * | bprm |
| 1574 | pos = 0 |
| 1576 | bprm_fill_uid(bprm) |
| 1579 | retval = security_bprm_set_creds(bprm) |
| 1582 | called_set_creds = 1 |
| 1584 | memset(buf, 0, sizeof(linux_binprm->buf) ) |
| 1585 | Return kernel_read(file, buf, sizeof(linux_binprm->buf) , & pos) |
| Name | Describe |
|---|---|
| __do_execve_file | sys_execve() executes a new program. |
| load_em86 | |
| load_misc_binary | he loader itself |
| load_script |
| 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 |