Re: Oops: ptrace fix buggy

Jörn Engel (joern@wohnheim.fh-wedel.de)
Mon, 14 Apr 2003 16:22:35 +0200


On Mon, 14 April 2003 07:56:45 -0600, James Bourne wrote:
> On Mon, 14 Apr 2003, Jörn Engel wrote:
> > On Mon, 14 April 2003 07:34:54 -0600, James Bourne wrote:
> > >
> > > This patch has also been added to the update patch available at
> > > http://www.hardrock.org/kernel/current-updates/linux-2.4.20-updates.patch
> > >
> > > This patch includes the ptrace patch, tg3 patch, and ext3 patches. It also
> > > changes the EXTRAVERSION to -uv2.
> >
> > Privately, I have introduced a variable FIXLEVEL for this. The
> > resulting kernel version is 2.4.20.2 instead of 2.4.20-uv2, which imo
> > is more suiting for a fixed stable kernel.
> >
> > Are you interested in this patch?
>
> Sure, if you have the patch already please send it along. I think this was
> suggested once before as well.

Must have lost it, but it was simple to recreate. :)

The fixlevel must also include the leading dot, so it will fold into
nothing for normal (non-fixed) kernels.

Marcelo, would/should this be included in Mainline as well?

Jörn

-- 
Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface. 
-- Doug MacIlroy

--- linux-2.4.20/Makefile~FIXLEVEL 2002-11-29 00:53:16.000000000 +0100 +++ linux-2.4.20/Makefile 2003-04-14 16:14:18.000000000 +0200 @@ -1,9 +1,10 @@ VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 20 +FIXLEVEL = EXTRAVERSION = -KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) +KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(FIXLEVEL)$(EXTRAVERSION) ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/) KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g") - 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/