函数逻辑报告 |
Source Code:kernel\sys.c |
Create Date:2022-07-27 10:20:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Work around broken programs that cannot handle "Linux 3.0".* Instead we map 3.x to 2.6.40+x, so e.g. 3.0 would be 2.6.40* And we map 4.x and later versions to 2.6.60+x, so 4.0/5.0/6.0/... would be* 2.6.60.
函数原型:static int override_release(char __user *release, size_t len)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char __user * | release | |
size_t | len |
1215 | ret等于0 |
1217 | 如果personality按位与UNAME26则 |
1218 | rest等于UTS_RELEASE |
1219 | char buf[65] = {0} |
1220 | ndots等于0 |
1231 | v等于LINUX_VERSION_CODE右移8位按位与0xff的值加60 |
1234 | ret等于copy_to_user(release, buf, copy + 1) |
1236 | 返回:ret |
名称 | 描述 |
---|---|
SYSCALL_DEFINE1 | |
SYSCALL_DEFINE1 | Old cruft |
SYSCALL_DEFINE1 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |