Skip to content

Commit

Permalink
Documentation: security: core.rst: add missing argument
Browse files Browse the repository at this point in the history
This argument was just never documented in the first place.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
  • Loading branch information
mathstuf authored and dhowells committed Jun 2, 2020
1 parent 6a8b55e commit 352780b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Documentation/security/keys/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -920,10 +920,14 @@ The keyctl syscall functions are:

long keyctl(KEYCTL_PKEY_QUERY,
key_serial_t key_id, unsigned long reserved,
const char *params,
struct keyctl_pkey_query *info);
Get information about an asymmetric key. The information is returned in
the keyctl_pkey_query struct::
Get information about an asymmetric key. Specific algorithms and
encodings may be queried by using the ``params`` argument. This is a
string containing a space- or tab-separated string of key-value pairs.
Currently supported keys include ``enc`` and ``hash``. The information
is returned in the keyctl_pkey_query struct::

__u32 supported_ops;
__u32 key_size;
Expand Down

0 comments on commit 352780b

Please sign in to comment.