Re: [PATCH] x86_64: Implement personality ADDR_LIMIT_32BIT

Andi Kleen
2008-10-06T13:26:51Z

> > Linux interfaces are not supposed to be "interfaces for qemu" but generally
> > applicable interfaces.
>
> I know. What about adding both personality() and flag for shmat()? I can
> prepare patch that implement flag for shmat().

It would be better to just fix all calls in qemu than
to add a new personality. There aren't that many anyways.

personality is really more a kludge for bug-to-bug compatibility
with old binaries (that is where the 3GB personality came from
to work around bugs in some old JVMs that could not deal with a full 4GB
address space), it shouldn't be really used for anything new.

-Andi
--
ak@linux.intel.com