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 <shake...@google.com> > Reported-by: Shakeel Butt <shake...@google.com> > Fixes 5586cf6 ("powerpc: introduce execute-only pkey") > Signed-off-by: Ram Pai <linux...@us.ibm.com> > Reviewed-by: Thiago Jung Bauermann <bauer...@linux.ibm.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/eabdb8ca8690eedd461e61ea778059 cheers