Function report |
Source Code:arch\x86\include\asm\uaccess.h |
Create Date:2022-07-28 05:59:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The "unsafe" user accesses aren't really "unsafe", but the naming* is a big fat warning: you have to not only do the access_ok()* checking before using them, but you have to surround them with the* user_access_begin/end() pair.
Proto:static __must_check __always_inline bool user_access_begin(const void __user *ptr, size_t len)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void __user * | ptr | |
| size_t | len |
| 716 | __uaccess_begin_nospec() |
| 717 | Return 1 |
| Name | Describe |
|---|---|
| check_zeroed_user | heck_zeroed_user: check if a userspace buffer only contains zero bytes*@from: Source address, in userspace |
| strncpy_from_user | Copy a NUL terminated string from userspace |
| strnlen_user | Get the size of a string in user space |
| SYSCALL_DEFINE5 | |
| COMPAT_SYSCALL_DEFINE5 | |
| compat_get_bitmap | |
| compat_put_bitmap | |
| filldir | |
| filldir64 |
| 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 |