[LTP] [PATCH v2 1/1] kill11: Skip pipe-based core dumps per signal
Cyril Hrubis
chrubis@suse.cz
Fri Jul 10 14:45:15 CEST 2026
Hi!
> > Alternative we may change the core pattern for the duration of the test.
> > Does this patch fixes the issue for you?
> >
> > diff --git a/testcases/kernel/syscalls/kill/kill11.c b/testcases/kernel/syscalls/kill/kill11.c
> > index 3cf62feae..191587368 100644
> > --- a/testcases/kernel/syscalls/kill/kill11.c
> > +++ b/testcases/kernel/syscalls/kill/kill11.c
> > @@ -126,7 +126,12 @@ static void setup(void)
> > static struct tst_test test = {
> > .needs_tmpdir = 1,
> > .forks_child = 1,
> > + .needs_root = 1,
>
> I don't know if it's a good idea to switch to privileged user, since
> we would remove the test from parallel execution.
Well either we do that, or we skip the signals that dump core when we
are dumping into the pipe.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list