Function report |
Source Code:kernel\sys.c |
Create Date:2022-07-28 09:20:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static int override_release(char __user *release, size_t len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char __user * | release | |
size_t | len |
1215 | ret = 0 |
1217 | If personality & UNAME26 Then |
1218 | rest = UTS_RELEASE |
1219 | char buf[65] = {0} |
1220 | ndots = 0 |
1229 | rest++ |
1231 | v = ( LINUX_VERSION_CODE >> 8 & 0xff) + 60 |
1234 | ret = copy_to_user(release, buf, copy + 1) |
1236 | Return ret |
Name | Describe |
---|---|
SYSCALL_DEFINE1 | |
SYSCALL_DEFINE1 | Old cruft |
SYSCALL_DEFINE1 |
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 |