From: Petr Vorel <pvorel@suse.cz>
To: Anders Roxell <anders.roxell@linaro.org>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2] tst_clone: Fix child detection on sparc
Date: Wed, 30 Sep 2026 15:53:33 +0200 [thread overview]
Message-ID: <20260930135333.GA2721643@pevik> (raw)
In-Reply-To: <CADYN=9Jh83y=n55DbM-niXBE0kot87jECtuM778_WSo6e3p=8g@mail.gmail.com>
Hi Anders,
> On Tue, 29 Sept 2026 at 16:22, Petr Vorel <pvorel@suse.cz> wrote:
> > Hi Anders,
> > > On sparc the clone syscall does not return 0 in the child. It returns
> > > the parent pid, so the child thinks it is the parent.
> > So, somebody still test sparc :). Before applying a workaround few questions.
> > I suppose this is because we did not updated our syscalls numbers.
> Yes, clone3 was missing...
Thanks for info.
> > I send a patch which regenerated syscall numbers to have clone3 on sparc (both
> > 32 and 64 bit) v7.0:
> > $ include/lapi/syscalls/generate_arch.sh ../linux
> > Can you please verify it works with clone3()? It was added this year in v7.0 in
> > 2153b2e8917b7 ("sparc: Add architecture support for clone3")
> Yes, it works. I tested on sparc64 in QEMU with a v7.3-rc4 kernel and
> a buildroot
> rootfs with LTP 20260529 + your patch only. All 94 fs_bind tests pass.
FYI there is v2 from Andrea, your testing is highly appreciated (although the
might be some additional changes to script which generates it.
https://patchwork.kernel.org/project/ltp/list/?series=1176684&state=*
> > Do we care about the past?
> That's a good question, I think we do, because of the LTS kernels...
> We run the latest LTP on the LTS kernels...
Yeah, it should be probably merged. I'm sorry that we did not make it to this
LTP release (Cyril is tagging today). Could you please send v3, which address
agent issues?
https://lore.kernel.org/ltp/CADYN=9Jh83y=n55DbM-niXBE0kot87jECtuM778_WSo6e3p=8g@mail.gmail.com/
Kind regards,
Petr
> Cheers,
> Anders
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-09-30 13:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 8:42 [LTP] [PATCH v2] tst_clone: Fix child detection on sparc Anders Roxell
2026-09-29 11:16 ` [LTP] " linuxtestproject.agent
2026-09-29 14:21 ` [LTP] [PATCH v2] " Petr Vorel
2026-09-30 12:16 ` Anders Roxell
2026-09-30 13:53 ` Petr Vorel [this message]
2026-09-30 19:42 ` Anders Roxell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260930135333.GA2721643@pevik \
--to=pvorel@suse.cz \
--cc=anders.roxell@linaro.org \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.