Function report |
Source Code:kernel\umh.c |
Create Date:2022-07-28 09:22:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:all_usermodehelper_setup - prepare to call a usermode helper*@path: path to usermode executable*@argv: arg vector for process*@envp: environment for process*@gfp_mask: gfp mask for memory allocation*@cleanup: a cleanup function*@init: an init
Proto:struct subprocess_info *call_usermodehelper_setup(const char *path, char **argv, char **envp, gfp_t gfp_mask, int (*init)(struct subprocess_info *info, struct cred *new), void (*cleanup)(struct subprocess_info *info), void *data)
Type:struct subprocess_info
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | path | |
| char ** | argv | |
| char ** | envp | |
| gfp_t | gfp_mask | |
| int (* | init | |
| void (* | cleanup | |
| void * | data |
| 386 | sub_info = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 403 | out : |
| 404 | Return sub_info |
| Name | Describe |
|---|---|
| call_usermodehelper | all_usermodehelper() - prepare and start a usermode application*@path: path to usermode executable*@argv: arg vector for process*@envp: environment for process*@wait: wait for the application to finish and return status |
| call_modprobe |
| 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 |