Re: selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process

From: Naresh Kamboju
Date: Tue Nov 08 2022 - 05:54:12 EST


On Tue, 8 Nov 2022 at 16:05, Florian Weimer <fweimer@xxxxxxxxxx> wrote:
>
> * Naresh Kamboju:
>
> > selftests: clone3: clone3_clear_sighand failed on arm32 and i386
> > but passed on arm64 and x86_64.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
> >
> > # selftests: clone3: clone3_clear_sighand
> > # TAP version 13
> > # 1..1
> > # # clone3() syscall supported
> > # Bail out! Failed to clear signal handler for child process
> > # # Planned tests != run tests (1 != 0)
> > # # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
> > not ok 2 selftests: clone3: clone3_clear_sighand # exit=1
>
> Not sure why you are reporting this to libc-alpha. We'd like to help,
> but there doesn't seem to be anything glibc-specific in this report?

This is coming from a commit log having CC to the libc-alpha list.
However, please ignore the report if it is not related.

--
tests: test CLONE_CLEAR_SIGHAND
Test that CLONE_CLEAR_SIGHAND resets signal handlers to SIG_DFL for the
child process and that CLONE_CLEAR_SIGHAND and CLONE_SIGHAND are
mutually exclusive.

Cc: Florian Weimer <fweimer@xxxxxxxxxx>
Cc: libc-alpha@xxxxxxxxxxxxxx
Cc: linux-api@xxxxxxxxxxxxxxx
Signed-off-by: Christian Brauner <christian.brauner@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20191014104538.3096-2-christian.brauner@xxxxxxxxxx

>
> Thanks,
> Florian


- Naresh