[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20140212210306.0c143411c25ffaaadc405701@skynet.be>
Date: Wed, 12 Feb 2014 21:03:06 +0800
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel@...r.kernel.org
Cc: akpm <akpm@...ux-foundation.org>, rdunlap <rdunlap@...radead.org>
Subject: [RFC 1/2] Arch: Kconfig: Disable obsolete syscalls
This patch adds a generic configuration flag to disable obsolete
system calls (ie no longer supported by current c libraries).
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
arch/Kconfig | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/Kconfig b/arch/Kconfig
index 80bbb8c..e9bd58f 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -522,4 +522,13 @@ config OLD_SIGACTION
config COMPAT_OLD_SIGACTION
bool
+config DISABLE_OBSOLETE_SYSCALLS
+ bool "Disable obsolete system calls"
+ help
+ Optimize your kernel by disabling system calls no longer
+ supported by current c libraries. Only officially obsolete
+ system calls feature here however be warned that meanwhile
+ this improves security, this option can break compliance
+ with other systems.
+
source "kernel/gcov/Kconfig"
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists