Function report |
Source Code:security\integrity\digsig.c |
Create Date:2022-07-28 19:56:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__integrity_init_keyring
Proto:static int __init __integrity_init_keyring(const unsigned int id, key_perm_t perm, struct key_restriction *restriction)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const unsigned int | id | |
| key_perm_t | perm | |
| struct key_restriction * | restriction |
| 101 | cred = current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() |
| 102 | err = 0 |
| 109 | pr_info("Can't allocate %s keyring (%d)\n", keyring_name[id], err) |
| 112 | Else |
| 113 | If id == INTEGRITY_KEYRING_PLATFORM Then set_platform_trusted_keys(keyring[id]) |
| 117 | Return err |
| Name | Describe |
|---|---|
| integrity_init_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 |