Function report |
Source Code:kernel\exit.c |
Create Date:2022-07-28 09:03:45 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE5
Proto:SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, infop, int, options, struct rusage __user *, ru)
Type:
Parameter:Nothing
1553 | struct waitid_info info = {status = 0} |
1555 | signo = 0 |
1557 | If err > 0 Then |
1559 | err = 0 |
1569 | unsafe_put_user(signo, & si_signo, Efault) |
1570 | unsafe_put_user(0, & si_errno, Efault) |
1571 | unsafe_put_user(cause, & si_code, Efault) |
1572 | unsafe_put_user(pid, & si_pid, Efault) |
1573 | unsafe_put_user(uid, & si_uid, Efault) |
1574 | unsafe_put_user(status, & si_status, Efault) |
1575 | user_access_end() |
1576 | Return err |
1577 | Efault : |
1578 | user_access_end() |
1579 | 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 |