| Function report | 
| Source Code: fs\crypto\keyring.c | Create Date:2022-07-28 20:23:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Verify that the current user has added a master key with the given identifier* (returns -ENOKEY if not)
Proto:int fscrypt_verify_key_added(struct super_block *sb, const u8 identifier[16])
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct super_block * | sb | |
| const u8 | identifier | 
| 600 | mk_user = Find the current user's "key" in the master key's ->mk_users.* Returns ERR_PTR(-ENOKEY) if not found. | 
| 603 | Else | 
| 608 | out : | 
| 609 | If err == -ENOKEY && Check operation authority Then err = 0 | 
| 611 | Return err | 
| Name | Describe | 
|---|---|
| set_encryption_policy | 
| 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 |