函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\digsig.c Create Date:2022-07-27 21:53:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:integrity_init_keyring

函数原型:int __init integrity_init_keyring(const unsigned int id)

返回类型:int

参数:

类型参数名称
const unsigned intid
125  perm等于KEY_POS_ALL按位与possessor can set key attributes 的反按位或user permissions... 按位或KEY_USR_READ按位或KEY_USR_SEARCH
128  如果id恒等于INTEGRITY_KEYRING_PLATFORM
129  restriction = NULL
130  转到:out
133  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_INTEGRITY_TRUSTED_KEYRING)则返回:0
136  restriction等于分配内存并置零
137  如果非restriction则返回:负ENOMEM
140  check等于restrict_link_to_ima
141  perm或等于KEY_USR_WRITE
143  out :
144  返回:__integrity_init_keyring(id, perm, restriction)
调用者
名称描述
platform_keyring_initCreate the trusted keyrings.
ima_init
init_evm