Function report |
Source Code:security\keys\keyctl.c |
Create Date:2022-07-28 18:19:40 |
Last Modify:2020-03-18 07:59:52 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Invalidate a key.* The key must be grant the caller Invalidate permission for this to work.* The key and any links to the key will be automatically garbage collected* immediately.* Keys with KEY_FLAG_KEEP set should not be invalidated.
Proto:long keyctl_invalidate_key(key_serial_t id)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
key_serial_t | id |
434 | If Check operation authority Then |
438 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Go to invalidate |
441 | Go to error_put |
444 | Go to error |
447 | invalidate : |
448 | key = key_ref_to_ptr(key_ref) |
449 | ret = 0 |
450 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then ret = -EPERM |
454 | error_put : |
455 | key_ref_put(key_ref) |
456 | error : |
458 | 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 |