函数逻辑报告 |
Source Code:fs\crypto\keyring.c |
Create Date:2022-07-29 10:57:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Find the specified master key in ->s_master_keys.* Returns ERR_PTR(-ENOKEY) if not found.
函数原型:struct key *fscrypt_find_master_key(struct super_block *sb, const struct fscrypt_key_specifier *mk_spec)
返回类型:struct key
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct super_block * | sb | |
| const struct fscrypt_key_specifier * | mk_spec |
| 236 | keyring等于READ_ONCE(s_master_keys) |
| 名称 | 描述 |
|---|---|
| add_master_key | |
| fscrypt_verify_key_added | Verify that the current user has added a master key with the given identifier* (returns -ENOKEY if not) |
| do_remove_key | Try to remove an fscrypt master encryption key |
| fscrypt_ioctl_get_key_status | Retrieve the status of an fscrypt master encryption key |
| setup_file_encryption_key | Find the master key, then set up the inode's actual encryption key.* If the master key is found in the filesystem-level keyring, then the* corresponding 'struct key' is returned in *master_key_ret with* ->mk_secret_sem read-locked |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |