From: David Howells <dhowells@redhat.com>
To: "Michael Kerrisk \(man-pages\)" <mtk.manpages@gmail.com>
Cc: dhowells@redhat.com, Eugene Syromyatnikov <evgsyr@gmail.com>,
linux-man <linux-man@vger.kernel.org>,
keyrings@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
Subject: Re: Revised add_key(2) man page for review
Date: Tue, 13 Dec 2016 10:58:08 +0000 [thread overview]
Message-ID: <24646.1481626688@warthog.procyon.org.uk> (raw)
In-Reply-To: <9a5cc2a7-a505-9d0d-5b78-4bc5ab100ff1@gmail.com>
Michael Kerrisk (man-pages) <mtk.manpages@gmail.com> wrote:
> The destination keyring serial number may be that of a valid
> keyring for which the caller has write permission, or it may be
> one of the following special keyring IDs:
No comma before "or".
> "user" This is a general purpose key type whose payload may be
> ...
> "keyring"
It probably makes sense to put keyring either first or last.
> "keyring"
> Keyrings are special key types that may contain links to
> sequences of other keys of any type. If this interface
> is used to create a keyring, then a NULL payload should
> be specified, and plen should be zero.
I think "then payload should be NULL and plen should be zero." sounds better.
> "logon" (since Linux 3.3)
> This key type is essentially the same as "user", but it
> does not provide reading.
"permit the key to be read" rather than "provide reading", I think.
> "big_key" (since Linux 3.13)
> This key type is similar to "user", but may hold a pay‐
> load of up to 1 MiB. If the key payload is large, then
> it may be stored in swap space rather than kernel mem‐
> ory.
"stored encrypted in swap space".
> printf("Key ID is %lx\n", (long) key);
key_serial_t is an int. It doesn't really need casting to long.
David
next prev parent reply other threads:[~2016-12-13 10:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-04 15:47 Michael Kerrisk (man-pages)
2016-12-13 10:58 ` David Howells [this message]
2016-12-13 11:23 ` Michael Kerrisk (man-pages)
2016-12-13 11:37 ` David Howells
2016-12-13 11:49 ` Michael Kerrisk (man-pages)
2016-12-13 12:06 ` Eugene Syromyatnikov
2016-12-13 12:53 ` Michael Kerrisk (man-pages)
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=24646.1481626688@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=evgsyr@gmail.com \
--cc=keyrings@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@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
all inboxes | Powered by JetHome®