函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\verity\signature.c Create Date:2022-07-29 10:58:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fsverity_init_signature

函数原型:int __init fsverity_init_signature(void)

返回类型:int

参数:

139  ring等于keyring_alloc(".fs-verity", KUIDT_INIT(0), KGIDT_INIT(0), current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.(), possessor can find a key in search / search a keyring | user permissions... | KEY_USR_READ | KEY_USR_WRITE | KEY_USR_SEARCH | KEY_USR_SETATTR, in quota , NULL, NULL)
144  如果是错误则返回:错误
147  err等于fsverity_sysctl_init()
148  如果err则转到:err_put_ring
151  Keyring that contains the trusted X.509 certificates.* Only root (kuid=0) can modify this. Also, root may use* keyctl_restrict_keyring() to prevent any more additions.等于ring
152  返回:0
154  err_put_ring :
155  key_put(ring)
156  返回:err