mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Dave Young <hidave.darkstar@gmail.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>,
	linux-kernel@vger.kernel.org, ebiederm@xmission.com
Subject: Re: + sysctl-add-proc_dointvec_unsigned-handler-update.patch added to -mm tree
Date: Thu, 18 Aug 2011 14:52:13 -0700	[thread overview]
Message-ID: <20110818145213.db5a9d65.akpm@linux-foundation.org> (raw)
In-Reply-To: <BANLkTimPT-LEsEs34dvPZNbVKnwCT8ck6g@mail.gmail.com>

On Fri, 10 Jun 2011 17:51:50 +0800
Dave Young <hidave.darkstar@gmail.com> wrote:

> On Fri, Jun 10, 2011 at 1:19 AM, Alexey Dobriyan <adobriyan@gmail.com> wrote:
> > On Wed, Jun 8, 2011 at 11:45 PM,  <akpm@linux-foundation.org> wrote:
> >> --- a/kernel/sysctl.c~sysctl-add-proc_dointvec_unsigned-handler-update
> >> +++ a/kernel/sysctl.c
> >> @@ -2515,6 +2515,7 @@ int proc_dointvec_unsigned(struct ctl_ta
> >>  {
> >>        struct do_proc_dointvec_minmax_conv_param param = {
> >>                .min = &zero,
> >> +               .max = (int *) table->extra2,
> >>        };
> >>        return do_proc_dointvec(table, write, buffer, lenp, ppos,
> >>                                do_proc_dointvec_minmax_conv, &param);
> >
> > This is still buggybecause "zero" is only 1 variable and max can be an array.
> > Sysctl boundary comparisons are done element-by-element.
> 
> Where's the array use case?

Guys, these patches:

sysctl-add-proc_dointvec_bool-handler.patch
sysctl-use-proc_dointvec_bool-where-appropriate.patch
sysctl-add-proc_dointvec_unsigned-handler.patch
sysctl-add-proc_dointvec_unsigned-handler-update.patch
sysctl-use-proc_dointvec_unsigned-where-appropriate.patch

are still floating about in my tree, and stuck.

As everyone has forgotten all about it I think I'll just drop the
patches.  If you're still motivated, please resend from scratch and
let's take another look at them.  And this time please let's drive the
discussion to a conclusion and not leave stuff floating around
unresolved for months?


  reply	other threads:[~2011-08-18 21:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201106082045.p58Kjwmd027729@imap1.linux-foundation.org>
2011-06-09 17:19 ` Alexey Dobriyan
2011-06-10  9:51   ` Dave Young
2011-08-18 21:52     ` Andrew Morton [this message]
2011-08-19  1:10       ` Dave Young

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=20110818145213.db5a9d65.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=adobriyan@gmail.com \
    --cc=ebiederm@xmission.com \
    --cc=hidave.darkstar@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®