Function report |
Source Code:security\keys\internal.h |
Create Date:2022-07-28 18:14:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check to see whether permission is granted to use a key in the desired way.
Proto:static inline int key_permission(const key_ref_t key_ref, unsigned perm)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const key_ref_t | key_ref | |
unsigned | perm |
Name | Describe |
---|---|
__key_update | Attempt to update an existing key.* The key is given to us with an incremented refcount that we need to discard* if we get an error. |
key_create_or_update | key_create_or_update - Update or create and instantiate a key.*@keyring_ref: A pointer to the destination keyring with possession flag.*@type: The type of key.*@description: The searchable description for the key. |
key_update | key_update - Update a key's contents.*@key_ref: The pointer (plus possession flag) to the key.*@payload: The data to be used to update the key.*@plen: The length of @payload.* Attempt to update the contents of a key with the given payload data. The |
find_keyring_by_name | Find a keyring with the specified name |
keyctl_keyring_search | Search the specified keyring and any keyrings it links to for a matching* key |
keyctl_read_key | Read a key's payload |
construct_get_dest_keyring | Get the appropriate destination keyring for the request.* The keyring selected is returned with an extra reference upon it which the* caller must release. |
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 |