Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 16 Aug 2018 19:11:14 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH 0/3] mips{,64,n32}: Call exit on return from fn in
 __clone

On Wed, Aug 15, 2018 at 08:46:17PM +0300, Segev Finer wrote:
> This is the expected behavior of this function.  Without this the child
> task will crash on return from fn, since it will return to nowhere.
> 
> I only tested MIPS O32.
> 
> Segev Finer (3):
>   mips: Call exit on return from fn in __clone
>   mips64: Call exit on return from fn in __clone
>   mipsn32: Call exit on return from fn in __clone
> 
>  src/thread/mips/clone.s    | 5 ++++-
>  src/thread/mips64/clone.s  | 5 ++++-
>  src/thread/mipsn32/clone.s | 5 ++++-
>  3 files changed, 12 insertions(+), 3 deletions(-)
> 
> --
> 2.18.0

These look fine, but I'm merging them into one commit. Thanks. Also
noting that the public interface fixed is clone() (vs __clone which is
internal).

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.