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: Thu, 24 Mar 2011 13:03:07 +0100
Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, David Daney <ddaney@caviumnetworks.com>, akmp@linux-mips.org
In-reply-to: <AANLkTikuBxnd0bFsO5NP2GQYDZmGFP9kLruWVpjZ7+UQ@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <AANLkTikuBxnd0bFsO5NP2GQYDZmGFP9kLruWVpjZ7+UQ@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:58:23PM +0800, Heiher wrote:
> Date:   Fri, 18 Mar 2011 12:58:23 +0800
> From: Heiher <admin@heiher.info>
> To: linux-kernel@vger.kernel.org

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@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>