Thread (46 messages) 46 messages, 6 authors, 2016-02-18

Re: [PATCH 33/33] x86, pkeys: execute-only support

flat view

From: Dave Hansen <hidden>
Date: 2016-02-17 22:53:56
Also in: lkml

On 02/17/2016 02:17 PM, Andy Lutomirski wrote:
quoted
quoted
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?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help