Function report | 
Source Code:security\keys\user_defined.c | 
Create Date:2022-07-28 18:24:45 | 
| Last Modify:2020-03-18 08:02:01 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ad the key data* - the key's semaphore is read-locked
Proto:long user_read(const struct key *key, char __user *buffer, size_t buflen)
Type:long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct key * | key | |
| char __user * | buffer | |
| size_t | buflen | 
| 176 | upayload = user_key_payload_locked(key) | 
| 177 | ret = length of this data | 
| 181 | If buflen > length of this data Then buflen = length of this data | 
| 184 | If copy_to_user(buffer, actual data , buflen) != 0 Then ret = -EFAULT | 
| 188 | Return ret | 
| 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  |