函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:add_to_platform_keyring - Add to platform keyring without validation.*@source: Source of key*@data: The blob holding the key*@len: The length of the data blob* Add a key to the platform keyring without checking its trust chain. This

函数原型:void __init add_to_platform_keyring(const char *source, const void *data, size_t len)

返回类型:void

参数:

类型参数名称
const char *source
const void *data
size_tlen
32  perm等于KEY_POS_ALL按位与possessor can set key attributes 的反按位或user permissions...
34  rc等于integrity_load_cert(INTEGRITY_KEYRING_PLATFORM, source, data, len, perm)
36  如果rc打印信息("Error adding keys to platform keyring %s\n", source)
调用者
名称描述
load_ipl_certsLoad the certs contained in the IPL report created by the machine loader* into the platform trusted keyring.