linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Ram Pai <linuxram@us.ibm.com>
Cc: dave.hansen@intel.com, msuchanek@suse.com,
	Ulrich.Weigand@de.ibm.com, linuxram@us.ibm.com,
	mhocko@kernel.org, paulus@samba.org,
	aneesh.kumar@linux.vnet.ibm.com, bauerman@linux.vnet.ibm.com,
	Shakeel Butt <shakeelb@google.com>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: powerpc/pkeys: Detach execute_only key on !PROT_EXEC
Date: Wed,  6 Jun 2018 01:19:30 +1000 (AEST)	[thread overview]
Message-ID: <410b7l0wxRz9s0x@ozlabs.org> (raw)
In-Reply-To: <1525464111-1096-1-git-send-email-linuxram@us.ibm.com>

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 <shakeelb@google.com>
> Reported-by: Shakeel Butt <shakeelb@google.com>
> Fixes 5586cf6 ("powerpc: introduce execute-only pkey")
> Signed-off-by: Ram Pai <linuxram@us.ibm.com>
> Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>

Applied to powerpc next, thanks.

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

cheers

      parent reply	other threads:[~2018-06-05 15:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-04 20:01 [PATCH ] powerpc/pkeys: Detach execute_only key on !PROT_EXEC Ram Pai
2018-05-22  1:42 ` Thiago Jung Bauermann
2018-06-05 15:19 ` Michael Ellerman [this message]

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=410b7l0wxRz9s0x@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=Ulrich.Weigand@de.ibm.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=bauerman@linux.vnet.ibm.com \
    --cc=dave.hansen@intel.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=linuxram@us.ibm.com \
    --cc=mhocko@kernel.org \
    --cc=msuchanek@suse.com \
    --cc=paulus@samba.org \
    --cc=shakeelb@google.com \
    /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).