summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-03-23 19:41:00 +0300
committerChristian Brauner <brauner@kernel.org>2026-04-14 10:30:57 +0300
commitd38aa6cdee8e09d77ce3a6c5b04800fb3b146d69 (patch)
treea7db43e43f66bc30a8935445f68f71cd08fcba47
parent1a398a23787506360b4c766270de00abf51b27c8 (diff)
downloadlinux-d38aa6cdee8e09d77ce3a6c5b04800fb3b146d69.tar.xz
selftests/empty_mntns: fix wrong CLONE_EMPTY_MNTNS hex value in comment
CLONE_EMPTY_MNTNS is (1ULL << 37) = 0x2000000000ULL, not 0x400000000ULL. Fixes: 5b8ffd63fbd9 ("selftests/filesystems: add clone3 tests for empty mount namespaces") Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--tools/testing/selftests/filesystems/empty_mntns/clone3_empty_mntns_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/filesystems/empty_mntns/clone3_empty_mntns_test.c b/tools/testing/selftests/filesystems/empty_mntns/clone3_empty_mntns_test.c
index d800f661cb7b..6370086f886d 100644
--- a/tools/testing/selftests/filesystems/empty_mntns/clone3_empty_mntns_test.c
+++ b/tools/testing/selftests/filesystems/empty_mntns/clone3_empty_mntns_test.c
@@ -4,7 +4,7 @@
*
* These tests exercise the clone3() code path for creating empty mount
* namespaces, which is distinct from the unshare() path tested in
- * empty_mntns_test.c. With clone3(), CLONE_EMPTY_MNTNS (0x400000000ULL)
+ * empty_mntns_test.c. With clone3(), CLONE_EMPTY_MNTNS (0x2000000000ULL)
* is a 64-bit flag that implies CLONE_NEWNS. The implication happens in
* kernel_clone() before copy_process(), unlike unshare() where it goes
* through UNSHARE_EMPTY_MNTNS -> CLONE_EMPTY_MNTNS conversion in