Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\key-type.h Create Date:2022-07-28 11:18:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:key_negate_and_link

Proto:static inline int key_negate_and_link(struct key *key, unsigned timeout, struct key *keyring, struct key *authkey)

Type:int

Parameter:

TypeParameterName
struct key *key
unsignedtimeout
struct key *keyring
struct key *authkey
186  Return key_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.
Caller
NameDescribe
complete_request_keymplete_request_key - Complete the construction of a key.*@authkey: The authorisation key.*@error: The success or failute of the construction.* Complete the attempt to construct a key. The key will be negated* if an error is indicated
construct_key_and_linkCommence key construction.