函数逻辑报告 |
Source Code:kernel\futex.c |
Create Date:2022-07-27 11:55:03 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sys_get_robust_list() - Get the robust-futex list head of a task*@pid: pid of the process [zero for current task]*@head_ptr: pointer to a list-head pointer, the kernel fills it in*@len_ptr: pointer to a length field, the kernel fills in the header size
函数原型:SYSCALL_DEFINE3(get_robust_list, int, pid, struct robust_list_head __user *__user *, head_ptr, size_t __user *, len_ptr)
返回类型:
参数:无
3511 | 如果非futex_cmpxchg_enabled则返回:负ENOSYS |
3519 | 否则 |
3520 | p等于find_task_by_vpid(pid) |
3521 | 如果非p则转到:err_unlock |
3526 | 如果非ptrace_may_access(p, PTRACE_MODE_READ_REALCREDS)则转到:err_unlock |
3529 | head等于robust_list |
3532 | 如果put_user - Write a simple value into user space(head的长度, len_ptr)则返回:负EFAULT |
3536 | err_unlock : |
3539 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |