函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:keyring_restriction_alloc

函数原型:static struct key_restriction *keyring_restriction_alloc(key_restrict_link_func_t check)

返回类型:struct key_restriction

参数:

类型参数名称
key_restrict_link_func_tcheck
980  keyres等于分配内存并置零
983  如果非keyres则返回:错误号
986  check等于check
988  返回:keyres
调用者
名称描述
keyring_restrictkeyring_restrict - Look up and apply a restriction to a keyring*@keyring_ref: The keyring to be restricted*@type: The key type that will provide the restriction checker.*@restriction: The restriction options to apply to the keyring