[LTP] [PATCH] syscalls/waitid10: Fix on ARM, PPC and possibly others
Martin Doucha
mdoucha@suse.cz
Wed Mar 30 15:37:49 CEST 2022
On 21. 03. 22 16:48, Richard Palethorpe wrote:
> I'm wondering if we should branch on the architecture. If it's x86[_64]
> then we only do divide by zero as it's reasonable to think that if the
> signal is not raised then this is a bug.
It's more likely to be a hardware bug/missing feature though. Do we
really care? I'd argue that removing the division altogether and just
calling raise(SIGFPE) in the child process is all we need in this
particular test.
--
Martin Doucha mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic
More information about the ltp
mailing list