mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Andy Whitcroft <apw@canonical.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, Christoph Hellwig <hch@lst.de>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/1] x86: should 32 bit processes be PER_LINUX32
Date: Tue, 14 Sep 2010 11:19:54 -0700	[thread overview]
Message-ID: <4C8FBCCA.6060001@zytor.com> (raw)
In-Reply-To: <1284480057-18120-1-git-send-email-apw@canonical.com>

On 09/14/2010 09:00 AM, Andy Whitcroft wrote:
> While testing an x86 64 bit kernel on 32 bit userspace I noticed that I
> was unexpectedly seeing x86_64 as the architecture as reported in uname.
> The kernel seems to have code to detect 32 bit userspace and slam this
> to i686, triggered off the personality PER_LINUX32.  However 32 bit
> processes do not seem to get this flag.  I think this is an oversight.
> The following patch attempts to fix this up.

No, it's not an oversight.  It's possible to hide it behind PER_LINUX32,
but that's a bigger hammer that not all users want.

	-hpa

  parent reply	other threads:[~2010-09-14 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-14 16:00 Andy Whitcroft
2010-09-14 16:00 ` [PATCH 1/1] x86: ensure we correctly advertise 32 bit processes in a 64 bit kernel Andy Whitcroft
2010-09-14 18:19 ` H. Peter Anvin [this message]
2010-09-14 18:31   ` [PATCH 0/1] x86: should 32 bit processes be PER_LINUX32 Michael Tokarev

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=4C8FBCCA.6060001@zytor.com \
    --to=hpa@zytor.com \
    --cc=apw@canonical.com \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.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

Powered by JetHome