Re: [PATCH] sysctl: allow embedded targets to disablesysctl_check.c

From: Andrew Morton
Date: Thu Feb 07 2008 - 22:47:48 EST


On Thu, 7 Feb 2008 14:38:58 +0100 Holger Schurig <hs4233@xxxxxxxxxxxxxxxxxxxx> wrote:

> Disable sysctl_check.c for embedded targets. This saves about about 11 kB
> in .text and another 11 kB in .data on a PXA255 embedded platform.
>

Nice improvement. But iirc sysctl_check was overtly a temporary thing.
Eric, was that the intention?

>
> --- linux.orig/init/Kconfig
> +++ linux/init/Kconfig
> @@ -475,6 +475,17 @@
>
> If unsure say Y here.
>
> +config SYSCTL_SYSCALL_CHECK
> + bool "Sysctl checks" if EMBEDDED
> + depends on SYSCTL_SYSCALL
> + default y
> + ---help---
> + sys_sysctl uses binary paths that have been found challenging
> + to properly maintain and use. This enables checks that help
> + you to keep things correct.
> +
> + If unsure say Y here.
> +

--
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/