Skip to content

Commit 352780b

Browse files
mathstufdhowells
authored andcommitted
Documentation: security: core.rst: add missing argument
This argument was just never documented in the first place. Signed-off-by: Ben Boeckel <[email protected]> Signed-off-by: David Howells <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]>
1 parent 6a8b55e commit 352780b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Documentation/security/keys/core.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,10 +920,14 @@ The keyctl syscall functions are:
920920

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

928932
__u32 supported_ops;
929933
__u32 key_size;

0 commit comments

Comments
 (0)