Messages in this thread | | | Date | Tue, 14 Sep 2010 11:19:54 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH 0/1] x86: should 32 bit processes be PER_LINUX32 |
| |
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
| |