函数逻辑报告 | 
Source Code:ipc\syscall.c | 
Create Date:2022-07-27 18:24:15 | 
| Last Modify:2020-03-17 22:59:43 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:ksys_ipc
函数原型:int ksys_ipc(unsigned int call, int first, unsigned long second, unsigned long third, void __user *ptr, long fifth)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned int | call | |
| int | first | |
| unsigned long | second | |
| unsigned long | third | |
| void __user * | ptr | |
| long | fifth | 
| 26 | call与等于0xffff | 
| 32 | 当:call恒等于SEMTIMEDOP | 
| 33 | 如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_64BIT)则返回:ksys_semtimedop(first, ptr, second, (conststruct__kernel_timespec__user * )fifth) | 
| 39 | 否则返回:负ENOSYS | 
| 43 | 返回:ksys_semget(first, second, third) | 
| 48 | 如果Careful: we have to cast the result to the type of the pointer* for sign reasons(arg, (unsignedlong__user * )ptr)则返回:负EFAULT | 
| 50 | 返回:ksys_old_semctl(first, second, third, arg) | 
| 63 | 如果copy_from_user( & tmp, (structipc_kludge__user * )ptr, tmp的长度)则返回:负EFAULT | 
| 70 | 默认 | 
| 76 | 返回:ksys_msgget((key_t)first, second) | 
| 83 | 默认 | 
| 89 | 返回:put_user - Write a simple value into user space(raddr, (unsignedlong__user * )third) | 
| 96 | 返回:负EINVAL | 
| 101 | 返回:ksys_shmget(first, second, third) | 
| 105 | 默认 | 
| 106 | 返回:负ENOSYS | 
| 名称 | 描述 | 
|---|---|
| SYSCALL_DEFINE6 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |