|
Message-ID: <20180816220832.GY4418@port70.net> Date: Fri, 17 Aug 2018 00:08:32 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: [PATCH 0/3] mips{,64,n32}: Call exit on return from fn in __clone * Segev Finer <segev208@...il.com> [2018-08-15 20:46:17 +0300]: > 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. > sounds right to me, it affects users who call raw clone, the child function used in pthread_create in musl does not return so conforming posix code is not affected. > 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
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.