Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Begin the process of unlinking a key from a keyring.

Proto:static int __key_unlink_begin(struct key *keyring, struct key *key, struct assoc_array_edit **_edit)

Type:int

Parameter:

TypeParameterName
struct key *keyring
struct key *key
struct assoc_array_edit **_edit
1489  BUG_ON( * _edit != NULL)
1491  edit = assoc_array_delete - Script deletion of an object from an associative array*@array: The array to search.*@ops: The operations to use.*@index_key: The key to the object.* Precalculate and preallocate a script for the deletion of an object from an
1493  If IS_ERR(edit) Then Return PTR_ERR(edit)
1496  If Not edit Then Return -ENOENT
1499  _edit = edit
1500  Return 0
Caller
NameDescribe
key_unlinkkey_unlink - Unlink the first link to a key from a keyring
key_movekey_move - Move a key from one keyring to another*@key: The key to move*@from_keyring: The keyring to remove the link from