Function report |
Source Code:kernel\sysctl_binary.c |
Create Date:2022-07-28 09:12:18 |
Last Modify:2020-03-17 13:22:06 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:COMPAT_SYSCALL_DEFINE1
Proto:COMPAT_SYSCALL_DEFINE1(sysctl, struct compat_sysctl_args __user *, args)
Type:
Parameter:Nothing
142 | __user * compat_oldlenp |
143 | oldlen = 0 |
146 | If copy_from_user( & tmp, args, size of tmp ) Then Return -EFAULT |
153 | If compat_oldlenp && Get a simple variable from user space(oldlen, compat_oldlenp) Then Return -EFAULT |
160 | If result >= 0 Then |
165 | If compat_oldlenp && Write a simple value into user space(oldlen, compat_oldlenp) Then Return -EFAULT |
168 | Return result |
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 |