函数逻辑报告 |
Source Code:kernel\sysctl_binary.c |
Create Date:2022-07-27 10:12:10 |
Last Modify:2020-03-17 13:22:06 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:COMPAT_SYSCALL_DEFINE1
函数原型:COMPAT_SYSCALL_DEFINE1(sysctl, struct compat_sysctl_args __user *, args)
返回类型:
参数:无
142 | __user乘compat_oldlenp |
143 | oldlen等于0 |
146 | 如果copy_from_user( & tmp, args, tmp的长度)则返回:负EFAULT |
153 | 如果compat_oldlenp且Careful: we have to cast the result to the type of the pointer* for sign reasons(oldlen, compat_oldlenp)则返回:负EFAULT |
160 | 如果result大于等于0则 |
165 | 如果compat_oldlenp且put_user - Write a simple value into user space(oldlen, compat_oldlenp)则返回:负EFAULT |
168 | 返回:result |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |