]> Git Repo - linux.git/commitdiff
Documentation: security: core.rst: add missing argument
authorBen Boeckel <[email protected]>
Sat, 16 May 2020 00:39:17 +0000 (20:39 -0400)
committerDavid Howells <[email protected]>
Tue, 2 Jun 2020 16:22:31 +0000 (17:22 +0100)
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]>
Documentation/security/keys/core.rst

index d9b0b859018b42b1f192d5d3e8bae690cef5801c..9367d0fe4a02c6a7bf5aec5f2b4a299d29a4546c 100644 (file)
@@ -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;
This page took 0.050014 seconds and 4 git commands to generate.