Function report |
Source Code:security\keys\key.c |
Create Date:2022-07-28 18:16:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:key_invalidate - Invalidate a key.*@key: The key to be invalidated.* Mark a key as being invalidated and have it cleaned up immediately. The key* is ignored by all searches and other operations from this point.
Proto:void key_invalidate(struct key *key)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct key * | key |
| 1074 | kenter("%d", key_serial(key)) |
| 1079 | down_write_nested( & change vs change sem , 1) |
| 1082 | lease a write lock |
| Name | Describe |
|---|---|
| __key_instantiate_and_link | Instantiate a key and link it into the target keyring atomically. Must be* called with the target keyring's semaphore writelocked. The target key's* semaphore need not be locked as instantiation is serialised by* key_construction_mutex. |
| key_reject_and_link | key_reject_and_link - Negatively instantiate a key and link it into the keyring.*@key: The key to instantiate.*@timeout: The timeout on the negative key.*@error: The error to return when the key is hit. |
| keyctl_invalidate_key | Invalidate a key.* The key must be grant the caller Invalidate permission for this to work.* The key and any links to the key will be automatically garbage collected* immediately.* Keys with KEY_FLAG_KEEP set should not be invalidated. |
| do_remove_key | Try to remove an fscrypt master encryption key |
| put_crypt_info |
| 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 |