lkml.org 
[lkml]   [2008]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sysctl: allow embedded targets to disable sysctl_check.c
On Thu, 7 Feb 2008 14:38:58 +0100 Holger Schurig <hs4233@mail.mn-solutions.de> 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.
> +



\
 
 \ /
  Last update: 2008-02-08 04:49    [W:0.114 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site