| Function report | 
| Source Code: security\keys\process_keys.c | Create Date:2022-07-28 18:22:17 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Install the given keyring as the session keyring of the current task,* replacing the existing one if any. If the given keyring is NULL, then* install a new anonymous session keyring.* Return: 0 on success; -errno on failure.
Proto:static int install_session_keyring(struct key *keyring)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct key * | keyring | 
| 361 | new = prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification | 
| 366 | If ret < 0 Then | 
| 368 | Return ret | 
| Name | Describe | 
|---|---|
| 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 | 
| 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 |