| Function report | 
| Source Code: security\keys\keyring.c | Create Date:2022-07-28 18:18:01 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:keyring_restriction_alloc
Proto:static struct key_restriction *keyring_restriction_alloc(key_restrict_link_func_t check)
Type:struct key_restriction
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| key_restrict_link_func_t | check | 
| 980 | keyres = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 988 | Return keyres | 
| Name | Describe | 
|---|---|
| keyring_restrict | keyring_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 | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |