All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] syscalls/fanotify26: Move from staging to syscalls
@ 2026-10-31 17:31 Edvard Conrad via ltp
  2026-10-31 19:37 ` [LTP] " linuxtestproject.agent
  0 siblings, 1 reply; 2+ messages in thread
From: Edvard Conrad via ltp @ 2026-10-31 17:31 UTC (permalink / raw)
  To: ltp@lists.linux.it; +Cc: Amir Goldstein, Jan Kara, Edvard Conrad

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.

Signed-off-by: Edvard Conrad <edvard@tuta.io>
---
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(-)

diff --git a/runtest/staging b/runtest/staging
index 2ce76b119..ef1cdea15 100644
--- a/runtest/staging
+++ b/runtest/staging
@@ -1,2 +1 @@
 # Tests for features that are not yet in the stable kernel ABI
-fanotify26 fanotify26
diff --git a/runtest/syscalls b/runtest/syscalls
index ff3de1b15..23d3e21ef 100644
--- a/runtest/syscalls
+++ b/runtest/syscalls
@@ -703,6 +703,7 @@ fanotify22 fanotify22
 fanotify23 fanotify23
 fanotify24 fanotify24
 fanotify25 fanotify25
+fanotify26 fanotify26
 
 ioperm01 ioperm01
 ioperm02 ioperm02
diff --git a/testcases/kernel/syscalls/fanotify/fanotify26.c b/testcases/kernel/syscalls/fanotify/fanotify26.c
index 8741cd560..63d7eea0f 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify26.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify26.c
@@ -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
-- 
2.56.0


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

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

end of thread, other threads:[~2026-10-31 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-31 17:31 [LTP] [PATCH] syscalls/fanotify26: Move from staging to syscalls Edvard Conrad via ltp
2026-10-31 19:37 ` [LTP] " linuxtestproject.agent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.