函数逻辑报告 |
Source Code:security\keys\keyring.c |
Create Date:2022-07-27 19:52:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Allocate a keyring and link into the destination keyring.
函数原型:struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid, const struct cred *cred, key_perm_t perm, unsigned long flags, struct key_restriction *restrict_link, struct key *dest)
返回类型:struct key
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | description | |
kuid_t | uid | |
kgid_t | gid | |
const struct cred * | cred | |
key_perm_t | perm | |
unsigned long | flags | |
struct key_restriction * | restrict_link | |
struct key * | dest |
532 | 如果非是错误则 |
534 | 如果ret小于0则 |
540 | 返回:keyring |
名称 | 描述 |
---|---|
get_user_register | Get or create a user register keyring. |
look_up_user_keyrings | Look up the user and user session keyrings for the current process's UID,* creating them if they don't exist. |
install_thread_keyring_to_cred | Install a thread keyring to the given credentials struct if it didn't have* one already. This is allowed to overrun the quota.* Return: 0 if a thread keyring is now present; -errno on failure. |
install_process_keyring_to_cred | Install a process keyring to the given credentials struct if it didn't have* one already. This is allowed to overrun the quota.* Return: 0 if a process keyring is now present; -errno on failure. |
install_session_keyring_to_cred | Install the given keyring as the session keyring of the given credentials* struct, replacing the existing one if any. If the given keyring is NULL,* then install a new anonymous session keyring.*@cred can not be in use by any task yet. |
join_session_keyring | Join the named keyring as the session keyring if possible else attempt to* create a new one of that name and join that |
call_sbin_request_key | Request userspace finish the construction of a key* - execute "/sbin/request-key |
key_create_persistent_register | Create the persistent keyring register for the current user namespace.* Called with the namespace's sem locked for writing. |
key_create_persistent | Create the persistent keyring for the specified user.* Called with the namespace's sem locked for writing. |
__integrity_init_keyring | |
ima_mok_init | Allocate the IMA blacklist keyring |
allocate_master_key_users_keyring | |
fsverity_init_signature |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |