From: Andy Whitcroft <apw@canonical.com>
To: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
Christoph Hellwig <hch@lst.de>
Cc: x86@kernel.org, linux-kernel@vger.kernel.org,
Andy Whitcroft <apw@canonical.com>
Subject: [PATCH 0/1] x86: should 32 bit processes be PER_LINUX32
Date: Tue, 14 Sep 2010 17:00:56 +0100 [thread overview]
Message-ID: <1284480057-18120-1-git-send-email-apw@canonical.com> (raw)
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.
-apw
Andy Whitcroft (1):
x86: ensure we correctly advertise 32 bit processes in a 64 bit
kernel
arch/x86/kernel/process_64.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
next reply other threads:[~2010-09-14 16:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 16:00 Andy Whitcroft [this message]
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 ` [PATCH 0/1] x86: should 32 bit processes be PER_LINUX32 H. Peter Anvin
2010-09-14 18:31 ` 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=1284480057-18120-1-git-send-email-apw@canonical.com \
--to=apw@canonical.com \
--cc=hch@lst.de \
--cc=hpa@zytor.com \
--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
all inboxes | Powered by JetHome®