Skip to content

fanotify tests for v5.13

Amir Goldstein ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8syscalls/fanotify05: Fix test output when not getting overflowtestcases/kernel/syscalls/fanotify/fanotify05.c+34 -160 replies
2/8syscalls/fanotify05: Verify events are received by queue ordertestcases/kernel/syscalls/fanotify/fanotify05.c+30 -10 replies
3/8syscalls/fanotify05: Verify getting a single overflow eventtestcases/kernel/syscalls/fanotify/fanotify05.c+17 -90 replies
4/8syscalls/fanotify05: Add a test case for unlimited queuetestcases/kernel/syscalls/fanotify/fanotify05.c+33 -80 replies
5/8syscalls/fanotify05: adjust test to tunable max_queued_eventstestcases/kernel/syscalls/fanotify/fanotify05.c+14 -30 replies
6/8syscalls/fanotify: New test for fanotify user limitsruntest/syscalls testcases/kernel/syscalls/fanotify/.gitignore testcases/kernel/syscalls/fanotify/fanotify.h +1 more+271 -00 replies
7/8syscalls/fanotify: New test to validate unprivileged user permissionsruntest/syscalls testcases/kernel/syscalls/fanotify/.gitignore testcases/kernel/syscalls/fanotify/fanotify18.c+200 -00 replies
8/8syscalls/fanotify: New test to validate unprivileged listener eventsruntest/syscalls testcases/kernel/syscalls/fanotify/.gitignore testcases/kernel/syscalls/fanotify/fanotify19.c+255 -00 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr Vorel
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [LTP] [PATCH 0/8] fanotify tests for v5.13

Hi Petr,

Following tests were used for development of the two features queued for v5.13 (in linux-next):
- Performance improvements for events merge [1]
- Unprivileged fanotify listener [2]

All test cases of fanotify05 pass on upstream, but their runtime on linux-next is reduced by more than half.

Only the first test case of fanotify17 pass on upstream. The rest of the test cases as well as fanotify18 and fanotify19 tests exit with TCONF on upstream. They all pass on linux-next.

Thanks,
Amir.

[1] https://lore.kernel.org/linux-fsdevel/[email protected]/
[2] https://lore.kernel.org/linux-fsdevel/[email protected]/

Amir Goldstein (8):
syscalls/fanotify05: Fix test output when not getting overflow syscalls/fanotify05: Verify events are received by queue order syscalls/fanotify05: Verify getting a single overflow event syscalls/fanotify05: Add a test case for unlimited queue syscalls/fanotify05: adjust test to tunable max_queued_events syscalls/fanotify: New test for fanotify user limits syscalls/fanotify: New test to validate unprivileged user permissions syscalls/fanotify: New test to validate unprivileged listener events

 runtest/syscalls                              |   3 +
 testcases/kernel/syscalls/fanotify/.gitignore |   3 +
 testcases/kernel/syscalls/fanotify/fanotify.h |   3 +
 .../kernel/syscalls/fanotify/fanotify05.c     | 147 ++++++++--
 .../kernel/syscalls/fanotify/fanotify17.c     | 266 ++++++++++++++++++
 .../kernel/syscalls/fanotify/fanotify18.c     | 198 +++++++++++++
 .../kernel/syscalls/fanotify/fanotify19.c     | 253 +++++++++++++++++
 7 files changed, 845 insertions(+), 28 deletions(-)
 create mode 100644 testcases/kernel/syscalls/fanotify/fanotify17.c
 create mode 100644 testcases/kernel/syscalls/fanotify/fanotify18.c
 create mode 100644 testcases/kernel/syscalls/fanotify/fanotify19.c
Signature · 1 line
2.25.1