[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090626173026.GB7337@hmsreliant.think-freely.org>
Date: Fri, 26 Jun 2009 13:30:26 -0400
From: Neil Horman <nhorman@...driver.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, earl_chew@...lent.com,
Oleg Nesterov <oleg@...hat.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Andi Kleen <andi@...stfloor.org>
Subject: Re: [PATCH] exec: Make do_coredump more robust and safer when
using pipes in core_pattern
On Fri, Jun 26, 2009 at 09:20:01AM -0700, Andrew Morton wrote:
> On Fri, 26 Jun 2009 06:48:04 -0400 Neil Horman <nhorman@...driver.com> wrote:
>
> > > > --- a/kernel/sysctl.c
> > > > +++ b/kernel/sysctl.c
> > > > @@ -75,6 +75,7 @@ extern int max_threads;
> > > > extern int core_uses_pid;
> > > > extern int suid_dumpable;
> > > > extern char core_pattern[];
> > > > +extern unsigned int core_pipe_limit;
> > >
> > > Bah.
> > >
> > > We should fix this one day.
> > >
> > Is there a particular way you'd like to see it fixed?
>
> Not in the context of this patch.
>
> One way would be to add a new sysctl-externs.h and then put all the
> declarations in there. That file gets included by sysctl.c and by each
> file which shares a global with sysctl.c
>
Thanks, I'll keep that in mind, and look into squaring it away when I have a few
extra cycles.
Neil
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists