Function report |
Source Code:security\keys\keyring.c |
Create Date:2022-07-28 18:18:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Search the given keyring for a key that might be updated.* The caller must guarantee that the keyring is a keyring and that the* permission is granted to modify the keyring as no check is made here. The
Proto:key_ref_t find_key_to_update(key_ref_t keyring_ref, const struct keyring_index_key *index_key)
Type:key_ref_t
Parameter:
Type | Parameter | Name |
---|---|---|
key_ref_t | keyring_ref | |
const struct keyring_index_key * | index_key |
1106 | keyring = key_ref_to_ptr(keyring_ref) |
1108 | kenter("{%d},{%s,%s}", key serial number , name, description) |
1111 | object = assoc_array_find - Find an object by index key*@array: The associative array to search |
1117 | kleave(" = NULL") |
1118 | Return NULL |
1120 | found : |
1121 | key = keyring_ptr_to_key(object) |
1122 | If status flags (change with bitops) & ( 1 << set if key has been invalidated | 1 << set if key had been revoked ) Then |
1124 | kleave(" = NULL [x]") |
1125 | Return NULL |
1128 | kleave(" = {%d}", key serial number ) |
1129 | Return make_key_ref(key, is_key_possessed(keyring_ref)) |
Name | Describe |
---|---|
key_create_persistent | Create the persistent keyring for the specified user.* Called with the namespace's sem locked for writing. |
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 |