[RFC 1/2] Arch: Kconfig: Disable obsolete syscalls

From: Fabian Frederick
Date: Wed Feb 12 2014 - 16:01:56 EST


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@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/