Function report |
Source Code:security\keys\keyctl.c |
Create Date:2022-07-28 18:19:12 |
Last Modify:2020-03-18 07:59:52 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:key_get_type_from_user
Proto:static int key_get_type_from_user(char *type, const char __user *_type, unsigned len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | type | |
const char __user * | _type | |
unsigned | len |
57 | Return 0 |
Name | Describe |
---|---|
SYSCALL_DEFINE5 | Extract the description of a new key from userspace and either add it as a* new key to the specified keyring or update a matching key in that keyring.* If the description is NULL or an empty string, the key type is asked to* generate one from the payload. |
SYSCALL_DEFINE4 | Search the process keyrings and keyring trees linked from those for a* matching key. Keyrings must have appropriate Search permission to be* searched.* If a key is found, it will be attached to the destination keyring if there's |
keyctl_keyring_search | Search the specified keyring and any keyrings it links to for a matching* key |
keyctl_restrict_keyring | Apply a restriction to a given keyring.* The caller must have Setattr permission to change keyring restrictions.* The requested type name may be a NULL pointer to reject all attempts* to link to the keyring. In this case, _restriction must also be NULL. |
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 |