[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56C4FA01.2070008@sr71.net>
Date: Wed, 17 Feb 2016 14:53:53 -0800
From: Dave Hansen <dave@...1.net>
To: Andy Lutomirski <luto@...capital.net>,
Kees Cook <keescook@...gle.com>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>, X86 ML <x86@...nel.org>,
Linux-MM <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 33/33] x86, pkeys: execute-only support
On 02/17/2016 02:17 PM, Andy Lutomirski wrote:
>> > Is there a way to detect this feature's availability without userspace
>> > having to set up a segv handler and attempting to read a
>> > PROT_EXEC-only region? (i.e. cpu flag for protection keys, or a way to
>> > check the protection to see if PROT_READ got added automatically,
>> > etc?)
>> >
> We could add an HWCAP.
I'll bite. What's an HWCAP?
Powered by blists - more mailing lists