Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mplete_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

Proto:void complete_request_key(struct key *authkey, int error)

Type:void

Parameter:

TypeParameterName
struct key *authkey
interror
58  rka = get_request_key_auth(authkey)
59  key = target_key
61  kenter("%d{%d},%d", key serial number , key serial number , error)
63  If error < 0 Then key_negate_and_link(key, default timeout on a negative key's existence , NULL, authkey)
65  Else key_revoke - Revoke a key
Caller
NameDescribe
call_sbin_request_keyRequest userspace finish the construction of a key* - execute "/sbin/request-key "