linux-mips
[Top] [All Lists]

Re: [PATCH] Fixup personality in different ABI.

To: Heiher <admin@heiher.info>
Subject: Re: [PATCH] Fixup personality in different ABI.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 18 Mar 2011 19:18:26 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <AANLkTimsVcPtJHrV+UMcXAMcqDRpm3ZbbXqSuupx0Uq5@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <AANLkTimsVcPtJHrV+UMcXAMcqDRpm3ZbbXqSuupx0Uq5@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Mar 18, 2011 at 12:59:40PM +0800, Heiher wrote:

> From bf3637153bc5e3d0e3f1c2982c323057a8e04801 Mon Sep 17 00:00:00 2001
> From: Heiher <admin@heiher.info>
> 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

<Prev in Thread] Current Thread [Next in Thread>