tests: replace system by xsystem
authorFrédéric Bérat <fberat@redhat.com>
Wed, 14 Jun 2023 08:52:07 +0000 (10:52 +0200)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 19 Jun 2023 13:15:05 +0000 (09:15 -0400)
commit8022fc7d5119a22e9e0ac72798f649385b0e167a
treef2cdb5c88d14c05e96395f0cdc99a6692ec0f8da
parent20b6b8e8a50874dd189687df8f6f8a11d4813b34
tests: replace system by xsystem

With fortification enabled, system calls return result needs to be checked,
has it gets the __wur macro enabled.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
elf/tst-stackguard1.c
libio/bug-mmap-fflush.c
nptl/tst-cancel7.c
nptl/tst-stackguard1.c
nss/tst-nss-db-endpwent.c
support/Makefile
support/xstdlib.h [new file with mode: 0644]
support/xsystem.c [new file with mode: 0644]