函数逻辑报告 |
Source Code:kernel\exit.c |
Create Date:2022-07-27 10:03:35 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:COMPAT_SYSCALL_DEFINE5
函数原型:COMPAT_SYSCALL_DEFINE5(waitid, int, which, compat_pid_t, pid, struct compat_siginfo __user *, infop, int, options, struct compat_rusage __user *, uru)
返回类型:
参数:无
1673 | struct waitid_info info = {status = 0} |
1675 | signo等于0 |
1676 | 如果err大于0则 |
1678 | err等于0 |
1679 | 如果uru则 |
1681 | 如果COMPAT_USE_64BIT_TIME则err等于copy_to_user(uru, & ru, ru的长度) |
1683 | 否则err等于put_compat_rusage( & ru, uru) |
1696 | unsafe_put_user(signo, & si_signo, Efault) |
1697 | unsafe_put_user(0, & si_errno, Efault) |
1698 | unsafe_put_user(cause, & si_code, Efault) |
1699 | unsafe_put_user(pid, & si_pid, Efault) |
1700 | unsafe_put_user(uid, & si_uid, Efault) |
1701 | unsafe_put_user(status, & si_status, Efault) |
1702 | user_access_end() |
1703 | 返回:err |
1704 | Efault : |
1705 | user_access_end() |
1706 | 返回:负EFAULT |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |