On Mon, Jul 07, 2025 at 11:55:39AM +0200, Jan Polensky wrote: > Hi all, > > While testing the latest linux-next kernel (next-20250704), I encountered a > reproducible issue during LTP (Linux Test Project) runs related to signal > handling and core dumps. > > The issue appears to be introduced by commit: > > ef4744dc9960 ("coredump: split pipe coredumping into coredump_pipe()") > > This commit seems to contain a typo or logic error that causes several LTP tests > to fail due to missing or incorrect core dump behavior. > > ### Affected LTP tests and output: > > - abort01: > abort01.c:58: TFAIL: abort() failed to dump core > > - kill11: > kill11.c:84: TFAIL: core dump bit not set for SIGQUIT > kill11.c:84: TFAIL: core dump bit not set for SIGILL > kill11.c:84: TFAIL: core dump bit not set for SIGTRAP > kill11.c:84: TFAIL: core dump bit not set for SIGIOT/SIGABRT > kill11.c:84: TFAIL: core dump bit not set for SIGBUS > kill11.c:84: TFAIL: core dump bit not set for SIGFPE > kill11.c:84: TFAIL: core dump bit not set for SIGSEGV > kill11.c:84: TFAIL: core dump bit not set for SIGXCPU > kill11.c:84: TFAIL: core dump bit not set for SIGXFSZ > kill11.c:84: TFAIL: core dump bit not set for SIGSYS/SIGUNUSED > > - waitpid01: > waitpid01.c:140: TFAIL: Child did not dump core when expected > > Best regards, > Jan > > Signed-off-by: Jan Polensky <japo@xxxxxxxxxxxxx> > --- Folded, thank you!