函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\big_key.c Create Date:2022-07-27 20:02:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dispose of the links from a revoked keyring* - called with the key sem write-locked

函数原型:void big_key_revoke(struct key *key)

返回类型:void

参数:

类型参数名称
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  如果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.vfs_truncate(path, 0)