Re: [PATCH v3 2/2] arch: wire-up clone3() syscall

From
Arnd Bergmann <arnd@arndb.de>
Date
2019-06-04 18:40:21
Also in
linux-arch, lkml
Reply to
Christian Brauner, 2019-06-04
On Tue, Jun 4, 2019 at 6:09 PM Christian Brauner [off-list ref] wrote:
Wire up the clone3() call on all arches that don't require hand-rolled
assembly.

Some of the arches look like they need special assembly massaging and it is
probably smarter if the appropriate arch maintainers would do the actual
wiring. Arches that are wired-up are:
- x86{_32,64}
- arm{64}
- xtensa
The ones you did look good to me. I would hope that we can do all other
architectures the same way, even if they have special assembly wrappers
for the old clone(). The most interesting cases appear to be ia64, alpha,
m68k and sparc, so it would be good if their maintainers could take a
look.

What do you use for testing? Would it be possible to override the
internal clone() function in glibc with an LD_PRELOAD library
to quickly test one of the other architectures for regressions?

      Arnd
Thread (17 messages) 17 messages, 6 authors, last reply 2020-01-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help