Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\big_key.c Create Date:2022-07-28 18:28:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dispose of the links from a revoked keyring* - called with the key sem write-locked

Proto:void big_key_revoke(struct key *key)

Type:void

Parameter:

TypeParameterName
struct key *key
309  struct path * path = (struct path * ) & data[big_key_path]
312  key_payload_reserve - Adjust data quota reservation for the key's payload*@key: The key to make the reservation for
313  If key_is_positive - Determine if a key has been positively instantiated*@key: The key to check.* Return true if the specified key has been positively instantiated, false* otherwise. && data[big_key_len] > If the data is under this limit, there's no point creating a shm file to* hold it as the permanently resident metadata for the shmem fs will be at* least as large as the data. Then vfs_truncate(path, 0)