[PATCH 1/1] selftests: config: add dependencies on CONFIG_EXPERT and CONFIG_NAMESPACES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enabling user namespace in the config fragments isn't enough to ensure it
is enabled. User namespace depends on namespaces to be enabled.
In turn, namespaces depends on the expert mode to be enabled too.
Add the dependencies to CONFIG_EXPERT and CONFIG_NAMESPACES in the user
namespace related config fragments (mount, net and nsfs tests).

Signed-off-by: Fathi Boudra <fathi.boudra@xxxxxxxxxx>
---
 tools/testing/selftests/mount/config | 2 ++
 tools/testing/selftests/net/config   | 2 ++
 tools/testing/selftests/nsfs/config  | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/tools/testing/selftests/mount/config b/tools/testing/selftests/mount/config
index b5d881e48548..895f50c2ce19 100644
--- a/tools/testing/selftests/mount/config
+++ b/tools/testing/selftests/mount/config
@@ -1,2 +1,4 @@
+CONFIG_EXPERT=y
+CONFIG_NAMESPACES=y
 CONFIG_USER_NS=y
 CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config
index e57b4ac40e72..c16e6cfb03c1 100644
--- a/tools/testing/selftests/net/config
+++ b/tools/testing/selftests/net/config
@@ -1,3 +1,5 @@
+CONFIG_EXPERT=y
+CONFIG_NAMESPACES=y
 CONFIG_USER_NS=y
 CONFIG_BPF_SYSCALL=y
 CONFIG_TEST_BPF=m
diff --git a/tools/testing/selftests/nsfs/config b/tools/testing/selftests/nsfs/config
index 598d0a225fc9..f799f3ae9fa2 100644
--- a/tools/testing/selftests/nsfs/config
+++ b/tools/testing/selftests/nsfs/config
@@ -1,3 +1,5 @@
+CONFIG_EXPERT=y
+CONFIG_NAMESPACES=y
 CONFIG_USER_NS=y
 CONFIG_UTS_NS=y
 CONFIG_PID_NS=y
-- 
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux