函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:void complete_request_key(struct key *authkey, int error)

返回类型:void

参数:

类型参数名称
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  如果error小于0则key_negate_and_link(key, default timeout on a negative key's existence , NULL, authkey)
65  否则key_revoke - Revoke a key
调用者
名称描述
call_sbin_request_keyRequest userspace finish the construction of a key* - execute "/sbin/request-key "