From: Martin Schlemmer <azarah@gentoo.org>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: James Bourne <jbourne@hardrock.org>,
Ken Brownfield <brownfld@irridia.com>,
Marc-Christian Petersen <m.c.p@wolk-project.de>,
KML <linux-kernel@vger.kernel.org>
Subject: Re: Oops: ptrace fix buggy
Date: 14 Apr 2003 20:10:25 +0200 [thread overview]
Message-ID: <1050343825.4757.17.camel@nosferatu.lan> (raw)
In-Reply-To: <20030414144709.GE10347@wohnheim.fh-wedel.de>
[-- Attachment #1: Type: text/plain, Size: 1739 bytes --]
On Mon, 2003-04-14 at 16:47, Jörn Engel wrote:
> On Mon, 14 April 2003 16:31:08 +0200, Martin Schlemmer wrote:
> > On Mon, 2003-04-14 at 15:46, Jörn Engel wrote:
> >
> > > 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.
> >
> > This is not a good idea ... especially if its a box that you
> > compile a lot of software on. Reason is that everything expects
> > it to be MAJ.MIN.MIC ... If you add now another version, then
> > things start to break. A good example is mozilla ...
>
> That doesn't convince me (yet?). Why doesn't 2.4.20-pre5-ac3 break
> mozilla, but 2.4.20.1 does? If mozilla depends on this information, it
> should at least have a robust parser for it.
>
> Can you give me a little more details on this? Did anyone ever declare
> that userspace can expect kernel versions to fit this regex?
> \d+\.\d+\.\d+(-.+)?
>
From include/linux/version.h:
---------------------------------------------------------------
#define UTS_RELEASE "2.5.67-bk2"
#define LINUX_VERSION_CODE 132419
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
---------------------------------------------------------------
Your changes will definitely break things that do:
#if ((LINUX_VERSION_CODE > KERNEL_VERSION(2.4.0)) && \
(LINUX_VERSION_CODE < KERNEL_VERSION(2.5.0)))
Also, most docs explaining the version format, refer to
major.minor.micro
Anyhow, I did not say it was set in stone, I just said if you
start getting breakage when compiling/configuring things, do
not wonder why =)
Regards,
--
Martin Schlemmer
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-04-14 18:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-07 12:22 Michael Lampe
2003-04-12 7:13 ` Ken Brownfield
2003-04-12 9:54 ` Marc-Christian Petersen
2003-04-14 13:34 ` James Bourne
2003-04-14 13:46 ` Jörn Engel
2003-04-14 13:56 ` James Bourne
2003-04-14 14:22 ` Jörn Engel
2003-04-14 14:31 ` Martin Schlemmer
2003-04-14 14:47 ` Jörn Engel
2003-04-14 17:09 ` James Bourne
2003-04-14 17:21 ` Jörn Engel
2003-04-14 18:16 ` James Bourne
2003-04-14 17:50 ` Russell King
2003-04-14 18:10 ` Martin Schlemmer [this message]
2003-04-14 18:58 ` Jörn Engel
2003-04-14 19:20 ` Valdis.Kletnieks
2003-04-14 21:19 ` James Bourne
2003-04-14 21:41 ` Jörn Engel
2003-04-15 6:10 ` Martin Schlemmer
2003-04-15 6:00 ` Martin Schlemmer
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=1050343825.4757.17.camel@nosferatu.lan \
--to=azarah@gentoo.org \
--cc=brownfld@irridia.com \
--cc=jbourne@hardrock.org \
--cc=joern@wohnheim.fh-wedel.de \
--cc=linux-kernel@vger.kernel.org \
--cc=m.c.p@wolk-project.de \
/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®