Thread (3 messages) flat view 3 messages, 3 authors, 2018-06-05

Re: powerpc/pkeys: Detach execute_only key on !PROT_EXEC

From: Michael Ellerman <hidden>
Date: 2018-06-05 15:19:31

On Fri, 2018-05-04 at 20:01:51 UTC, Ram Pai wrote:
Disassociate the exec_key from a VMA if the VMA permission is not
PROT_EXEC anymore.  Otherwise the exec_only key continues to be
associated with the vma, causing unexpected behavior.

The problem was reported on x86 by Shakeel Butt,
which is also applicable on powerpc.

cc: Shakeel Butt <redacted>
Reported-by: Shakeel Butt <redacted>
Fixes 5586cf6 ("powerpc: introduce execute-only pkey")
Signed-off-by: Ram Pai <redacted>
Reviewed-by: Thiago Jung Bauermann <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/eabdb8ca8690eedd461e61ea778059

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help