[LTP] [PATCH 1/1] ioctl01: Workaround segfault on ppc64le
Petr Vorel
pvorel@suse.cz
Tue Nov 26 14:07:46 CET 2024
Hi Cyril,
> Hi!
> Looks good.
Thanks! I'm going to merge with this change below (using exit(0) instead of
_exit(0).
Kind regards,
Petr
diff --git testcases/kernel/syscalls/ioctl/ioctl01.c testcases/kernel/syscalls/ioctl/ioctl01.c
index e4f32330d0..d7886f3586 100644
--- testcases/kernel/syscalls/ioctl/ioctl01.c
+++ testcases/kernel/syscalls/ioctl/ioctl01.c
@@ -73,7 +73,7 @@ static void test_bad_addr(unsigned int i)
pid = SAFE_FORK();
if (!pid) {
verify_ioctl(i);
- _exit(0);
+ exit(0);
}
SAFE_WAITPID(pid, &status, 0);
More information about the ltp
mailing list