Function report |
Source Code:security\keys\keyctl.c |
Create Date:2022-07-28 18:19:38 |
Last Modify:2020-03-18 07:59:52 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Revoke a key.* The key must be grant the caller Write or Setattr permission for this to* work. The key type should give up its quota claim when revoked. The key* and any links to the key will be automatically garbage collected after a
Proto:long keyctl_revoke_key(key_serial_t id)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
key_serial_t | id |
398 | key = key_ref_to_ptr(key_ref) |
399 | ret = 0 |
400 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then ret = -EPERM |
402 | Else key_revoke - Revoke a key |
405 | key_ref_put(key_ref) |
406 | error : |
407 | 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 |