[PATCH] Restore sysctl syscall option for non-embedded users

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

 



On Tue, 17 Oct 2006, Randy Dunlap wrote:

> On Tue, 17 Oct 2006 16:59:10 +0100 Jan Beulich wrote:
> 
> > What is the purpose of
> > 
> > config SYSCTL_SYSCALL
> > 	bool "Sysctl syscall support" if EMBEDDED
> > 	default n
> > 
> > Allowing only embedded to turn this *on* ? Normally, you want
> > embedded to have more freedom in turning stuff off, so this
> > looks odd to me (and on one of my older boxes I definitely have
> > at least one OS-provided tool that uses this syscall, so I'd like
> > to be able to turn it on.
> 
> You can't enable it (after enabling EMBEDDED)?
> 
> Feel free to send a patch to remove /if EMBEDDED/
> and move the Kconfig entry up above all of the EMBEDDED options.

My dmesg gets spammed to all hell with these warnings. Can we keep this 
option easily visible till it gets ripped out Jan of 2007 (see 
Documentation/feature-removal-schedule.txt for reference)?

From: Cal Peake <[email protected]>

Restore the deprecated sysctl system call option for non-embedded users 
and mark it clearly deprecated.

Signed-off-by: Cal Peake <[email protected]>

--- ./init/Kconfig~orig	2006-10-17 13:52:05.000000000 -0400
+++ ./init/Kconfig	2006-10-17 13:58:25.000000000 -0400
@@ -286,24 +286,8 @@ config TASK_XACCT
 config SYSCTL
 	bool
 
-menuconfig EMBEDDED
-	bool "Configure standard kernel features (for small systems)"
-	help
-	  This option allows certain base kernel options and settings
-          to be disabled or tweaked. This is for specialized
-          environments which can tolerate a "non-standard" kernel.
-          Only use this if you really know what you are doing.
-
-config UID16
-	bool "Enable 16-bit UID system calls" if EMBEDDED
-	depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION)
-	default y
-	help
-	  This enables the legacy 16-bit UID syscall wrappers.
-
 config SYSCTL_SYSCALL
-	bool "Sysctl syscall support" if EMBEDDED
-	default n
+	bool "Sysctl syscall support (DEPRECATED)"
 	select SYSCTL
 	---help---
 	  Enable the deprecated sysctl system call.  sys_sysctl uses
@@ -318,6 +302,21 @@ config SYSCTL_SYSCALL
 	  Unless you have an application that uses the sys_sysctl interface
  	  you should probably say N here.
 
+menuconfig EMBEDDED
+	bool "Configure standard kernel features (for small systems)"
+	help
+	  This option allows certain base kernel options and settings
+          to be disabled or tweaked. This is for specialized
+          environments which can tolerate a "non-standard" kernel.
+          Only use this if you really know what you are doing.
+
+config UID16
+	bool "Enable 16-bit UID system calls" if EMBEDDED
+	depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION)
+	default y
+	help
+	  This enables the legacy 16-bit UID syscall wrappers.
+
 config KALLSYMS
 	 bool "Load all symbols for debugging/kksymoops" if EMBEDDED
 	 default y
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux