函数逻辑报告 |
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 |
函数名称: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
函数原型:static int add_master_key_user(struct fscrypt_master_key *mk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 返回:err |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |