Re: [PATCH] Fixup personality in different ABI.

From: Ralf Baechle
Date: Thu Mar 24 2011 - 08:03:40 EST


On Fri, Mar 18, 2011 at 12:58:23PM +0800, Heiher wrote:
> Date: Fri, 18 Mar 2011 12:58:23 +0800
> From: Heiher <admin@xxxxxxxxxxx>
> To: linux-kernel@xxxxxxxxxxxxxxx

Please don't post a patch seperately to multiple lists. Cc is prefered
so everybody gets to see all replies.

> >From bf3637153bc5e3d0e3f1c2982c323057a8e04801 Mon Sep 17 00:00:00 2001
> From: Heiher <admin@xxxxxxxxxxx>
> Date: Fri, 18 Mar 2011 12:51:08 +0800
> Subject: [PATCH] Fixup personality in different ABI.
>
> * 'arch' output:
> o32 : mips
> n32 : mips64
> 64 : mips64

That's the correct behaviour - the personality gets inherited by the parent.
If you want to invoke a process with a different personality you can do this
with a utility like arch32 or setarch.

Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/