syscalls/fanotify26: Move from staging to syscalls
PATCH 1/1 syscalls/fanotify26: Move from staging to syscalls
The kernel fix the second test case needs, commit c3d355f427ce ("fs:
let backing files inherit FMODE_NONOTIFY from the user file"), was merged into Linus' tree on 2026-10-30 and will appear in v7.4-rc1.
Move the test out of runtest/staging, and record the fix in a linux-git tag so that a failure points at the missing kernel commit rather than at the test.
---
The follow-up Petr asked for on the fanotify26 thread:
https://lore.kernel.org/ltp/20261030110233.GA66190@pevik/
The fix is in Linus' tree as of 2026-10-30, but v7.4-rc1 is not tagged yet, so if you would rather hold this until the rc is out, please do.
Kernel commit:
https://git.kernel.org/torvalds/c/c3d355f427cea70fbe31b49e21f1915dbf37f2e6
Both test cases pass on a kernel carrying the fix, and the second one fails without it; that is unchanged by this patch, which only moves the runtest entry and adds the tag.
runtest/staging | 1 - runtest/syscalls | 1 + testcases/kernel/syscalls/fanotify/fanotify26.c | 4 ++++ 3 files changed, 5 insertions(+), 1 deletion(-)
runtest/staging +0 -1
@@ -1,2 +1 @@ # Tests for features that are not yet in the stable kernel ABI -fanotify26 fanotify26
runtest/syscalls +1 -0
@@ -703,6 +703,7 @@ fanotify22 fanotify22 fanotify23 fanotify23 fanotify24 fanotify24 fanotify25 fanotify25 +fanotify26 fanotify26 ioperm01 ioperm01 ioperm02 ioperm02
testcases/kernel/syscalls/fanotify/fanotify26.c +4 -0
@@ -192,6 +192,10 @@ static struct tst_test test = { .mount_device = 1, .needs_overlay = 1, .mntpoint = OVL_BASE_MNTPOINT, + .tags = (const struct tst_tag []) { + {"linux-git" ,"c3d355f427cea70fbe31b49e21f1915dbf37f2e6" }, + {} + } };#else
Signature · 5 lines
2.56.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Edvard,
Quoted 14 lines · Edvard Conrad
syscalls/fanotify26: Move from staging to syscalls
runtest/staging +0
-1@@ -1,2 +1 @@ # Tests for features that are not yet in the stable kernel ABI -fanotify26 fanotify26runtest/syscalls +0
-0
runtest/syscalls fanotify22 fanotify22 · line 706
Quoted 4 lines
runtest/syscalls +1
-0@@ -703,6 +703,7 @@ fanotify22 fanotify22 fanotify23 fanotify23 fanotify24 fanotify24 fanotify25 fanotify25 +fanotify26 fanotify26
Kernel commit c3d355f427ce targets v7.4-rc1, while the latest stable kernel release is v7.3. Tests that depend on kernel changes not yet in a finalized mainline release must remain in runtest/staging until v7.4 is released. Keep fanotify26 in runtest/staging until v7.4 is out, or split the linux-git tag addition into its own patch if needed now.
Verdict - Needs revision
---
Note:
The agent can sometimes produce false positives although often its findings are genuine. If you find issues with the review, please comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Quoted 9 lines · Edvard Conrad
The kernel fix the second test case needs, commit
c3d355f427ce("fs:
let backing files inheritFMODE_NONOTIFYfrom the user file"), was merged into Linus' tree on 2026-10-30 and will appear in v7.4-rc1.Move the test out of runtest/staging, and record the fix in a linux-git tag so that a failure points at the missing kernel commit rather than at the test.
Quoted 7 lines
Signed-off-by Edvard Conrad <[email protected]>---
The follow-up Petr asked for on the fanotify26 thread:
https://lore.kernel.org/ltp/20261030110233.GA66190@pevik/The fix is in Linus' tree as of 2026-10-30, but v7.4-rc1 is not tagged yet, so if you would rather hold this until the rc is out, please do.
Not only is rc1 not out yet, but we already have a report on the dir open bug for which you have added another test case. So I think it is best wait for the other bug fix to land, hopefully sometime next week before moving the test out of staging.
On the other hand, Petr, this is not a new feature, it is a real bug fix. Are we holding off on running tests on newly found bugs
until those bugs are fixed upstream?
Hopefully there is not going to be a large time gap between bug report and bug fix, so it does not matter much. I was just wondering about best practice.
Thanks,
Amir.
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Quoted 2 lines · Amir Goldstein
So I think it is best wait for the other bug fix to land, hopefully sometime next week before moving the test out of staging.
Agreed. Petr, please drop this one. Once the directory fix has landed I will send a single patch that moves fanotify26 to runtest/syscalls with linux-git tags for both fixes, at whatever point you prefer for the move.
Thanks,
Edvard
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Quoted 3 lines
On the other hand, Petr, this is not a new feature, it is a real bug fix. Are we holding off on running tests on newly found bugs
until those bugs are fixed upstream?
I do not think that we need to hold off tests for bugs. The rule we have has been introduced since newly added kernel ABIs are subject to change in the rc phases.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi all,
Quoted 8 lines
Hi!
Quoted 3 lines
On the other hand, Petr, this is not a new feature, it is a real bug fix. Are we holding off on running tests on newly found bugs
until those bugs are fixed upstream?I do not think that we need to hold off tests for bugs. The rule we have has been introduced since newly added kernel ABIs are subject to change in the rc phases.
Yes that's true, this is a different case. Anyway, if all distro users test with LTP releases (they are using master branch), I'm ok to merge before fix is merged and it's hash added to the test.
We are using LTP master branch for testing SLES in development and openSUSE Tumbleweed, filtering these errors involves some work, but that's ok.
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi all,
Quoted 11 lines
Hi all,
Quoted 8 lines
Hi!
Quoted 3 lines
On the other hand, Petr, this is not a new feature, it is a real bug fix. Are we holding off on running tests on newly found bugs
until those bugs are fixed upstream?I do not think that we need to hold off tests for bugs. The rule we have has been introduced since newly added kernel ABIs are subject to change in the rc phases.
Quoted 6 lines
Yes that's true, this is a different case. Anyway, if all distro users test with LTP releases (they are using master branch), I'm ok to merge before fix is merged and it's hash added to the test.
We are using LTP master branch for testing SLES in development and openSUSE Tumbleweed, filtering these errors involves some work, but that's ok.
OK, v7.4-rc1 is out and Amir and Cyril pointed out this is a regression test for a real (old) bug not a new feature. I rebased the patch and merged.
Thanks!
Kind regards,
Petr
Quoted 2 lines
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp