[LTP] [PATCH v3] syscalls/unshare: New test: CLONE_NEWNS unshares fs info

Cyril Hrubis chrubis@suse.cz
Fri Apr 25 14:10:58 CEST 2025


Hi!
I've adjusted the test description a bit and pushed, thanks!


I've clarified what we are testing that CWD is being unshared with:


diff --git a/testcases/kernel/syscalls/unshare/unshare04.c b/testcases/kernel/syscalls/unshare/unshare04.c
index 5b3e5d98f..4305c5cb1 100644
--- a/testcases/kernel/syscalls/unshare/unshare04.c
+++ b/testcases/kernel/syscalls/unshare/unshare04.c
@@ -4,9 +4,8 @@
  */

 /*\
- * This test case is to verify unshare(CLONE_NEWNS) also unshares filesystem
- * information.
- *
+ * This test case is to verify unshare(CLONE_NEWNS) also unshares process
+ * working directory.
  */

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list