Function report |
Source Code:security\keys\request_key_auth.c |
Create Date:2022-07-28 18:24:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Search the current process's keyrings for the authorisation key for* instantiation of a key.
Proto:struct key *key_get_instantiation_authkey(key_serial_t target_id)
Type:struct key
Parameter:
Type | Parameter | Name |
---|---|---|
key_serial_t | target_id |
263 | desc_len = sprintf(description, "%x", target_id) |
269 | If IS_ERR(authkey_ref) Then |
273 | Go to error |
276 | authkey = key_ref_to_ptr(authkey_ref) |
279 | authkey = ERR_PTR( - EKEYREVOKED) |
282 | error : |
283 | Return authkey |
Name | Describe |
---|---|
keyctl_set_timeout | Set or clear the timeout on a key.* Either the key must grant the caller Setattr permission or else the caller* must hold an instantiation authorisation token for the key.* The timeout is either 0 to clear the timeout, or a number of seconds from |
keyctl_assume_authority | Assume (or clear) the authority to instantiate the specified key |
keyctl_get_security | Get a key's the LSM security label.* The key must grant the caller View permission for this to work.* If there's a buffer, then up to buflen bytes of data will be placed into it.* If successful, the amount of information available will be returned, |
keyctl_describe_key | Return a description of a key to userspace |
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 |