Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\verity\signature.c Create Date:2022-07-28 20:25:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fsverity_init_signature

Proto:int __init fsverity_init_signature(void)

Type:int

Parameter:Nothing

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  If IS_ERR(ring) Then Return PTR_ERR(ring)
147  err = fsverity_sysctl_init()
148  If err Then Go to 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  Return 0
154  err_put_ring :
155  key_put(ring)
156  Return err