Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/4] New tests for fanotify pre-content events
@ 2025-02-10 15:13 Amir Goldstein
  2025-02-10 15:13 ` [LTP] [PATCH 1/4] fanotify14: Test invalid init flags with permission and " Amir Goldstein
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Amir Goldstein @ 2025-02-10 15:13 UTC (permalink / raw)
  To: Petr Vorel; +Cc: Jan Kara, ltp

Petr,

These are the tests used for the development of the fanotify pre-content
(a.k.a HSM) events feature that was merged to v6.14-rc1.

Because this is a new test for a new feature, which is skipped on old
kernels, I am posting it early, so that others could run the tests.

Following the request to split out large fanotify LTP tests, I resisted
the temptation to add a pre-content events variant to the existing
fanotify03 test and I forked it to a new test.

I did however add one test case to fanotify14, because as I wrote
before, I find it useful to keep the test matrix of allowed flag
combinations within the same test.

I also added two test cases to fanotify03 before forking it for cases
that were regressed during the 6.14 devlopment cycle and did not have
proper test converage.

The number of test cases in fanotify is still below 10, so I was hoping
this addition is still acceptable.

Thanks,
Amir.

Amir Goldstein (4):
  fanotify14: Test invalid init flags with permission and pre-content
    events
  fanotify03: Add test cases for permission events on children
  fanotify24: Add test for FAN_PRE_ACCESS and FAN_DENY_ERRNO
  fanotify24: Test open for write of executable files with pre-content
    watch

 include/lapi/fanotify.h                       |  12 +
 runtest/syscalls                              |   1 +
 testcases/kernel/syscalls/fanotify/.gitignore |   1 +
 testcases/kernel/syscalls/fanotify/fanotify.h |   3 +
 .../kernel/syscalls/fanotify/fanotify03.c     |  47 +-
 .../kernel/syscalls/fanotify/fanotify14.c     |  20 +
 .../kernel/syscalls/fanotify/fanotify24.c     | 472 ++++++++++++++++++
 7 files changed, 550 insertions(+), 6 deletions(-)
 create mode 100644 testcases/kernel/syscalls/fanotify/fanotify24.c

-- 
2.34.1


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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-02-28 20:11 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10 15:13 [LTP] [PATCH 0/4] New tests for fanotify pre-content events Amir Goldstein
2025-02-10 15:13 ` [LTP] [PATCH 1/4] fanotify14: Test invalid init flags with permission and " Amir Goldstein
2025-02-10 15:19   ` Jan Kara
2025-02-11 17:55     ` Petr Vorel
2025-02-10 15:13 ` [LTP] [PATCH 2/4] fanotify03: Add test cases for permission events on children Amir Goldstein
2025-02-10 15:24   ` Jan Kara
2025-02-10 16:55     ` Amir Goldstein
2025-02-11 17:56       ` Petr Vorel
2025-02-12 12:35         ` Jan Kara
2025-02-13  7:54           ` Petr Vorel
2025-02-10 15:13 ` [LTP] [PATCH 3/4] fanotify24: Add test for FAN_PRE_ACCESS and FAN_DENY_ERRNO Amir Goldstein
2025-02-10 15:43   ` Jan Kara
2025-02-10 17:06     ` Amir Goldstein
2025-02-11 19:09       ` Petr Vorel
2025-02-11 20:12         ` Amir Goldstein
2025-02-20 20:42           ` Petr Vorel
2025-02-21 13:26             ` Petr Vorel
2025-02-21 13:37               ` Amir Goldstein
2025-02-28 20:11   ` Heiko Carstens
2025-02-10 15:13 ` [LTP] [PATCH 4/4] fanotify24: Test open for write of executable files with pre-content watch Amir Goldstein
2025-02-10 15:59   ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox