Function report |
Source Code:fs\crypto\keyring.c |
Create Date:2022-07-28 20:23:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Give the current user a "key" in ->mk_users. This charges the user's quota* and marks the master key as added by the current user, so that it cannot be* removed by another user with the key. Either the master key's key->sem must
Proto:static int add_master_key_user(struct fscrypt_master_key *mk)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct fscrypt_master_key * | mk |
294 | err = key_instantiate_and_link(mk_user, NULL, 0, Keyring which contains a key of type 'key_type_fscrypt_user' for each* user who has added this key, NULL) |
296 | Return err |
Name | Describe |
---|---|
add_new_master_key | Allocate a new fscrypt_master_key which contains the given secret, set it as* the payload of a new 'struct key' of type fscrypt, and link the 'struct key'* into the given keyring. Synchronized by fscrypt_add_key_mutex. |
add_existing_master_key |
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 |