From: Ben Boeckel <me@benboeckel.net>
To: keyrings@vger.kernel.org
Cc: Ben Boeckel <mathstuf@gmail.com>,
dhowells@redhat.com, jarkko.sakkinen@linux.intel.com,
corbet@lwn.net, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 1/1] Documentation: security: core.rst: add missing argument
Date: Fri, 15 May 2020 20:39:17 -0400 [thread overview]
Message-ID: <20200516003917.2035545-2-list.lkml.keyrings@me.benboeckel.net> (raw)
In-Reply-To: <20200516003917.2035545-1-list.lkml.keyrings@me.benboeckel.net>
From: Ben Boeckel <mathstuf@gmail.com>
This argument was just never documented in the first place.
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
---
Documentation/security/keys/core.rst | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/security/keys/core.rst b/Documentation/security/keys/core.rst
index d9b0b859018b..c26b9e7d47c2 100644
--- a/Documentation/security/keys/core.rst
+++ b/Documentation/security/keys/core.rst
@@ -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;
--
2.25.4
next prev parent reply other threads:[~2020-05-16 0:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-16 0:39 [PATCH 0/1] Document keyctl(KEYCTL_PKEY_QUERY) arguments correctly Ben Boeckel
2020-05-16 0:39 ` Ben Boeckel [this message]
2020-05-16 21:18 ` [PATCH 1/1] Documentation: security: core.rst: add missing argument Jarkko Sakkinen
2020-05-25 16:33 ` Jonathan Corbet
2020-05-25 16:43 ` Jonathan Corbet
2020-05-26 16:07 ` David Howells
2020-05-18 14:09 ` David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200516003917.2035545-2-list.lkml.keyrings@me.benboeckel.net \
--to=me@benboeckel.net \
--cc=corbet@lwn.net \
--cc=dhowells@redhat.com \
--cc=jarkko.sakkinen@linux.intel.com \
--cc=keyrings@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathstuf@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).