Function report |
Source Code:security\keys\big_key.c |
Create Date:2022-07-28 18:28:43 |
| Last Modify:2020-03-12 14:18:49 | 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 big_key_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 |
| 357 | datalen = data[big_key_len] |
| 365 | struct path * path = (struct path * ) & data[big_key_path] |
| 367 | enckey = data[big_key_data] |
| 368 | enclen = datalen + Authentication tag length |
| 369 | pos = 0 |
| 398 | err_fput : |
| 400 | error : |
| 402 | Else |
| 404 | If copy_to_user(buffer, data[big_key_data], datalen) != 0 Then ret = -EFAULT |
| 409 | 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 |