public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@linux.intel.com>
To: Andy Lutomirski <luto@amacapital.net>
Cc: Philipp Kern <pkern@google.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"H. J. Lu" <hjl.tools@gmail.com>, Eric Paris <eparis@redhat.com>
Subject: Re: [PATCH] x32: Mask away the x32 syscall bit in the ptrace codepath
Date: Wed, 28 May 2014 14:19:38 -0700	[thread overview]
Message-ID: <538652EA.3040606@linux.intel.com> (raw)
In-Reply-To: <CALCETrWd9dbBt03u5cpJx+p3D7NeT-d2_=kTg94CRGMq7ji7kQ@mail.gmail.com>

On 05/28/2014 02:15 PM, Andy Lutomirski wrote:
>>
>>> 3. The OOPS you're fixing doesn't seem like it's fixed.  What if some
>>> other random high bits are set?
>>
>> There is a range check in entry_*.S for the system call.
> 
> I can imagine that causing a certain amount of confusion to fancy
> seccomp users.  Oh, well.  No one that I know of has complained yet.
> 

I don't know how seccomp or audit deal with out-of-range syscall
numbers, so that might be worth taking a look at.

	-hpa



  reply	other threads:[~2014-05-28 21:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-28 12:19 [PATCH] x32: Mask away the x32 syscall bit in the ptrace codepath Philipp Kern
2014-05-28 20:47 ` Andy Lutomirski
2014-05-28 20:58   ` Philipp Kern
2014-05-28 21:01   ` H. Peter Anvin
2014-05-28 21:15     ` Andy Lutomirski
2014-05-28 21:19       ` H. Peter Anvin [this message]
2014-05-28 21:43         ` Andy Lutomirski
2014-05-28 21:53           ` Philipp Kern
2014-05-28 21:55             ` Andy Lutomirski
2014-05-28 22:37             ` H. Peter Anvin

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=538652EA.3040606@linux.intel.com \
    --to=hpa@linux.intel.com \
    --cc=eparis@redhat.com \
    --cc=hjl.tools@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=pkern@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