函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Begin the process of unlinking a key from a keyring.

函数原型:static int __key_unlink_begin(struct key *keyring, struct key *key, struct assoc_array_edit **_edit)

返回类型:int

参数:

类型参数名称
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  如果是错误则返回:错误
1496  如果非edit则返回:负ENOENT
1499  _edit等于edit
1500  返回:0
调用者
名称描述
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