| Function report | 
| Source Code: security\keys\keyctl.c | Create Date:2022-07-28 18:20:49 | 
| Last Modify:2020-03-18 07:59:52 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Assume (or clear) the authority to instantiate the specified key
Proto:long keyctl_assume_authority(key_serial_t id)
Type:long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| key_serial_t | id | 
| 1452 | If id == 0 Then | 
| 1454 | Go to error | 
| 1462 | authkey = Search the current process's keyrings for the authorisation key for* instantiation of a key. | 
| 1469 | If ret == 0 Then ret = key serial number | 
| 1472 | error : | 
| 1473 | 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 |