From: Dave Hansen <dave.hansen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: "Michael Kerrisk (man-pages)"
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
dave-gkUM19QKKo4@public.gmane.org
Cc: Dave Hansen <dave.hansen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Subject: Re: [PATCH] [RFCv3] add manpages for Memory Protection Keys
Date: Fri, 3 Jun 2016 07:53:56 -0700 [thread overview]
Message-ID: <57519A04.5020700@intel.com> (raw)
In-Reply-To: <647d23bf-a163-deee-d0ec-f961ecfb0b90-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On 06/02/2016 05:25 PM, Michael Kerrisk (man-pages) wrote:
> The convention for man-pages is that new sentences always start
> of new source lines. (This makes subsequent patches less "noisy",
> since the common unit of change in a text is a sentence.)
> Could you fix this throughout please?
Yep, I can do that, and I'll also integrate all of your comments,
although I won't respond to all of them individually, I will integrate them.
>> +no longer be used in any protection-key-related operations.
>> +.PP
>> +.RB ( pkey_alloc ())
>> +.I flags
>> +may contain zero or more disable operations:
>
> Why "zero or more" rather than "zero or one"? I mean:
> what sense could it make to OR together PKEY_DISABLE_ACCESS and
> PKEY_DISABLE_WRITE?
This is one of the attributes of the hardware that I carried up in to
the interfaces. The hardware contains two bits: one to write-disable
and one to access-disable. You're allowed to set both at the same time,
even though the "access" bit overrules the "write" bit when set.
So, it doesn't make a ton of logical sense with these two flags, but it
might if we ever got an "execute disable" feature or some other feature
that could be combined more arbitrarily.
next prev parent reply other threads:[~2016-06-03 14:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1464826600-17110-1-git-send-email-dave.hansen@intel.com>
[not found] ` <1464826600-17110-1-git-send-email-dave.hansen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-06-03 0:25 ` [PATCH] [RFCv3] add manpages for Memory Protection Keys Michael Kerrisk (man-pages)
[not found] ` <647d23bf-a163-deee-d0ec-f961ecfb0b90-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-03 14:53 ` Dave Hansen [this message]
[not found] ` <57519A04.5020700-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-06-03 19:25 ` Michael Kerrisk (man-pages)
[not found] ` <d5ce21ad-ec2c-5a56-dde2-7cbd62dd2c49-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-03 19:35 ` Michael Kerrisk (man-pages)
[not found] ` <2c4a4bff-7907-9c2d-389a-5bf987a14ad6-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-03 20:26 ` Dave Hansen
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=57519A04.5020700@intel.com \
--to=dave.hansen-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=dave-gkUM19QKKo4@public.gmane.org \
--cc=dave.hansen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/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).