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:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dispose of the data dangling from the corpse of a big_key key

Proto:void big_key_destroy(struct key *key)

Type:void

Parameter:

TypeParameterName
struct key *key
323  datalen = data[big_key_len]
325  If datalen > 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
326  struct path * path = (struct path * ) & data[big_key_path]
328  path_put(path)
329  mnt = NULL
330  dentry = NULL
332  kzfree - like kfree but zero memory*@p: object to free memory of* The memory of the object @p points to is zeroed before freed.* If @p is %NULL, kzfree() does nothing.* Note: this function zeroes the whole allocated buffer which can be a good
333  data[big_key_data] = NULL