From: Greg KH <greg@kroah.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Greg KH <gregkh@suse.de>,
torvalds@osdl.org, Andrew Morton <akpm@osdl.org>,
"Scott J. Harmon" <harmon@ksu.edu>,
linux-kernel@vger.kernel.org, stable@kernel.org
Subject: Re: [stable] Re: Linux 2.6.17.4
Date: Thu, 6 Jul 2006 16:53:37 -0700 [thread overview]
Message-ID: <20060706235337.GA13418@kroah.com> (raw)
In-Reply-To: <20060706234918.GB2037@1wt.eu>
On Fri, Jul 07, 2006 at 01:49:18AM +0200, Willy Tarreau wrote:
> On Thu, Jul 06, 2006 at 03:46:14PM -0700, Greg KH wrote:
> > On Thu, Jul 06, 2006 at 05:43:53PM -0500, Scott J. Harmon wrote:
> > > Greg KH wrote:
> > > > diff --git a/Makefile b/Makefile
> > > > index 8c72521..abcf2d7 100644
> > > > --- a/Makefile
> > > > +++ b/Makefile
> > > > @@ -1,7 +1,7 @@
> > > > VERSION = 2
> > > > PATCHLEVEL = 6
> > > > SUBLEVEL = 17
> > > > -EXTRAVERSION = .3
> > > > +EXTRAVERSION = .4
> > > > NAME=Crazed Snow-Weasel
> > > >
> > > > # *DOCUMENTATION*
> > > > diff --git a/kernel/sys.c b/kernel/sys.c
> > > > index 0b6ec0e..59273f7 100644
> > > > --- a/kernel/sys.c
> > > > +++ b/kernel/sys.c
> > > > @@ -1991,7 +1991,7 @@ asmlinkage long sys_prctl(int option, un
> > > > error = current->mm->dumpable;
> > > > break;
> > > > case PR_SET_DUMPABLE:
> > > > - if (arg2 < 0 || arg2 > 2) {
> > > > + if (arg2 < 0 || arg2 > 1) {
> > > > error = -EINVAL;
> > > > break;
> > > > }
> > > Just curious as to why this isn't just
> > > ...
> > > if (arg2 != 1) {
> > > ...
> >
> > Because that would be incorrect :)
>
> Interestingly, 2.4 tests (arg2 !=0 && arg2 != 1) so from the code changes
> above, it looks like the value 2 was added on purpose, but for what ? Maybe
> the fix is not really correct yet ?
No, it's correct. The change was incorrect.
thanks,
greg k-h
next prev parent reply other threads:[~2006-07-06 23:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-06 22:27 Linux 2.6.17.4 Greg KH
2006-07-06 22:28 ` Greg KH
2006-07-06 22:43 ` Scott J. Harmon
2006-07-06 22:46 ` Greg KH
2006-07-06 22:54 ` Scott J. Harmon
2006-07-07 6:12 ` Jan Engelhardt
2006-07-06 23:49 ` Willy Tarreau
2006-07-06 23:53 ` Greg KH [this message]
2006-07-06 23:56 ` [stable] " Chris Wright
2006-07-06 23:57 ` Chase Venters
2006-07-06 23:24 ` Chase Venters
2006-07-06 23:54 ` [stable] " Greg KH
2006-07-07 10:34 ` Marcel Holtmann
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=20060706235337.GA13418@kroah.com \
--to=greg@kroah.com \
--cc=akpm@osdl.org \
--cc=gregkh@suse.de \
--cc=harmon@ksu.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.org \
--cc=torvalds@osdl.org \
--cc=w@1wt.eu \
/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