Move sysctl check into debugging section and don't make it default y

I noticed that sysctl_check.o was the largest object file in
a allnoconfig build in kernel/*.

36243 0 0 36243 8d93 kernel/sysctl_check.o

This is because it was default y and && EMBEDDED. But I don't
really see a need for a non kernel developer to have their
sysctls checked all the time.

So move the Kconfig into the kernel debugging section and
also drop the default y and the EMBEDDED check.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Andi Kleen and committed by Linus Torvalds 9e94cd32 9c0d2a20

+8 -11
-11
init/Kconfig
··· 558 559 If unsure say Y here. 560 561 - config SYSCTL_SYSCALL_CHECK 562 - bool "Sysctl checks" if EMBEDDED 563 - depends on SYSCTL_SYSCALL 564 - default y 565 - ---help--- 566 - sys_sysctl uses binary paths that have been found challenging 567 - to properly maintain and use. This enables checks that help 568 - you to keep things correct. 569 - 570 - If unsure say Y here. 571 - 572 config KALLSYMS 573 bool "Load all symbols for debugging/ksymoops" if EMBEDDED 574 default y
··· 558 559 If unsure say Y here. 560 561 config KALLSYMS 562 bool "Load all symbols for debugging/ksymoops" if EMBEDDED 563 default y
+8
lib/Kconfig.debug
··· 693 Enable this option if you want to use the LatencyTOP tool 694 to find out which userspace is blocking on what kernel operations. 695 696 source kernel/trace/Kconfig 697 698 config PROVIDE_OHCI1394_DMA_INIT
··· 693 Enable this option if you want to use the LatencyTOP tool 694 to find out which userspace is blocking on what kernel operations. 695 696 + config SYSCTL_SYSCALL_CHECK 697 + bool "Sysctl checks" 698 + depends on SYSCTL_SYSCALL 699 + ---help--- 700 + sys_sysctl uses binary paths that have been found challenging 701 + to properly maintain and use. This enables checks that help 702 + you to keep things correct. 703 + 704 source kernel/trace/Kconfig 705 706 config PROVIDE_OHCI1394_DMA_INIT