linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] arm: hwcap: add new hwcap for identifying PXN bits
Date: Fri, 24 Oct 2014 11:11:42 +0100	[thread overview]
Message-ID: <20141024101142.GA1955@localhost> (raw)
In-Reply-To: <1414144655-25204-1-git-send-email-js07.lee@gmail.com>

On Fri, Oct 24, 2014 at 10:57:34AM +0100, Jungseung Lee wrote:
> Modern ARMv7-A/R cores can optionally implement below new
> hardware feature:
> 
> - PXN:
> Privileged execute-never(PXN) is a security feature. PXN bit
> determines whether the processor can execute software from
> the region. This is effective solution against ret2usr attack.
> 
> This patch adds new HWCAP defines to describe new feature.
> On an implementation that does not include the LPAE, PXN is
> optionally supported.

Why does the user need to know about such feature? Just enable it in the
kernel if available.

-- 
Catalin

  parent reply	other threads:[~2014-10-24 10:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24  9:57 [PATCH 1/2] arm: hwcap: add new hwcap for identifying PXN bits Jungseung Lee
2014-10-24  9:57 ` [PATCH 2/2] arm: Support for the PXN CPU feature on ARMv7 Jungseung Lee
2014-10-24 10:10 ` [PATCH 1/2] arm: hwcap: add new hwcap for identifying PXN bits Russell King - ARM Linux
2014-10-24 10:11 ` Catalin Marinas [this message]
2014-10-24 10:32   ` Jungseung Lee

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=20141024101142.GA1955@localhost \
    --to=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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).