diff mbox series

[OpenWrt-Devel,2/2] config: kernel: remove KERNEL_LXC_MISC

Message ID 20190910103924.1215-2-yszhou4tech@gmail.com
State Accepted, archived
Delegated to: Yousong Zhou
Headers show
Series [OpenWrt-Devel,1/2] config: kernel: add KERNEL_X86_VSYSCALL_EMULATION | expand

Commit Message

Yousong Zhou Sept. 10, 2019, 10:39 a.m. UTC
Kernel features are neutral.  The two cascaded features can also be
useful for other container related tools

It's also less error-prone if only kconfig symbols from the kernel are
prefixed KERNEL_

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
---
Changes will also need to be applied to packages feed, see [1]

 [1] https://github.com/openwrt/packages/pull/9958

 config/Config-kernel.in | 55 +++++++++++++++++------------------------
 1 file changed, 22 insertions(+), 33 deletions(-)
diff mbox series

Patch

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index d9a9fe687f..310c6dfd07 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -623,41 +623,30 @@  if KERNEL_NAMESPACES
 
 endif
 
-#
-# LXC related symbols
-#
-
-config KERNEL_LXC_MISC
-	bool "Enable miscellaneous LXC related options"
-	default y if !SMALL_FLASH
-
-if KERNEL_LXC_MISC
-
-	config KERNEL_DEVPTS_MULTIPLE_INSTANCES
-		bool "Support multiple instances of devpts"
-		default y
-		help
-		  Enable support for multiple instances of devpts filesystem.
-		  If you want to have isolated PTY namespaces (eg: in containers),
-		  say Y here. Otherwise, say N. If enabled, each mount of devpts
-		  filesystem with the '-o newinstance' option will create an
-		  independent PTY namespace.
-
-	config KERNEL_POSIX_MQUEUE
-		bool "POSIX Message Queues"
-		default y
-		help
-		  POSIX variant of message queues is a part of IPC. In POSIX message
-		  queues every message has a priority which decides about succession
-		  of receiving it by a process. If you want to compile and run
-		  programs written e.g. for Solaris with use of its POSIX message
-		  queues (functions mq_*) say Y here.
+config KERNEL_DEVPTS_MULTIPLE_INSTANCES
+	bool "Support multiple instances of devpts"
+	default y
+	help
+	  Enable support for multiple instances of devpts filesystem.
+	  If you want to have isolated PTY namespaces (eg: in containers),
+	  say Y here. Otherwise, say N. If enabled, each mount of devpts
+	  filesystem with the '-o newinstance' option will create an
+	  independent PTY namespace.
+
+config KERNEL_POSIX_MQUEUE
+	bool "POSIX Message Queues"
+	default y
+	help
+	  POSIX variant of message queues is a part of IPC. In POSIX message
+	  queues every message has a priority which decides about succession
+	  of receiving it by a process. If you want to compile and run
+	  programs written e.g. for Solaris with use of its POSIX message
+	  queues (functions mq_*) say Y here.
 
-		  POSIX message queues are visible as a filesystem called 'mqueue'
-		  and can be mounted somewhere if you want to do filesystem
-		  operations on message queues.
+	  POSIX message queues are visible as a filesystem called 'mqueue'
+	  and can be mounted somewhere if you want to do filesystem
+	  operations on message queues.
 
-endif
 
 config KERNEL_SECCOMP_FILTER
 	bool