| Function report | 
| Source Code: security\keys\keyctl.c | Create Date:2022-07-28 18:19:30 | 
| Last Modify:2020-03-18 07:59:52 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Get the ID of the specified process keyring.* The requested keyring must have search permission to be found.* If successful, the ID of the requested keyring will be returned.
Proto:long keyctl_get_keyring_ID(key_serial_t id, int create)
Type:long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| key_serial_t | id | |
| int | create | 
| 265 | lflags = If create Then KEY_LOOKUP_CREATE Else 0 | 
| 272 | ret = key serial number | 
| 273 | key_ref_put(key_ref) | 
| 274 | error : | 
| 275 | Return ret | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE5 | The key control system call | 
| COMPAT_SYSCALL_DEFINE5 | The key control system call, 32-bit compatibility version for 64-bit archs | 
| 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 |