Function report |
Source Code:kernel\sysctl_binary.c |
Create Date:2022-07-28 09:12:16 |
| Last Modify:2020-03-17 13:22:06 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE1
Proto:SYSCALL_DEFINE1(sysctl, struct __sysctl_args __user *, args)
Type:
Parameter:Nothing
| 100 | oldlen = 0 |
| 103 | If copy_from_user( & tmp, args, size of tmp ) Then Return -EFAULT |
| 109 | If oldlenp && Get a simple variable from user space(oldlen, oldlenp) Then Return -EFAULT |
| 115 | If result >= 0 Then |
| 120 | If oldlenp && Write a simple value into user space(oldlen, oldlenp) Then Return -EFAULT |
| 123 | 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 |