Function report |
Source Code:fs\crypto\keyring.c |
Create Date:2022-07-28 20:23:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Remove the current user's "key" from ->mk_users.* The master key's key->sem must be held for write.* Returns 0 if removed, -ENOKEY if not found, or another -errno code.
Proto:static int remove_master_key_user(struct fscrypt_master_key *mk)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct fscrypt_master_key * | mk |
310 | mk_user = Find the current user's "key" in the master key's ->mk_users.* Returns ERR_PTR(-ENOKEY) if not found. |
313 | err = key_unlink(Keyring which contains a key of type 'key_type_fscrypt_user' for each* user who has added this key, mk_user) |
315 | Return err |
Name | Describe |
---|---|
do_remove_key | Try to remove an fscrypt master encryption 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 |