From: Petr Vorel <pvorel@suse.cz>
To: "Liam R. Howlett" <Liam.Howlett@oracle.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2] mprotect: Add mprotect05 testcase
Date: Thu, 2 Mar 2023 15:19:56 +0100 [thread overview]
Message-ID: <20230302141956.GA20234@pevik> (raw)
In-Reply-To: <20230301193332.27694-1-Liam.Howlett@oracle.com>
Hi Liam,
> Add a test that uses mprotect to split and combine VMAs. Created to
> ensure the correctness of the VMA iterator after a bug report.
LGTM, thank you.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
...
> +/*\
> + * [Description]
> + *
> + * Testcase to check the mprotect(2) system call split and merge
> + *
> + * Reference links:
> + * - https://bugzilla.kernel.org/show_bug.cgi?id=217061
This would be formatted as inline in our docs.
> + *
> + */
> +
> +#include <errno.h>
> +#include <stdio.h>
These aren't needed.
Waiting little longer for any feedback before merging with the diff below.
Kind regards,
Petr
+++ testcases/kernel/syscalls/mprotect/mprotect05.c
@@ -9,14 +9,10 @@
*
* Testcase to check the mprotect(2) system call split and merge
*
- * Reference links:
- * - https://bugzilla.kernel.org/show_bug.cgi?id=217061
+ * https://bugzilla.kernel.org/show_bug.cgi?id=217061
*
*/
-#include <errno.h>
-#include <stdio.h>
-
#include "tst_test.h"
#define TEST_FILE "mprotect05-testfile"
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2023-03-02 14:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 19:33 [LTP] [PATCH v2] mprotect: Add mprotect05 testcase Liam R. Howlett
2023-03-02 14:19 ` Petr Vorel [this message]
2023-03-02 20:09 ` Cyril Hrubis
2023-03-03 7:46 ` Petr Vorel
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=20230302141956.GA20234@pevik \
--to=pvorel@suse.cz \
--cc=Liam.Howlett@oracle.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox