All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix EMBEDDED + SYSCTL menu
@ 2006-09-29  3:42 Randy Dunlap
  2006-09-29 16:05 ` Adrian Bunk
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2006-09-29  3:42 UTC (permalink / raw)
  To: lkml; +Cc: akpm, 76306.1226, ebiederm

From: Randy Dunlap <rdunlap@xenotime.net>

SYSCTL should still depend on EMBEDDED.  This unbreaks the
EMBEDDED menu (from the recent SYSCTL_SYCALL menu option patch).

Fix typos in new SYSCTL_SYSCALL menu.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 init/Kconfig |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

--- linux-2618-g10.orig/init/Kconfig
+++ linux-2618-g10/init/Kconfig
@@ -257,6 +257,9 @@ config CC_OPTIMIZE_FOR_SIZE
 
 	  If unsure, say N.
 
+config SYSCTL
+	bool
+
 menuconfig EMBEDDED
 	bool "Configure standard kernel features (for small systems)"
 	help
@@ -272,11 +275,8 @@ config UID16
 	help
 	  This enables the legacy 16-bit UID syscall wrappers.
 
-config SYSCTL
-	bool
-
 config SYSCTL_SYSCALL
-	bool "Sysctl syscall support"
+	bool "Sysctl syscall support" if EMBEDDED
 	default n
 	select SYSCTL
 	---help---
@@ -285,11 +285,11 @@ config SYSCTL_SYSCALL
 	  and use.  The interface in /proc/sys is now the primary and what
 	  everyone uses.
 
-	  Nothing has been using the binary sysctl interface for some time
+	  Nothing has been using the binary sysctl interface for some
 	  time now so nothing should break if you disable sysctl syscall
-	  support, and you kernel will get marginally smaller.
+	  support, and your kernel will get marginally smaller.
 
-	  Unless you have an application that uses the sys_syscall interface
+	  Unless you have an application that uses the sys_sysctl interface
  	  you should probably say N here.
 
 config KALLSYMS


---

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] fix EMBEDDED + SYSCTL menu
  2006-09-29  3:42 [PATCH] fix EMBEDDED + SYSCTL menu Randy Dunlap
@ 2006-09-29 16:05 ` Adrian Bunk
  2006-09-29 16:24   ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2006-09-29 16:05 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml, akpm, 76306.1226, ebiederm

On Thu, Sep 28, 2006 at 08:42:51PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> SYSCTL should still depend on EMBEDDED.  This unbreaks the
> EMBEDDED menu (from the recent SYSCTL_SYCALL menu option patch).
> 
> Fix typos in new SYSCTL_SYSCALL menu.
> 
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> ---
>  init/Kconfig |   14 +++++++-------
>  1 files changed, 7 insertions(+), 7 deletions(-)
> 
> --- linux-2618-g10.orig/init/Kconfig
> +++ linux-2618-g10/init/Kconfig
> @@ -257,6 +257,9 @@ config CC_OPTIMIZE_FOR_SIZE
>  
>  	  If unsure, say N.
>  
> +config SYSCTL
> +	bool
> +
>  menuconfig EMBEDDED
>  	bool "Configure standard kernel features (for small systems)"
>  	help
> @@ -272,11 +275,8 @@ config UID16
>  	help
>  	  This enables the legacy 16-bit UID syscall wrappers.
>  
> -config SYSCTL
> -	bool
> -

ACK

>  config SYSCTL_SYSCALL
> -	bool "Sysctl syscall support"
> +	bool "Sysctl syscall support" if EMBEDDED
>  	default n
>  	select SYSCTL
>  	---help---
>...

You could achieve the same by removing the option...

Simply move SYSCTL_SYSCALL to the same place you are moving SYSCTL to 
without fiddling with the dependencies.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] fix EMBEDDED + SYSCTL menu
  2006-09-29 16:05 ` Adrian Bunk
@ 2006-09-29 16:24   ` Randy Dunlap
  2006-09-30  0:55     ` Eric W. Biederman
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2006-09-29 16:24 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: lkml, akpm, 76306.1226, ebiederm

On Fri, 29 Sep 2006 18:05:21 +0200 Adrian Bunk wrote:

> On Thu, Sep 28, 2006 at 08:42:51PM -0700, Randy Dunlap wrote:
> > From: Randy Dunlap <rdunlap@xenotime.net>
> > 
> > SYSCTL should still depend on EMBEDDED.  This unbreaks the
> > EMBEDDED menu (from the recent SYSCTL_SYCALL menu option patch).
> > 
> > Fix typos in new SYSCTL_SYSCALL menu.
> > 
> > Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> > ---
> >  init/Kconfig |   14 +++++++-------
> >  1 files changed, 7 insertions(+), 7 deletions(-)
> > 
> > --- linux-2618-g10.orig/init/Kconfig
> > +++ linux-2618-g10/init/Kconfig
> > @@ -257,6 +257,9 @@ config CC_OPTIMIZE_FOR_SIZE
> >  
> >  	  If unsure, say N.
> >  
> > +config SYSCTL
> > +	bool
> > +
> >  menuconfig EMBEDDED
> >  	bool "Configure standard kernel features (for small systems)"
> >  	help
> > @@ -272,11 +275,8 @@ config UID16
> >  	help
> >  	  This enables the legacy 16-bit UID syscall wrappers.
> >  
> > -config SYSCTL
> > -	bool
> > -
> 
> ACK
> 
> >  config SYSCTL_SYSCALL
> > -	bool "Sysctl syscall support"
> > +	bool "Sysctl syscall support" if EMBEDDED
> >  	default n
> >  	select SYSCTL
> >  	---help---
> >...
> 
> You could achieve the same by removing the option...
> 
> Simply move SYSCTL_SYSCALL to the same place you are moving SYSCTL to 
> without fiddling with the dependencies.

Yes, I realize that (I even had that patch earlier).
I don't care which way it's done.  Eric, any preference here?

---
~Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] fix EMBEDDED + SYSCTL menu
  2006-09-29 16:24   ` Randy Dunlap
@ 2006-09-30  0:55     ` Eric W. Biederman
  0 siblings, 0 replies; 4+ messages in thread
From: Eric W. Biederman @ 2006-09-30  0:55 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Adrian Bunk, lkml, akpm, 76306.1226, ebiederm

Randy Dunlap <rdunlap@xenotime.net> writes:

> On Fri, 29 Sep 2006 18:05:21 +0200 Adrian Bunk wrote:
>
>> On Thu, Sep 28, 2006 at 08:42:51PM -0700, Randy Dunlap wrote:
>> > From: Randy Dunlap <rdunlap@xenotime.net>
>> > 
>> > SYSCTL should still depend on EMBEDDED.  This unbreaks the
>> > EMBEDDED menu (from the recent SYSCTL_SYCALL menu option patch).
>> > 
>> > Fix typos in new SYSCTL_SYSCALL menu.
>> > 
>> > Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
>> > ---
>> >  init/Kconfig |   14 +++++++-------
>> >  1 files changed, 7 insertions(+), 7 deletions(-)
>> > 
>> > --- linux-2618-g10.orig/init/Kconfig
>> > +++ linux-2618-g10/init/Kconfig
>> > @@ -257,6 +257,9 @@ config CC_OPTIMIZE_FOR_SIZE
>> >  
>> >  	  If unsure, say N.
>> >  
>> > +config SYSCTL
>> > +	bool
>> > +
>> >  menuconfig EMBEDDED
>> >  	bool "Configure standard kernel features (for small systems)"
>> >  	help
>> > @@ -272,11 +275,8 @@ config UID16
>> >  	help
>> >  	  This enables the legacy 16-bit UID syscall wrappers.
>> >  
>> > -config SYSCTL
>> > -	bool
>> > -
>> 
>> ACK
>> 
>> >  config SYSCTL_SYSCALL
>> > -	bool "Sysctl syscall support"
>> > +	bool "Sysctl syscall support" if EMBEDDED
>> >  	default n
>> >  	select SYSCTL
>> >  	---help---
>> >...
>> 
>> You could achieve the same by removing the option...
>> 
>> Simply move SYSCTL_SYSCALL to the same place you are moving SYSCTL to 
>> without fiddling with the dependencies.
>
> Yes, I realize that (I even had that patch earlier).
> I don't care which way it's done.  Eric, any preference here?

Not really.  The point of this patch is to bring the sys_sysctl discussion
to a conclusion.  Either we don't support it and no one uses it.  Or
someone actually uses it so we need to support it.  The stupid case in
glibc where it tests for an SMP kernel when it should be using uname
and has a fallback into /proc/sys doesn't count.

Eric

p.s.  I'm confused I only saw this message through lkml.  I'm wondering
why haven't I gotten it normally yet.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-30  0:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-29  3:42 [PATCH] fix EMBEDDED + SYSCTL menu Randy Dunlap
2006-09-29 16:05 ` Adrian Bunk
2006-09-29 16:24   ` Randy Dunlap
2006-09-30  0:55     ` Eric W. Biederman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.