Function report |
Source Code:kernel\futex.c |
Create Date:2022-07-28 10:55:20 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:COMPAT_SYSCALL_DEFINE3
Proto:COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, compat_uptr_t __user *, head_ptr, compat_size_t __user *, len_ptr)
Type:
Parameter:Nothing
4072 | If Not futex_cmpxchg_enabled Then Return -ENOSYS |
4078 | If (!pid) Then p = current process |
4080 | Else |
4081 | p = find_task_by_vpid(pid) |
4082 | If Not p Then Go to err_unlock |
4087 | If Not ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS) Then Go to err_unlock |
4090 | head = compat_robust_list |
4093 | If Write a simple value into user space( size of head , len_ptr) Then Return -EFAULT |
4095 | Return Write a simple value into user space(ptr_to_compat(head), head_ptr) |
4097 | err_unlock : |
4100 | Return ret |
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 |