Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:valid_key_spec

Proto:static inline bool valid_key_spec(const struct fscrypt_key_specifier *spec)

Type:bool

Parameter:

TypeParameterName
const struct fscrypt_key_specifier *spec
57  If __reserved Then Return false
59  Return master_key_spec_len(spec) != 0
Caller
NameDescribe
fscrypt_ioctl_add_keyAdd a master encryption key to the filesystem, causing all files which were* encrypted with it to appear "unlocked" (decrypted) when accessed.* When adding a key for use by v1 encryption policies, this ioctl is
do_remove_keyTry to remove an fscrypt master encryption key
fscrypt_ioctl_get_key_statusRetrieve the status of an fscrypt master encryption key