linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@ozlabs.org
Subject: Re: powerpc/64: Define ILLEGAL_POINTER_VALUE for 64-bit
Date: Sat,  3 Dec 2016 22:28:16 +1100 (AEDT)	[thread overview]
Message-ID: <3tW80J5GSnz9t1d@ozlabs.org> (raw)
In-Reply-To: <1479207578-8762-1-git-send-email-mpe@ellerman.id.au>

On Tue, 2016-11-15 at 10:59:38 UTC, Michael Ellerman wrote:
> This is used in poison.h to offset poison values so that they don't
> point directly into user space.
> 
> The value we choose sits roughly between user and kernel space, which
> means on their own the poison values don't point anywhere useful. If an
> attacker can cause an access at some offset from the poison value then
> we may still be in trouble, but by putting the poison values between
> user and kernel space we maximise the required size of that offset.
> 
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

Applied to powerpc next.

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

cheers

      reply	other threads:[~2016-12-03 11:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15 10:59 [PATCH] powerpc/64: Define ILLEGAL_POINTER_VALUE for 64-bit Michael Ellerman
2016-12-03 11:28 ` 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=3tW80J5GSnz9t1d@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /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).