Function report |
Source Code:kernel\exit.c |
Create Date:2022-07-28 09:03:54 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:COMPAT_SYSCALL_DEFINE5
Proto:COMPAT_SYSCALL_DEFINE5(waitid, int, which, compat_pid_t, pid, struct compat_siginfo __user *, infop, int, options, struct compat_rusage __user *, uru)
Type:
Parameter:Nothing
1673 | struct waitid_info info = {status = 0} |
1675 | signo = 0 |
1676 | If err > 0 Then |
1678 | err = 0 |
1679 | If uru Then |
1681 | If COMPAT_USE_64BIT_TIME Then err = copy_to_user(uru, & ru, size of ru ) |
1683 | Else 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 | Return err |
1704 | Efault : |
1705 | user_access_end() |
1706 | Return -EFAULT |
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 |