From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/1] ioctl01: Workaround segfault on ppc64le
Date: Tue, 26 Nov 2024 14:07:46 +0100 [thread overview]
Message-ID: <20241126130746.GC50810@pevik> (raw)
In-Reply-To: <Z0W4DaEQVbqNwz_2@yuki.lan>
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);
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2024-11-26 13:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 17:29 [LTP] [PATCH 1/1] ioctl01: Workaround segfault on ppc64le Petr Vorel
2024-11-15 7:50 ` Wei Gao via ltp
2024-11-15 10:37 ` Petr Vorel
2024-11-26 11:59 ` Cyril Hrubis
2024-11-26 13:07 ` Petr Vorel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241126130746.GC50810@pevik \
--to=pvorel@suse.cz \
--cc=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.