函数逻辑报告 |
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 |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:integrity_init_keyring
函数原型:int __init integrity_init_keyring(const unsigned int id)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const unsigned int | id |
| 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 |
| 141 | perm或等于KEY_USR_WRITE |
| 143 | out : |
| 144 | 返回:__integrity_init_keyring(id, perm, restriction) |
| 名称 | 描述 |
|---|---|
| platform_keyring_init | Create the trusted keyrings. |
| ima_init | |
| init_evm |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |