[LTP] [COMMITTED] [PATCH] syscalls: modify_ldt02: Fix failure

Cyril Hrubis chrubis@suse.cz
Thu May 6 15:35:48 CEST 2021


Hi!
> I am sorry, It's my fault. It seems that restore to origin code is
> more better since it might create a core file.

No this is not solution either, since the original code was broken to
begin with.

We do have tst_no_corefile() in the test library, which should be called
by tests that cause SEGFAULT on purpose in order to avoid dumping a
core, but it looks like it's available only for new library tests. We
would have to convert the test to new library first if we wanted to
that.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list