函数逻辑报告 |
Source Code:kernel\exit.c |
Create Date:2022-07-27 10:03:29 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kernel_wait4
函数原型:long kernel_wait4(pid_t upid, int __user *stat_addr, int options, struct rusage *ru)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
pid_t | upid | |
int __user * | stat_addr | |
int | options | |
struct rusage * | ru |
1600 | 否则如果upid小于0则 |
1603 | 否则如果upid恒等于0则 |
1606 | 否则 |
1614 | wo_info = NULL |
1615 | wo_stat等于0 |
1619 | 如果ret大于0且stat_addr且put_user - Write a simple value into user space(wo_stat, stat_addr)则ret等于负EFAULT |
1622 | 返回:ret |
名称 | 描述 |
---|---|
SYSCALL_DEFINE4 | |
SYSCALL_DEFINE3 | sys_waitpid() remains for compatibility. waitpid() should be* implemented by calling sys_wait4() from libc.a. |
COMPAT_SYSCALL_DEFINE4 | |
call_usermodehelper_exec_sync | Handles UMH_WAIT_PROC. |
zap_pid_ns_processes |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |