Assumes the authority for the calling thread to deal with and instantiate the specified uninstantiated key.
Authority can only be assumed if the thread has the authorization key associated with the specified key in its keyrings somewhere.
Once authority is assumed, searches for keys will also search the requester's keyrings using the requester's security label, UID, GID and groups.
Arguments
ecx |
Key serial number. If the specified key is 0, then any assumed authority will be divested. |
Return values
If the system call succeeds the return value is key or keyring ID.
If the system call fails the return value is -EPERM denoting that the requested authority is unavailable.
Remarks
The assumed authoritative key is inherited across fork and exec.
|