Function report |
Source Code:security\keys\persistent.c |
Create Date:2022-07-28 18:26:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Create the persistent keyring for the specified user.* Called with the namespace's sem locked for writing.
Proto:static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, struct keyring_index_key *index_key)
Type:key_ref_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct user_namespace * | ns | |
| kuid_t | uid | |
| struct keyring_index_key * | index_key |
| 46 | If Not Register of per-UID persistent keyrings for this namespace Then |
| 50 | Else |
| 53 | If persistent_ref Then Return persistent_ref |
| 66 | Return make_key_ref(persistent, true) |
| Name | Describe |
|---|---|
| key_get_persistent | Get the persistent keyring for a specific UID and link it to the nominated* keyring. |
| 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 |