Function report |
Source Code:security\keys\permission.c |
Create Date:2022-07-28 18:21:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:key_validate - Validate a key.*@key: The key to be validated.* Check that a key is valid, returning 0 if the key is okay, -ENOKEY if the* key is invalidated, -EKEYREVOKED if the key's type has been removed or if
Proto:int key_validate(const struct key *key)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct key * | key |
90 | If flags & 1 << set if key has been invalidated Then Return -ENOKEY |
94 | If flags & ( 1 << set if key had been revoked | 1 << set if key type has been deleted ) Then Return -EKEYREVOKED |
99 | If expiry Then |
104 | Return 0 |
Name | Describe |
---|---|
search_process_keyrings_rcu | Search the process keyrings attached to the supplied cred for the first* matching key in the manner of search_my_process_keyrings(), but also search* the keys attached to the assumed authorisation key using its credentials if* one is available. |
lookup_user_key | Look up a key ID given us by userspace with a given permissions mask to get* the key it refers to.* Flags can be passed to request that special keyrings be created if referred* to directly, to permit partially constructed keys to be found and to skip |
call_sbin_request_key | Request userspace finish the construction of a key* - execute "/sbin/request-key |
wait_for_key_construction | wait_for_key_construction - Wait for construction of a key to complete*@key: The key being waited for |
dh_data_from_key |
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 |