Function report |
Source Code:security\keys\keyctl.c |
Create Date:2022-07-28 18:20:43 |
Last Modify:2020-03-18 07:59:52 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Read or set the default keyring in which request_key() will cache keys and* return the old setting.* If a thread or process keyring is specified then it will be created if it* doesn't yet exist. The old setting will be returned if successful.
Proto:long keyctl_set_reqkey_keyring(int reqkey_defl)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
int | reqkey_defl |
1325 | old_setting = current_cred_xxx(jit_keyring) |
1327 | If reqkey_defl == quest-key default keyrings Then Return old_setting |
1330 | new = prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification |
1335 | Case reqkey_defl == KEY_REQKEY_DEFL_THREAD_KEYRING |
1339 | Go to set |
1341 | Case reqkey_defl == KEY_REQKEY_DEFL_PROCESS_KEYRING |
1345 | Go to set |
1347 | Case reqkey_defl == KEY_REQKEY_DEFL_DEFAULT |
1348 | Case reqkey_defl == KEY_REQKEY_DEFL_SESSION_KEYRING |
1349 | Case reqkey_defl == KEY_REQKEY_DEFL_USER_KEYRING |
1350 | Case reqkey_defl == KEY_REQKEY_DEFL_USER_SESSION_KEYRING |
1351 | Case reqkey_defl == KEY_REQKEY_DEFL_REQUESTOR_KEYRING |
1352 | Go to set |
1354 | Case reqkey_defl == quest-key default keyrings |
1355 | Case reqkey_defl == KEY_REQKEY_DEFL_GROUP_KEYRING |
1356 | Default |
1361 | set : |
1364 | Return old_setting |
1365 | error : |
1367 | Return ret |
Name | Describe |
---|---|
SYSCALL_DEFINE5 | The key control system call |
COMPAT_SYSCALL_DEFINE5 | The key control system call, 32-bit compatibility version for 64-bit archs |
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 |