Function report |
Source Code:security\keys\persistent.c |
Create Date:2022-07-28 18:26:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Get the persistent keyring for a specific UID and link it to the nominated* keyring.
Proto:static long key_get_persistent(struct user_namespace *ns, kuid_t uid, key_ref_t dest_ref)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct user_namespace * | ns | |
kuid_t | uid | |
key_ref_t | dest_ref |
84 | type = key_type_keyring |
85 | description = buf |
95 | If persistent_ref Then Go to found |
102 | lock for writing |
103 | persistent_ref = Create the persistent keyring for the specified user.* Called with the namespace's sem locked for writing. |
105 | If Not IS_ERR(persistent_ref) Then Go to found |
108 | Return PTR_ERR(persistent_ref) |
110 | found : |
112 | If ret == 0 Then |
115 | If ret == 0 Then |
122 | Return ret |
Name | Describe |
---|---|
keyctl_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 |