All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: joe@perches.com, mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sysctl.c: Change a .proc_handler = proc_dointvec to
Date: Tue, 17 Nov 2009 14:49:22 +0300	[thread overview]
Message-ID: <20091117114922.GA1657@x200> (raw)
In-Reply-To: <m1ws1pfpau.fsf@fess.ebiederm.org>

On Tue, Nov 17, 2009 at 01:55:53AM -0800, Eric W. Biederman wrote:
> Alexey Dobriyan <adobriyan@gmail.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.

      reply	other threads:[~2009-11-17 11:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15 10:59 [PATCH] sysctl.c: Change a .proc_handler = proc_dointvec to Alexey Dobriyan
2009-11-17  9:55 ` Eric W. Biederman
2009-11-17 11:49   ` Alexey Dobriyan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091117114922.GA1657@x200 \
    --to=adobriyan@gmail.com \
    --cc=ebiederm@xmission.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.