mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH 0/3] mips{,64,n32}: Call exit on return from fn in __clone
@ 2018-08-15 17:46 Segev Finer
  2018-08-15 17:46 ` [PATCH 1/3] mips: " Segev Finer
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Segev Finer @ 2018-08-15 17:46 UTC (permalink / raw)
  To: musl

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-16 23:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-15 17:46 [PATCH 0/3] mips{,64,n32}: Call exit on return from fn in __clone Segev Finer
2018-08-15 17:46 ` [PATCH 1/3] mips: " Segev Finer
2018-08-15 17:46 ` [PATCH 2/3] mips64: " Segev Finer
2018-08-15 17:46 ` [PATCH 3/3] mipsn32: " Segev Finer
2018-08-16 22:08 ` [PATCH 0/3] mips{,64,n32}: " Szabolcs Nagy
2018-08-16 23:11 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).