public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: Greg KH <gregkh@suse.de>
Cc: "Scott J. Harmon" <harmon@ksu.edu>,
	linux-kernel@vger.kernel.org, stable@kernel.org,
	torvalds@osdl.org, Andrew Morton <akpm@osdl.org>
Subject: Re: Linux 2.6.17.4
Date: Fri, 7 Jul 2006 01:49:18 +0200	[thread overview]
Message-ID: <20060706234918.GB2037@1wt.eu> (raw)
In-Reply-To: <20060706224614.GA3520@suse.de>

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 ?

Cheers,
Willy

> 
> thanks,
> 
> greg k-h
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

  parent reply	other threads:[~2006-07-06 23:50 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 [this message]
2006-07-06 23:53         ` [stable] " Greg KH
2006-07-06 23:56         ` 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=20060706234918.GB2037@1wt.eu \
    --to=w@1wt.eu \
    --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 \
    /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