From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Thu, 6 May 2021 20:26:23 +0200 Subject: [LTP] [COMMITTED] [PATCH] syscalls: modify_ldt02: Fix failure In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it > 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. Thanks for info, I was not aware of tst_no_corefile(). Kind regards, Petr