Function report |
Source Code:security\keys\keyctl.c |
Create Date:2022-07-28 18:20:40 |
Last Modify:2020-03-18 07:59:52 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Negatively instantiate the key with the given timeout (in seconds) and error* code and link the key into the destination keyring if one is given.* The caller must have the appropriate instantiation permit set for this to
Proto:long keyctl_reject_key(key_serial_t id, unsigned timeout, unsigned error, key_serial_t ringid)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
key_serial_t | id | |
unsigned | timeout | |
unsigned | error | |
key_serial_t | ringid |
1265 | cred = current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() |
1289 | If key serial number != id Then Go to error |
1294 | ret = Get the destination keyring for instantiation and check that the caller has* Write permission on it. |
1306 | If ret == 0 Then Change the request_key authorisation key on the current process. |
1309 | error : |
1310 | Return ret |
Name | Describe |
---|---|
keyctl_negate_key | Negatively instantiate the key with the given timeout (in seconds) and link* the key into the destination keyring if one is given.* The caller must have the appropriate instantiation permit set for this to* work (see keyctl_assume_authority) |
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 |