函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Link a key into to a keyring.* Must be called with __key_link_begin() having being called. Discards any* already extant link to matching key if there is one, so that each keyring* holds at most one link to any given key of a particular type+description

函数原型:void __key_link(struct key *key, struct assoc_array_edit **_edit)

返回类型:void

参数:

类型参数名称
struct key *key
struct assoc_array_edit **_edit
1371  __key_get(key)
1372  assoc_array_insert_set_object - Set the new object pointer in an edit script*@edit: The edit script to modify.*@object: The object pointer to set.* Change the object to be inserted in an edit script. The object pointed to* by the old object is not freed
1373  assoc_array_apply_edit - Apply an edit script to an associative array*@edit: The script to apply.* Apply an edit script to an associative array to effect an insertion,* deletion or clearance. As the edit script includes preallocated memory,
1374  * _edit = NULL
调用者
名称描述
key_reject_and_linkkey_reject_and_link - Negatively instantiate a key and link it into the keyring.*@key: The key to instantiate.*@timeout: The timeout on the negative key.*@error: The error to return when the key is hit.
key_linkkey_link - Link a key to a keyring*@keyring: The keyring to make the link in
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
construct_alloc_keyAllocate a new key in under-construction state and attempt to link it in to* the requested keyring.* May return a key that's already under construction instead if there was a* race between two thread calling request_key().