ltp.lists.linux.it archive mirror
 help / color / mirror / Atom feed
From: Amir Goldstein <amir73il@gmail.com>
To: Petr Vorel <pvorel@suse.cz>
Cc: Matthew Bobrowski <repnop@google.com>, Jan Kara <jack@suse.cz>,
	ltp@lists.linux.it
Subject: [LTP] [PATCH 0/9] Fanotify tests for FAN_MARK_IGNORE
Date: Mon,  5 Sep 2022 18:42:30 +0300	[thread overview]
Message-ID: <20220905154239.2652169-1-amir73il@gmail.com> (raw)

Hi Petr,

FAN_MARK_IGNORE feature was merge in v6.0-rc1.
A man page draft was posted here [1].

Following are the tests for the new feature.

All new test cases are skipped on old kernels.

Note that fanotify10 will run ALL of its existing test cases
in two variants:
1. Legacy FAN_MARK_IGNORED_MASK
2. New FAN_MARK_IGNORE

On old kernels, only the first variant of the test will run.

In addition to the new test variant it also has some new test cases
that only run with new FAN_MARK_IGNORE variant.

Thanks,
Amir.

[1] https://lore.kernel.org/linux-man/20220904155113.2623371-1-amir73il@gmail.com/

Amir Goldstein (9):
  syscalls/fanotify09: Add test cases for FAN_MARK_IGNORE
  syscalls/fanotify14: Require FAN_REPORT_FID support for entire test
  syscalls/fanotify14: Add test cases for FAN_MARK_IGNORE
  syscalls/fanotify10: Avoid undesired event in test
  syscalls/fanotify10: Add more verifications and debug info
  syscalls/fanotify10: Use dedicated mark type for inode mark on parent
  syscalls/fanotify10: Run tests with two ignore mask variants
  syscalls/fanotify10: Test FAN_MARK_IGNORE with FAN_EVENT_ON_CHILD
  syscalls/fanotify10: Test FAN_MARK_IGNORE with FAN_ONDIR

 testcases/kernel/syscalls/fanotify/fanotify.h |  19 ++
 .../kernel/syscalls/fanotify/fanotify09.c     | 102 ++++++++--
 .../kernel/syscalls/fanotify/fanotify10.c     | 186 ++++++++++++++----
 .../kernel/syscalls/fanotify/fanotify14.c     |  42 +++-
 4 files changed, 290 insertions(+), 59 deletions(-)

-- 
2.25.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

             reply	other threads:[~2022-09-05 15:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-05 15:42 Amir Goldstein [this message]
2022-09-05 15:42 ` [LTP] [PATCH 1/9] syscalls/fanotify09: Add test cases for FAN_MARK_IGNORE Amir Goldstein
2022-09-05 16:04   ` Petr Vorel
2022-09-06  5:08     ` Amir Goldstein
2022-09-06  5:58       ` Petr Vorel
2022-09-05 15:42 ` [LTP] [PATCH 2/9] syscalls/fanotify14: Require FAN_REPORT_FID support for entire test Amir Goldstein
2022-09-06  6:06   ` Petr Vorel
2022-09-05 15:42 ` [LTP] [PATCH 3/9] syscalls/fanotify14: Add test cases for FAN_MARK_IGNORE Amir Goldstein
2022-09-06  9:05   ` Petr Vorel
2022-09-05 15:42 ` [LTP] [PATCH 4/9] syscalls/fanotify10: Avoid undesired event in test Amir Goldstein
2022-09-06 16:51   ` Petr Vorel
2022-09-06 17:09   ` Petr Vorel
2022-09-05 15:42 ` [LTP] [PATCH 5/9] syscalls/fanotify10: Add more verifications and debug info Amir Goldstein
2022-09-06 17:01   ` Petr Vorel
2022-09-05 15:42 ` [LTP] [PATCH 6/9] syscalls/fanotify10: Use dedicated mark type for inode mark on parent Amir Goldstein
2022-09-06 17:03   ` Petr Vorel
2022-09-05 15:42 ` [LTP] [PATCH 7/9] syscalls/fanotify10: Run tests with two ignore mask variants Amir Goldstein
2022-09-06 17:07   ` Petr Vorel
2022-09-05 15:42 ` [LTP] [PATCH 8/9] syscalls/fanotify10: Test FAN_MARK_IGNORE with FAN_EVENT_ON_CHILD Amir Goldstein
2022-09-05 15:42 ` [LTP] [PATCH 9/9] syscalls/fanotify10: Test FAN_MARK_IGNORE with FAN_ONDIR Amir Goldstein
2022-09-06 15:38 ` [LTP] [PATCH 0/9] Fanotify tests for FAN_MARK_IGNORE Jan Kara
2022-09-06 17:28   ` Amir Goldstein
2022-09-07 10:45     ` 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=20220905154239.2652169-1-amir73il@gmail.com \
    --to=amir73il@gmail.com \
    --cc=jack@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=pvorel@suse.cz \
    --cc=repnop@google.com \
    /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;
as well as URLs for NNTP newsgroup(s).