Function report |
Source Code:mm\maccess.c |
Create Date:2022-07-28 14:07:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:strncpy_from_unsafe_user: - Copy a NUL terminated string from unsafe user* address.*@dst: Destination address, in kernel space. This buffer must be at* least @count bytes long.*@unsafe_addr: Unsafe user address.
Proto:long strncpy_from_unsafe_user(char *dst, const void __user *unsafe_addr, long count)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
char * | dst | |
const void __user * | unsafe_addr | |
long | count |
231 | If Value for the false possibility is greater at compile time(count <= 0) Then Return 0 |
237 | pagefault_enable() |
243 | Else if ret > 0 Then |
244 | ret++ |
247 | Return ret |
Name | Describe |
---|---|
fetch_store_string_user | Fetch a null-terminated string from user. Caller MUST set *(u32 *)buf* with max length and relative data location. |
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 |