From: Amir Goldstein <amir73il@gmail.com>
To: Petr Vorel <pvorel@suse.cz>
Cc: Christian Brauner <brauner@kernel.org>, Jan Kara <jack@suse.cz>,
ltp@lists.linux.it
Subject: [LTP] [PATCH v2 0/3] Tests for fanotify on anonymous pipe
Date: Sun, 16 Jul 2023 08:35:27 +0300 [thread overview]
Message-ID: <20230716053530.1629416-1-amir73il@gmail.com> (raw)
Petr,
This tests for a behavior that we consider broken since the dawn of
fanotify.
The fix was merged to v6.5-rc1.
I've already posted backport patches for kernels > v5.0 [1].
I am not planning to post backport patches for older kernels.
Even though the two new test cases do not use FAN_REPORT_FID,
fanotify14 requires FAN_REPORT_FID, so it is not going to run these
test cases on kernel < v5.1 anyway.
You suggested to wait for stable tree to apply the backports [2],
but this seems to be taking time. Since I am going on vacation next
week, I am posting these tests, so you can merge them whenever you like.
Thanks,
Amir.
[1] https://lore.kernel.org/stable/20230710133205.1154168-1-amir73il@gmail.com/
[2] https://lore.kernel.org/ltp/20230710155006.GA659329@pevik/
Changes since v1:
- Fix build warnings of uninitialized struct members
Amir Goldstein (3):
fanotify14: Use FAN_MARK_INODE semantic flag
fanotify14: Use named initializers
fanotify14: Test disallow sb/mount mark on anonymous pipe
.../kernel/syscalls/fanotify/fanotify14.c | 198 +++++++++++++-----
1 file changed, 150 insertions(+), 48 deletions(-)
--
2.34.1
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next reply other threads:[~2023-07-16 5:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-16 5:35 Amir Goldstein [this message]
2023-07-16 5:35 ` [LTP] [PATCH v2 1/3] fanotify14: Use FAN_MARK_INODE semantic flag Amir Goldstein
2023-07-17 6:34 ` Petr Vorel
2023-07-16 5:35 ` [LTP] [PATCH v2 2/3] fanotify14: Use named initializers Amir Goldstein
2023-07-17 6:35 ` Petr Vorel
2023-07-16 5:35 ` [LTP] [PATCH v2 3/3] fanotify14: Test disallow sb/mount mark on anonymous pipe Amir Goldstein
2023-07-17 6:38 ` Petr Vorel
2023-07-17 6:44 ` [LTP] [PATCH v2 0/3] Tests for fanotify " 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=20230716053530.1629416-1-amir73il@gmail.com \
--to=amir73il@gmail.com \
--cc=brauner@kernel.org \
--cc=jack@suse.cz \
--cc=ltp@lists.linux.it \
--cc=pvorel@suse.cz \
/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