[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091117114922.GA1657@x200>
Date: Tue, 17 Nov 2009 14:49:22 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: joe@...ches.com, mingo@...e.hu, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sysctl.c: Change a .proc_handler = proc_dointvec to
On Tue, Nov 17, 2009 at 01:55:53AM -0800, Eric W. Biederman wrote:
> Alexey Dobriyan <adobriyan@...il.com> writes:
> > net: '&' redux
> >
> > I want to compile out proc_* and sysctl_* handlers totally and
> > stub them to NULL depending on config options, however usage of &
> > will prevent this, since taking adress of NULL pointer will break
> > compilation.
>
> I just experimented with this and found that at present a number of
> the proc handlers wrap functions like proc_dointvec, so it does not work.
>
> Did you have a plan for those?
Of course, net/ was just first big step.
--
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