函数逻辑报告 | 
Source Code:kernel\umh.c | 
Create Date:2022-07-27 10:22:57 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:all_usermodehelper_exec - start a usermode application*@sub_info: information about the subprocessa*@wait: wait for the application to finish and return status.* when UMH_NO_WAIT don't wait at all, but you get no useful error back
函数原型:int call_usermodehelper_exec(struct subprocess_info *sub_info, int wait)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct subprocess_info * | sub_info | |
| int | wait | 
| 550 | Lockdep needs to run a non-constant initializer for on-stack* completions - so we use the _ONSTACK() variant for those that* are on the kernel stack:(done) | 
| 551 | retval等于0 | 
| 553 | 如果非path则 | 
| 555 | 返回:负EINVAL | 
| 557 | helper_lock() | 
| 576 | complete等于如果wait恒等于don't wait at all 则NULL否则done | 
| 580 | 如果wait恒等于don't wait at all 则转到:unlock | 
| 583 | 如果wait按位与wait for EXEC/PROC killable 则 | 
| 584 | retval等于wait_for_completion_killable( & done) | 
| 594 | wait_for_completion( & done) | 
| 595 | wait_done : | 
| 597 | out : | 
| 599 | unlock : | 
| 600 | helper_unlock() | 
| 601 | 返回:retval | 
| 名称 | 描述 | 
|---|---|
| fork_usermode_blob | rk_usermode_blob - fork a blob of bytes as a usermode process*@data: a blob of bytes that can be do_execv-ed as a file*@len: length of the blob*@info: information about usermode process (shouldn't be NULL)* If info->cmdline is set it will be used as | 
| 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 | |
| handle_initrd | |
| call_usermodehelper_keys | Call a usermode helper with a specific session keyring. | 
| do_coredump | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |