Technology and Trends
 USENET Archives
  
Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Subject: SCO's infringing files list
From: Stan Bubrouski <s...@ccs.neu.edu>
To: "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; 
boundary="=-vkrNRPnMk8lrzABWEfwo"
Original-Message-Id: <1072125736.1286.170.camel@duergar>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 
Original-Date: 	Mon, 22 Dec 2003 15:42:17 -0500
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.122, required 12,
	BAYES_00 -4.90, TO_ADDRESS_EQ_REAL 0.78)
Organization: Internet mailing list
Date: Mon, 22 Dec 2003 20:44:23 GMT
Message-ID: <fa.gap99mg.1t2u2q4@ifi.uio.no>
Lines: 175


Guys,

According to the totally inept, idiotic, SCO group, these files are
copyrighted by them (and recently by Novell I might add):

include/asm-alpha/errno.h=20

include/asm-arm/errno.h=20

include/asm-cris/errno.h=20

include/asm-i386/errno.h=20

include/asm-ia64/errno.h=20

include/asm-m68k/errno.h=20

include/asm-mips/errno.h=20

include/asm-mips64/errno.h=20

include/asm-parisc/errno.h=20

include/asm-ppc/errno.h=20

include/asm-ppc64/errno.h=20

include/asm-s390/errno.h=20

include/asm-s390x/errno.h=20

include/asm-sh/errno.h=20

include/asm-sparc/errno.h=20

include/asm-sparc64/errno.h=20

include/asm-x86_64/errno.h=20

include/asm-alpha/signal.h=20

include/asm-arm/signal.h=20

include/asm-cris/signal.h=20

include/asm-i386/signal.h=20

include/asm-ia64/signal.h=20

include/asm-m68k/signal.h=20

include/asm-mips/signal.h=20

include/asm-mips64/signal.h=20

include/asm-parisc/signal.h=20

include/asm-ppc/signal.h=20

include/asm-ppc64/signal.h=20

include/asm-s390/signal.h=20

include/asm-s390x/signal.h=20

include/asm-sh/signal.h=20

include/asm-sparc/signal.h=20

include/asm-sparc64/signal.h=20

include/asm-x86_64/signal.h=20

include/linux/stat.h=20

include/linux/ctype.h=20

lib/ctype.c=20

include/asm-alpha/ioctl.h=20

include/asm-alpha/ioctls.h=20

include/asm-arm/ioctl.h=20

include/asm-cris/ioctl.h=20

include/asm-i386/ioctl.h=20

include/asm-ia64/ioctl.h=20

include/asm-m68k/ioctl.h=20

include/asm-mips/ioctl.h=20

include/asm-mips64/ioctl.h=20

include/asm-mips64/ioctls.h=20

include/asm-parisc/ioctl.h=20

include/asm-parisc/ioctls.h=20

include/asm-ppc/ioctl.h=20

include/asm-ppc/ioctls.h=20

include/asm-ppc64/ioctl.h=20

include/asm-ppc64/ioctls.h=20

include/asm-s390/ioctl.h=20

include/asm-s390x/ioctl.h=20

include/asm-sh/ioctl.h=20

include/asm-sh/ioctls.h=20

include/asm-sparc/ioctl.h=20

include/asm-sparc/ioctls.h=20

include/asm-sparc64/ioctl.h=20

include/asm-sparc64/ioctls.h=20

include/asm-x86_64/ioctl.h=20

include/linux/ipc.h=20

include/linux/acct.h=20

include/asm-sparc/a.out.h=20

include/linux/a.out.h=20

arch/mips/boot/ecoff.h=20

include/asm-sparc/bsderrno.h=20

include/asm-sparc/solerrno.h=20

include/asm-sparc64/bsderrno.h=20

include/asm-sparc64/solerrno.h

Any thoughts?

-sb

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

Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!
nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
From: Tom Felker <tcfel...@mtco.com>
To: Stan Bubrouski <s...@ccs.neu.edu>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>
Subject: Re: SCO's infringing files list
Original-Date: 	Mon, 22 Dec 2003 15:19:04 -0600
User-Agent: KMail/1.5.4
Original-References: <1072125736.1286.170.camel@duergar>
In-Reply-To: <1072125736.1286.170.camel@duergar>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Original-Message-Id: <200312221519.04677.tcfelker@mtco.com>
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Mon, 22 Dec 2003 21:20:11 GMT
Message-ID: <fa.feguga4.jmmco6@ifi.uio.no>
References: <fa.gap99mg.1t2u2q4@ifi.uio.no>
Lines: 30

On Monday 22 December 2003 2:42 pm, Stan Bubrouski wrote:
> Guys,
>
> According to the totally inept, idiotic, SCO group, these files are
> copyrighted by them (and recently by Novell I might add):

> include/asm-i386/errno.h

> Any thoughts?
>
> -sb

The original errno.h, from linux-0.01, says it was taken from minix, and goes 
up to 40.  Between linux-0.96c and linux-0.97, that file was replaced with 
the present version, which includes the error strings and goes up to 121.

Where did the 0.97 to present version come from?

-- 
Tom Felker, <tcfel...@mtco.com>
<http://vlevel.sourceforge.net> - Stop fiddling with the volume knob.

Everything else about computers has become cheaper and faster.  Why
not software?

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

Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!
nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Mon, 22 Dec 2003 13:55:00 -0800 (PST)
From: Linus Torvalds <torva...@osdl.org>
To: Tom Felker <tcfel...@mtco.com>
cc: Stan Bubrouski <s...@ccs.neu.edu>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>
Subject: Re: SCO's infringing files list
In-Reply-To: <200312221519.04677.tcfelker@mtco.com>
Original-Message-ID: <Pine.LNX.4.58.0312221337010.6868@home.osdl.org>
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Mon, 22 Dec 2003 21:56:42 GMT
Message-ID: <fa.j5ccr5e.1e2gk0m@ifi.uio.no>
References: <fa.feguga4.jmmco6@ifi.uio.no>
Lines: 27



On Mon, 22 Dec 2003, Tom Felker wrote:
> 
> The original errno.h, from linux-0.01, says it was taken from minix, and goes 
> up to 40.

Good eyes - I only analysed the ctype.h thing, and didn't look up errno.h
in the original sources. errno.h has a _big_ comment saying where the
numbers came from (and some swearwords about POSIX ;)

Looking at signal.h, those numbers also seem to largely match minix. Which
makes sense - I actually had access to them.  

In both cases it's only the numbers that got copied, though. And not all
of them either - for some reason I tried to make the signal numbers match
(probably lazyness - not so much that I cared about the numbers
themselves, but about the list of signal names), but for example the
SA_xxxx macros - in the very same file - bear no relation to the minix
ones.

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

Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Mon, 22 Dec 2003 16:26:41 -0800
From: jw schultz <j...@pegasys.ws>
To: "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>
Subject: Re: SCO's infringing files list
Original-Message-ID: <20031223002641.GD28269@pegasys.ws>
Mail-Followup-To: jw schultz <j...@pegasys.ws>,
	"linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com> <Pine.LNX.4.58.0312221337010.6...@home.osdl.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.58.0312221337010.6868@home.osdl.org>
User-Agent: Mutt/1.3.27i
X-Message-Flag: 	If you're running Outlook, look out!
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.122, required 12,
	BAYES_00 -4.90, TO_ADDRESS_EQ_REAL 0.78)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 00:28:15 GMT
Message-ID: <fa.g4o4e0e.145mphm@ifi.uio.no>
References: <fa.j5ccr5e.1e2gk0m@ifi.uio.no>
Lines: 38

On Mon, Dec 22, 2003 at 01:55:00PM -0800, Linus Torvalds wrote:
> 
> 
> On Mon, 22 Dec 2003, Tom Felker wrote:
> > 
> > The original errno.h, from linux-0.01, says it was taken from minix, and goes 
> > up to 40.
> 
> Good eyes - I only analysed the ctype.h thing, and didn't look up errno.h
> in the original sources. errno.h has a _big_ comment saying where the
> numbers came from (and some swearwords about POSIX ;)
> 
> Looking at signal.h, those numbers also seem to largely match minix. Which
> makes sense - I actually had access to them.  
> 
> In both cases it's only the numbers that got copied, though. And not all
> of them either - for some reason I tried to make the signal numbers match
> (probably lazyness - not so much that I cared about the numbers
> themselves, but about the list of signal names), but for example the
> SA_xxxx macros - in the very same file - bear no relation to the minix
> ones.

And for the names, perhaps they would care to sue The Open
Group?
http://www.opengroup.org/onlinepubs/007904975/basedefs/signal.h.html
And that probably applies to the rest of these header files.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		j...@pegasys.ws

		Remember Cernan and Schmitt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Tue, 23 Dec 2003 10:28:47 +0100
To: jw schultz <j...@pegasys.ws>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>
Subject: Re: SCO's infringing files list
Original-Message-ID: <20031223092847.GA3169@deneb.enyo.de>
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com> 
<Pine.LNX.4.58.0312221337010.6...@home.osdl.org> <20031223002641.GD28...@pegasys.ws>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20031223002641.GD28269@pegasys.ws>
User-Agent: Mutt/1.5.4i
From: Florian Weimer <f...@deneb.enyo.de>
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 09:30:22 GMT
Message-ID: <fa.eohu3kk.ah2ppa@ifi.uio.no>
References: <fa.g4o4e0e.145mphm@ifi.uio.no>
Lines: 31

jw schultz wrote:

> And for the names, perhaps they would care to sue The Open
> Group?

Not the names, but the comments. 8-)

> http://www.opengroup.org/onlinepubs/007904975/basedefs/errno.h.html

The comments were added in Linux 0.99.1, and I'm not sure what was the
source.  For example, Linux has:

#define ENOTTY          25      /* Not a typewriter */

Solaris:

#define ENOTTY  25      /* Inappropriate ioctl for device       */

Current POSIX:

    [ENOTTY]
        Inappropriate I/O control operation.

I couldn't find any historic Minix header files.  Minix 2 has:

#define ENOTTY        (_SIGN 25)  /* inappropriate I/O control operation */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Message-ID: <3FE811E3.6010708@debian.org>
Original-Date: 	Tue, 23 Dec 2003 10:58:59 +0100
From: "Giacomo A. Catenazzi" <c...@debian.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) 
Gecko/20031205 Thunderbird/0.4
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Florian Weimer <f...@deneb.enyo.de>
CC: jw schultz <j...@pegasys.ws>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>
Subject: Re: SCO's infringing files list
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com> 
<Pine.LNX.4.58.0312221337010.6...@home.osdl.org> 
<20031223002641.GD28...@pegasys.ws> <20031223092847.GA3...@deneb.enyo.de>
In-Reply-To: <20031223092847.GA3169@deneb.enyo.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 10:01:15 GMT
Message-ID: <fa.d4br6mr.ag0fg9@ifi.uio.no>
References: <fa.eohu3kk.ah2ppa@ifi.uio.no>
Lines: 60



Florian Weimer wrote:

> jw schultz wrote:
> 
> 
>>And for the names, perhaps they would care to sue The Open
>>Group?
> 
> 
> Not the names, but the comments. 8-)
> 
> 
>>http://www.opengroup.org/onlinepubs/007904975/basedefs/errno.h.html
> 
> 
> The comments were added in Linux 0.99.1, and I'm not sure what was the
> source.  For example, Linux has:
> 
> #define ENOTTY          25      /* Not a typewriter */
> 
> Solaris:
> 
> #define ENOTTY  25      /* Inappropriate ioctl for device       */
> 
> Current POSIX:
> 
>     [ENOTTY]
>         Inappropriate I/O control operation.
> 
> I couldn't find any historic Minix header files.  Minix 2 has:
> 
> #define ENOTTY        (_SIGN 25)  /* inappropriate I/O control operation */

In 
http://www.opensource.apple.com/darwinsource/DevToolsMay2002/gcc-937.2/
libiberty/strerror.c

/* Extended support for using errno values.
    Written by Fred Fish.  f...@cygnus.com
    This file is in the public domain.  --Per Bothner.  */
(...)
#if defined (ENOTTY)
   ENTRY(ENOTTY, "ENOTTY", "Not a typewriter"),
#endif


FYI there was a proposed patch to change "Not a typewriter" to 
"Inappropriate ioctl for device". Check the interesting thread of lkml:
http://www.ussg.iu.edu/hypermail/linux/kernel/0105.1/0471.html

ciao
	giacomo


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

Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Tue, 23 Dec 2003 04:34:41 -0800 (PST)
From: Linus Torvalds <torva...@osdl.org>
To: "Giacomo A. Catenazzi" <c...@debian.org>
cc: Florian Weimer <f...@deneb.enyo.de>, jw schultz <j...@pegasys.ws>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>,
   "Eric S. Raymond" <e...@thyrsus.com>
Subject: Re: SCO's infringing files list
In-Reply-To: <3FE811E3.6010708@debian.org>
Original-Message-ID: <Pine.LNX.4.58.0312230317450.12483@home.osdl.org>
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com>
 <Pine.LNX.4.58.0312221337010.6...@home.osdl.org> <20031223002641.GD28...@pegasys.ws>
 <20031223092847.GA3...@deneb.enyo.de> <3FE811E3.6010...@debian.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 12:36:18 GMT
Message-ID: <fa.ie03gjo.1ggm9i0@ifi.uio.no>
References: <fa.d4br6mr.ag0fg9@ifi.uio.no>
Lines: 128



On Tue, 23 Dec 2003, Giacomo A. Catenazzi wrote:

> Florian Weimer wrote:
> > 
> > The comments were added in Linux 0.99.1, and I'm not sure what was the
> > source.

No, the comments are already there in 0.97 (and they are _not_ in
0.96c-pl2, which is the last patch before that that I have found).

The timeline looks like (this is by no means guaranteed correct, the dates
are from things like the patch files that may not be the originals, but 
they look consistent):

 0.96c:		July 4th, 1992
 0.96c-pl1:	July 11th
 0.96c-pl2:	July 18th

	--- here somewhere ---

 0.97:		Aug 1st


The errno change was apparently done on or around July 25, 1992. That's
the date on the "errno.h" file in the linux-0.97 archive, and it is
consistent with the above release dates.

If anybody has newgroup/mailing list archives from around that time, it
would be very nice to see what that finds..

> >	  For example, Linux has:
> > 
> > #define ENOTTY          25      /* Not a typewriter */

My _suspicion_ is that it comes from "strerror()". That's how I'd
personally have done it (ie write a simple script to generate the errno
values and the comments). But this is over a decade ago, and I sure as 
hell can't remember who would have done that.

It might even have been me, but I doubt it - I've never been that big into
comments, so it's likely somebody else was more motivated than me to make 
errno.h cleaner. But if I did it, I definitely would have done it with a 
script.

Btw: there is some incidental "evidence" that that original 0.97 version
of <linux/errno.h> is automatically generated: the thing looks to have
very regular whitespace. It looks like it was generated with

	#define\t%s\t\t%2d\t/* %s */

and then tab-corrected for the symbolic name lengths. There are no spaces 
at ends-of-lines, and _all_ of the spaces between "define" and the actual 
error mnemonic are actually _tabs_.

And this is true for _all_ the Exxxx defines _except_ for the two special
kernel entries: ERESTARTSYS and ERESTARTNOINTR were clearly not generated
the same way, because they have a regular _space_ between the #define and
the EXXXX.

That just makes me go "hmm..". You can't actually see the TAB vs <space> 
thing when you open the file normally, because they both end up being 
aligned the same way. So I'd suspect a script that generated the 
list of the "normal" error codes simply because

 - people just aren't that regular by hand
 - most people would use a space in between #define and XXXX, as also 
   shown by the two cases that clearly are _not_ scripted.

For example, grepping for "#define" followed by space shows up 1836 such
entries in the 0.97 kernel. In contrast, doing the same for "#define"  
followed by a tab shows 227 such entries - of which the errno.h ones are a
solid block of 121 entries, while the others are a lot more random (and 44
of the remaining ~100 cases have multiple tabs and are thus _visible_ as
such).

So just from a regularity standpoint, it does look auto-generated.

> > Solaris:
> > 
> > #define ENOTTY  25      /* Inappropriate ioctl for device       */
> > 
> > Current POSIX:
> > 
> >     [ENOTTY]
> >         Inappropriate I/O control operation.
> > 
> > I couldn't find any historic Minix header files.  Minix 2 has:
> > 
> > #define ENOTTY        (_SIGN 25)  /* inappropriate I/O control operation */

The "Not a typewriter" thing is the obvious one from just reading the
error number mnemonic. Hard to tell where it comes from, but it definitely
does not rule out strerror() in that timeframe.

> In 
> http://www.opensource.apple.com/darwinsource/DevToolsMay2002/gcc-937.2/
libiberty/strerror.c
> 
> /* Extended support for using errno values.
>     Written by Fred Fish.  f...@cygnus.com
>     This file is in the public domain.  --Per Bothner.  */
> (...)
> #if defined (ENOTTY)
>    ENTRY(ENOTTY, "ENOTTY", "Not a typewriter"),
> #endif

Something like that may well be the source of the string. Fred Fish was 
active long before this timeframe (if it's the same Fred Fish - he used to 
do freeware collections for the Amiga in the '80's).

But there were multiple libc's around (estdio, libc5, glibc..), and it 
could be any of them.

Trying to find the kernel list archives from that timeframe would likely
clarify the issue. There were several lists back then: "linux-activists"  
mailing list, and of course the "comp.os.linux" newsgroup (this was before
it split into multiple newsgroups).

I've found some archives for linux-activists, but no newsgroup archives 
going that far back.. Anybody?

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

Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!
nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Message-ID: <3FE862E7.1@pixelized.ch>
Original-Date: 	Tue, 23 Dec 2003 16:44:39 +0100
From: "Giacomo A. Catenazzi" <c...@pixelized.ch>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) 
Gecko/20031205 Thunderbird/0.4
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Linus Torvalds <torva...@osdl.org>
CC: "Giacomo A. Catenazzi" <c...@debian.org>,
   Florian Weimer <f...@deneb.enyo.de>, jw schultz <j...@pegasys.ws>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>,
   "Eric S. Raymond" <e...@thyrsus.com>
Subject: Re: SCO's infringing files list
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com> 
<Pine.LNX.4.58.0312221337010.6...@home.osdl.org> 
<20031223002641.GD28...@pegasys.ws> <20031223092847.GA3...@deneb.enyo.de> 
<3FE811E3.6010...@debian.org> <Pine.LNX.4.58.0312230317450.12...@home.osdl.org>
In-Reply-To: <Pine.LNX.4.58.0312230317450.12483@home.osdl.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 23 Dec 2003 15:44:39.0622 (UTC) FILETIME=[ACEA3660:01C3C96B]
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 15:47:44 GMT
Message-ID: <fa.c2q0sp6.152auhg@ifi.uio.no>
References: <fa.ie03gjo.1ggm9i0@ifi.uio.no>
Lines: 146



Linus Torvalds wrote:
> On Tue, 23 Dec 2003, Giacomo A. Catenazzi wrote:

>>In 
>>http://www.opensource.apple.com/darwinsource/DevToolsMay2002/gcc-937.2/
libiberty/strerror.c
>>
>>/* Extended support for using errno values.
>>    Written by Fred Fish.  f...@cygnus.com
>>    This file is in the public domain.  --Per Bothner.  */
>>(...)
>>#if defined (ENOTTY)
>>   ENTRY(ENOTTY, "ENOTTY", "Not a typewriter"),
>>#endif
> 
> 
> Something like that may well be the source of the string. Fred Fish was 
> active long before this timeframe (if it's the same Fred Fish - he used to 
> do freeware collections for the Amiga in the '80's).
> 
> But there were multiple libc's around (estdio, libc5, glibc..), and it 
> could be any of them.
> 
> Trying to find the kernel list archives from that timeframe would likely
> clarify the issue. There were several lists back then: "linux-activists"  
> mailing list, and of course the "comp.os.linux" newsgroup (this was before
> it split into multiple newsgroups).
> 
> I've found some archives for linux-activists, but no newsgroup archives 
> going that far back.. Anybody?

I found only a mail in linux-activists: It say """
4. lots of stuffs added to errno.h and string/errlist.c.
"""
It seems that the new errno.h is added in libc, but there are some 
references of kernel and the post date is in the same weeks of the new 
kernel errno.h, so possibly the linux errno.h is based uppon this library.
Maybe someone of the "old" guys will understand something better about 
this post.

ciao
	giacomo



From: h...@yoda.eecs.wsu.edu (H.J. Lu)
Subject: Re: gcc-2.2.2 patches for linux?
Date: 19 Jul 92 15:42:48 GMT

In article <54...@mentor.cc.purdue.edu> wil...@hopf.math.purdue.edu 
(Clarence Wilkers
on) writes:
 >I'd like to do cross compilation for linux on a sparc. Has anyone set this
 >up?
 >--


Please read all the previous release notes and docs. This release note
only covers the new stuffs.

This is gcc 2.2.2 for Linux. It is on banjo.concert.net under
/pub/Linux/GCC. Gcc 2.3 will support Linux, according to RMS. The FSF
has all the files Linux needs.

Please get the new binutils.tar.Z, which fixed some bugs in as and a
gprof with some patches from Rick Sladkey at j...@world.std.com, if
you haven't got it.

I added some jumptable stubs to gcc. But I don't have the time to
implement it. In the future, you can use jump table with -jump in
CFLAGS.

Libg++.a is 2.2 beta.

This gcc will produce binaries only run safely under 0.96a patch level
4 or above.

The list of known bugs.

1. one 'cmp' in dbz test fails. Per is not planning on doing anything
    about it. your contribution is welcome.

The following bugs in libc.a are fixed.

1. hard and soft math libs are fixed. some of functions are totally
    rewritten.
2. acosh, asinh and atanh are added to libsoft.a and math.h.
3. open a file for read and write, then do fseek followed by fwrite
    works now.
4. now random () and srandom () are renamed to __random () and
    __srandom (), respectively.
5. the header files taken from glibc.a are fixed.
6. the sys call mount now takes 4 args.
7. getpagesize and getdtablesize work now.
8. netdb.h, resolv.h, sys/uio.h, netinet.h, arpa/inet.h and
    arpa/nameser.h are changed.
9. Some function declarations are added to sys/socket.h in
    0.96bp2inc.tar.Z.

The following functions are added to libc.a.

1. profil.
2. libg.a is there.
3. getdtablesize.
4. lots of stuffs added to errno.h and string/errlist.c.
5. some changes in string/siglist.c.
6. dtoa.
7. there is a new strtod, please check it out.
8. drem.
9. the inet library functions are in libinet.a. They are untested. Once
    they are tested ok, they will be moved to libc.a. All the inet
    library functions are there, except for res_xxxx, rcmd, rexec and
    ruserpass, which require more kernel support, like F_SETOWN, FASYNC,
    and a few network system calls.

    There should also be a set of files in /etc for inet functions. I
    hope Ross will provide them.

In this release, there is a libc_p.a compiled with "-pg" for profiling.

You should use "-g" for debugging and "-pg/-p" for profiling in CFLAGS
when you compile the source code.


There must be a few other bugs. Please let me know if you find any.

File list:

1. 2.2.2db.tar.Z (cpp, libg.a and libc_p.a)
2. 2.2.2lib.tar.Z (cc1, cc1plus)
3. 2.2.2misc.tar.Z (header files, drivers, libs, doc, ....)
4. shlib-2.2.2.tar.Z (making the shared libs for gcc 2.2.2)
5. libc-2.2.2.tar.Z (source code for the libs)
6. gcc-2.2.2.tar.Z (patches for compiling gcc 2.2.2)
7. 0.96bp2inc.tar.Z (the kernel header files for 0.96b patch level 2)

H.J.
h...@eecs.wsu.edu
06/27/92

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

Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Tue, 23 Dec 2003 08:04:25 -0800
From: Mitchell Blank Jr <mi...@sfgoth.com>
To: "Giacomo A. Catenazzi" <c...@pixelized.ch>
Cc: Linus Torvalds <torva...@osdl.org>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>,
   "Eric S. Raymond" <e...@thyrsus.com>
Subject: Re: SCO's infringing files list
Original-Message-ID: <20031223160425.GB45620@gaz.sfgoth.com>
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com> 
<Pine.LNX.4.58.0312221337010.6...@home.osdl.org> 
<20031223002641.GD28...@pegasys.ws> <20031223092847.GA3...@deneb.enyo.de> 
<3FE811E3.6010...@debian.org> <Pine.LNX.4.58.0312230317450.12...@home.osdl.org> 
<3FE862E...@pixelized.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3FE862E7.1@pixelized.ch>
User-Agent: Mutt/1.4.1i
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 16:08:12 GMT
Message-ID: <fa.h6rl93j.g7212b@ifi.uio.no>
References: <fa.c2q0sp6.152auhg@ifi.uio.no>
Lines: 40

Giacomo A. Catenazzi wrote:
> I found only a mail in linux-activists: It say """
> 4. lots of stuffs added to errno.h and string/errlist.c.

Yeah, I just found that one too - its in digest485 from the tarball
http://www.ibiblio.org/pub/historic-linux/ftp-archives/tsx-11.mit.edu/Oct-07-1996/
mail-archive/linux-activists/Volume2/Linux-V2-4XX.tar.z

| From: h...@yoda.eecs.wsu.edu (H.J. Lu)
| Subject: Re: gcc-2.2.2 patches for linux?
| Date: 19 Jul 92 15:42:48 GMT
|
[...]
| This is gcc 2.2.2 for Linux. It is on banjo.concert.net under
| /pub/Linux/GCC. Gcc 2.3 will support Linux, according to RMS. The FSF
| has all the files Linux needs.

Note that this is back when gcc and libc were distributed together, both
by H J Lu.  The file list in the announcement includes:

| 1. 2.2.2db.tar.Z (cpp, libg.a and libc_p.a)
| 2. 2.2.2lib.tar.Z (cc1, cc1plus)
| 3. 2.2.2misc.tar.Z (header files, drivers, libs, doc, ....)
| 4. shlib-2.2.2.tar.Z (making the shared libs for gcc 2.2.2)
| 5. libc-2.2.2.tar.Z (source code for the libs)
| 6. gcc-2.2.2.tar.Z (patches for compiling gcc 2.2.2)
| 7. 0.96bp2inc.tar.Z (the kernel header files for 0.96b patch level 2)

The last file seems to be a modified version of the 0.96bp2 header files
needed in order to work with the new gcc release (searching for that filename
turns up a message discussing it a little)  So I'm guessing that the
July 25, 1992 errno.h in the linux tree is a merge from this code.

Now, does anyone have a copy of "0.96bp2inc.tar.Z" lying around?

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

Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!
newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!uio.no!nntp.uio.no!
ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Tue, 23 Dec 2003 08:39:26 -0800
From: Mitchell Blank Jr <mi...@sfgoth.com>
To: "Giacomo A. Catenazzi" <c...@pixelized.ch>
Cc: Linus Torvalds <torva...@osdl.org>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>,
   "Eric S. Raymond" <e...@thyrsus.com>
Subject: Re: SCO's infringing files list
Original-Message-ID: <20031223163926.GC45620@gaz.sfgoth.com>
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com> 
<Pine.LNX.4.58.0312221337010.6...@home.osdl.org> 
<20031223002641.GD28...@pegasys.ws> <20031223092847.GA3...@deneb.enyo.de> 
<3FE811E3.6010...@debian.org> <Pine.LNX.4.58.0312230317450.12...@home.osdl.org> 
<3FE862E...@pixelized.ch> <20031223160425.GB45...@gaz.sfgoth.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20031223160425.GB45620@gaz.sfgoth.com>
User-Agent: Mutt/1.4.1i
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 16:40:10 GMT
Message-ID: <fa.h7bn9ro.gn41q6@ifi.uio.no>
References: <fa.h6rl93j.g7212b@ifi.uio.no>
Lines: 33

I wrote:
> | 7. 0.96bp2inc.tar.Z (the kernel header files for 0.96b patch level 2)
> 
> The last file seems to be a modified version of the 0.96bp2 header files
> needed in order to work with the new gcc release (searching for that filename
> turns up a message discussing it a little)

This does seem to be the case - from an FAQ that H J Lu posted about that time:

| From: h...@yoda.eecs.wsu.edu (H.J. Lu)
| Subject: FAQ about gcc (how to compile program under Linux)
| Date: Sun, 19 Jul 92 06:40:05 GMT
| [...]
| Another file, XXXXinc.tar.Z, where XXXX is the current version number
| of Linux kernel, has all the header files to replace the header files 
| from kernel. YOU MUST INSTALL IT. Please read README for details.

There is some mention of a "GCC channel" where new linux GCC releases got
discussed:

|                       If you want to use the testing release, first
| join the GCC channel on the Linux mailing list, and then send a note to
| h...@eecs.wsu.edu.

Does anyone know if there's an archive available for that ancient list?
Maybe we can find some discussion WRT errno.h there.

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

Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Tue, 23 Dec 2003 09:25:53 -0800 (PST)
From: Linus Torvalds <torva...@osdl.org>
To: Mitchell Blank Jr <mi...@sfgoth.com>
cc: "Giacomo A. Catenazzi" <c...@pixelized.ch>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>,
   "Eric S. Raymond" <e...@thyrsus.com>
Subject: Re: SCO's infringing files list
In-Reply-To: <20031223163926.GC45620@gaz.sfgoth.com>
Original-Message-ID: <Pine.LNX.4.58.0312230914090.14184@home.osdl.org>
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com>
 <Pine.LNX.4.58.0312221337010.6...@home.osdl.org> <20031223002641.GD28...@pegasys.ws>
 <20031223092847.GA3...@deneb.enyo.de> <3FE811E3.6010...@debian.org>
 <Pine.LNX.4.58.0312230317450.12...@home.osdl.org> <3FE862E...@pixelized.ch>
 <20031223160425.GB45...@gaz.sfgoth.com> <20031223163926.GC45...@gaz.sfgoth.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 17:27:04 GMT
Message-ID: <fa.icgrfrl.1h0m8q3@ifi.uio.no>
References: <fa.h7bn9ro.gn41q6@ifi.uio.no>
Lines: 76


Bingo!

On Tue, 23 Dec 2003, Mitchell Blank Jr wrote:
> 
> This does seem to be the case - from an FAQ that H J Lu posted about that time:
> 
> | From: h...@yoda.eecs.wsu.edu (H.J. Lu)
> | Subject: FAQ about gcc (how to compile program under Linux)
> | Date: Sun, 19 Jul 92 06:40:05 GMT
> | [...]
> | Another file, XXXXinc.tar.Z, where XXXX is the current version number
> | of Linux kernel, has all the header files to replace the header files 
> | from kernel. YOU MUST INSTALL IT. Please read README for details.

Ok, this is the source.

In particular, I can re-create _exactly_ the linux-0.97 "errno.h" file by 
using the "sys_errlist[]" contents from "libc-2.2.2". In particular, this 
trivial loop will generate the exact (byte-for-byte) list that is in the 
kernel:

        int i;

        for (i = 1; i < 122; i++) {
                const char *name = names[i];
                int n = strlen(name);
                char *tabs = "\t\t"+(n > 7);
                const char *expl = libc222_errlist[i];
                printf("#define\t%s%s%2d\t/* %s */\n",
                        name, tabs, i, expl);
        }

here, the "names[]" array was filled in with the error names, ie

	const char *names[] = { "none",
	"EPERM", "ENOENT", "ESRCH", "EINTR", "EIO", "ENXIO", "E2BIG",
	...

and the "libc222_errlist[]" array was filled in with the strings found by 
just downloading the old "libc-2.2.2" binary that can still be found at

	http://www.ibiblio.org/pub/Linux/libs/oldlibs/libc-2.2.2/

and then just doing a "strings - libc-2.2.2" and "sys_errlist[]" will be 
obvious:

	static char *libc222_errlist[] = {
	        "Unknown error",
	        "Operation not permitted",
	...

This was literally a five-minute hack (I wrote the silly loop yesterday to
see what it does with the current "strerror()" - there is very good
correlation even today, but using the libc-2.2.2 sys_nerrlist[] you get
_exactly_ the same result).

So this is definitely the source of the kernel error header. It's either a
file from the libc sources, or it is literally auto-generated like the
above (I actually suspect the latter - now that I did the auto-generation
it all felt very familiar, but that may just be my brain rationalizing
things. Humans are good at rationalizing reality.).

Can anybody find the actual libc _sources_? Not the kernel headers that
hjl mentions (those are the old ones from _before_ the change), but the
file "libc-2.2.2.tar.Z"?

Anyway, we know where the kernel header comes from. Let's figure out where 
the libc data comes from.

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

Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Tue, 23 Dec 2003 09:44:54 -0800
From: Mitchell Blank Jr <mi...@sfgoth.com>
To: "Giacomo A. Catenazzi" <c...@pixelized.ch>
Cc: Linus Torvalds <torva...@osdl.org>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>,
   "Eric S. Raymond" <e...@thyrsus.com>, Jonathan Magid <j...@ibiblio.org>,
   "H. J. Lu" <h...@lucon.org>
Subject: Re: SCO's infringing files list
Original-Message-ID: <20031223174454.GD45620@gaz.sfgoth.com>
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com> 
<Pine.LNX.4.58.0312221337010.6...@home.osdl.org> 
<20031223002641.GD28...@pegasys.ws> <20031223092847.GA3...@deneb.enyo.de> 
<3FE811E3.6010...@debian.org> <Pine.LNX.4.58.0312230317450.12...@home.osdl.org> 
<3FE862E...@pixelized.ch> <20031223160425.GB45...@gaz.sfgoth.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20031223160425.GB45620@gaz.sfgoth.com>
User-Agent: Mutt/1.4.1i
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 17:44:59 GMT
Message-ID: <fa.h9bla3j.gn202b@ifi.uio.no>
References: <fa.h6rl93j.g7212b@ifi.uio.no>
Lines: 30

(Replying to myself again)

> Now, does anyone have a copy of "0.96bp2inc.tar.Z" lying around?

BTW, a few more details on this file - the linux GCC 2.2.2 release was
originally announced 28-Jun-1992.  The 0.96bp2inc.tar.Z file originally
lived on the then-primary linux ftp site banjo.concert.net in directory
pub/Linux/GCC.

banjo stopped being an FTP server a couple months later - however,
Jonathan Magid announced on 13-Aug-1992 that the entire banjo site
was being reincarnated at host reggae.oit.unc.edu in directory
ftp/pub/pc-stuff/Linux.  Here's a copy of the announcement:
  http://www.kclug.org/old_archives/linux-activists/1992/aug/1/0708.shtml

My understanding is that reggae.oit morphed at some point into
sunsite.unc.edu (which is now, of course, ibiblio.org)  Jonathan still
appears to be there, so I'm cc:ing him on this (apologies in advance
if its an intrusion, Jonathan) on the off-chance that there might still
be a 1992-era archive of the linux files once hosted by banjo.

The only other person likely to have access to a copy is H J Lu himself
(also cc:'ed although I'm 99% sure he's still on lkml :-)

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

Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Tue, 23 Dec 2003 09:56:11 -0800 (PST)
From: Linus Torvalds <torva...@osdl.org>
To: Mitchell Blank Jr <mi...@sfgoth.com>
cc: "Giacomo A. Catenazzi" <c...@pixelized.ch>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>,
   "Eric S. Raymond" <e...@thyrsus.com>, Jonathan Magid <j...@ibiblio.org>,
   "H. J. Lu" <h...@lucon.org>, "Adam J. Richter" <a...@yggdrasil.com>
Subject: Re: SCO's infringing files list
In-Reply-To: <20031223174454.GD45620@gaz.sfgoth.com>
Original-Message-ID: <Pine.LNX.4.58.0312230946010.14184@home.osdl.org>
Original-References: <1072125736.1286.170.camel@duergar> 
<200312221519.04677.tcfel...@mtco.com>
 <Pine.LNX.4.58.0312221337010.6...@home.osdl.org> <20031223002641.GD28...@pegasys.ws>
 <20031223092847.GA3...@deneb.enyo.de> <3FE811E3.6010...@debian.org>
 <Pine.LNX.4.58.0312230317450.12...@home.osdl.org> <3FE862E...@pixelized.ch>
 <20031223160425.GB45...@gaz.sfgoth.com> <20031223174454.GD45...@gaz.sfgoth.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 17:58:24 GMT
Message-ID: <fa.icgbgjn.1h069i1@ifi.uio.no>
References: <fa.h9bla3j.gn202b@ifi.uio.no>
Lines: 52



On Tue, 23 Dec 2003, Mitchell Blank Jr wrote:
>
> (Replying to myself again)
> 
> > Now, does anyone have a copy of "0.96bp2inc.tar.Z" lying around?
> 
> BTW, a few more details on this file - the linux GCC 2.2.2 release was
> originally announced 28-Jun-1992.  The 0.96bp2inc.tar.Z file originally
> lived on the then-primary linux ftp site banjo.concert.net in directory
> pub/Linux/GCC.

Note that we really don't care about that "0.96bp2inc.tar.Z" file: that's 
just the kernel headers, and 0.96b-pl2 did _not_ contain the comments yet. 
But libc used to use the kernel headers for other things (for things like 
system call numbers etc).

It's almost certainly the "libc-2.2.2.tar.Z" file that we want - that's 
the one that is going to contain the sys_errlist[] lists etc. Note how 
this libc-2.2.2 announcement predates the merging of the kernel header by 
almost a month - the kernel header information came from libc, not the 
other way around.

> banjo stopped being an FTP server a couple months later - however,
> Jonathan Magid announced on 13-Aug-1992 that the entire banjo site
> was being reincarnated at host reggae.oit.unc.edu in directory
> ftp/pub/pc-stuff/Linux.  Here's a copy of the announcement:
>   http://www.kclug.org/old_archives/linux-activists/1992/aug/1/0708.shtml

Does anybody have old CD-ROM's lying around?

In particular, the Yggdrasil Linux/GNU/X alpha CD-ROM was apparently
released just a few months later. It would quite possibly contain the
libc-2.2.2 sources... Adam Richter is still active, and I added him to the
cc..

Who else was doing CD's back then? SLS? If nobody has the thing on a
web-site any more, maybe they exist in physical format on somebodys
bookshelf? The only reason that the really historic kernel archives still
exist is that people saved them, and even so we're missing versions 0.02
and 0.03, but by the latter half of -92 there were already CD-ROMs being 
manufactured...

Of course, maybe the CD's are unreadable by now.

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

Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!
uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Tue, 23 Dec 2003 20:06:56 +0100
From: Andries Brouwer <a...@win.tue.nl>
To: Linus Torvalds <torva...@osdl.org>
Cc: Mitchell Blank Jr <mi...@sfgoth.com>,
   "Giacomo A. Catenazzi" <c...@pixelized.ch>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>,
   "Eric S. Raymond" <e...@thyrsus.com>, Jonathan Magid <j...@ibiblio.org>,
   "H. J. Lu" <h...@lucon.org>, "Adam J. Richter" <a...@yggdrasil.com>
Subject: Re: SCO's infringing files list
Original-Message-ID: <20031223190656.GB15049@win.tue.nl>
Original-References: <200312221519.04677.tcfel...@mtco.com> 
<Pine.LNX.4.58.0312221337010.6...@home.osdl.org> 
<20031223002641.GD28...@pegasys.ws> <20031223092847.GA3...@deneb.enyo.de> 
<3FE811E3.6010...@debian.org> <Pine.LNX.4.58.0312230317450.12...@home.osdl.org> 
<3FE862E...@pixelized.ch> <20031223160425.GB45...@gaz.sfgoth.com> 
<20031223174454.GD45...@gaz.sfgoth.com> 
<Pine.LNX.4.58.0312230946010.14...@home.osdl.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.58.0312230946010.14184@home.osdl.org>
User-Agent: Mutt/1.3.25i
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 20:11:35 GMT
Message-ID: <fa.g08g00b.19ki9hd@ifi.uio.no>
References: <fa.icgbgjn.1h069i1@ifi.uio.no>
Lines: 14

On Tue, Dec 23, 2003 at 09:56:11AM -0800, Linus Torvalds wrote:

> It's almost certainly the "libc-2.2.2.tar.Z" file that we want

I just uploaded a copy to
ftp://ftp.win.tue.nl/pub/linux-local/libc.archive/libc/libc-222.taz

Andries
Linux archaeologist
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!
newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!
proxad.net!fr.ip.ndsoftware.net!217.209.241.197.MISMATCH!news-stoc.telia.net!
news-stoa.telia.net!telia.net!nntp.inet.fi!inet.fi!fi.sn.net!
newsfeed1.fi.sn.net!uio.no!nntp.uio.no!ifi.uio.no!internet-mailinglist
Newsgroups: fa.linux.kernel
Return-Path: <linux-kernel-owner+linux-kernel=40ifi.uio...@vger.kernel.org>
Original-Date: 	Tue, 23 Dec 2003 12:27:57 -0800 (PST)
From: Linus Torvalds <torva...@osdl.org>
To: Andries Brouwer <a...@win.tue.nl>
cc: Mitchell Blank Jr <mi...@sfgoth.com>,
   "Giacomo A. Catenazzi" <c...@pixelized.ch>,
   "linux-ker...@vger.kernel.org" <linux-ker...@vger.kernel.org>,
   "Eric S. Raymond" <e...@thyrsus.com>, Jonathan Magid <j...@ibiblio.org>,
   "H. J. Lu" <h...@lucon.org>, "Adam J. Richter" <a...@yggdrasil.com>
Subject: Re: SCO's infringing files list
In-Reply-To: <20031223190656.GB15049@win.tue.nl>
Original-Message-ID: <Pine.LNX.4.58.0312231221380.14184@home.osdl.org>
Original-References: <200312221519.04677.tcfel...@mtco.com> 
<Pine.LNX.4.58.0312221337010.6...@home.osdl.org>
 <20031223002641.GD28...@pegasys.ws> <20031223092847.GA3...@deneb.enyo.de>
 <3FE811E3.6010...@debian.org> <Pine.LNX.4.58.0312230317450.12...@home.osdl.org>
 <3FE862E...@pixelized.ch> <20031223160425.GB45...@gaz.sfgoth.com>
 <20031223174454.GD45...@gaz.sfgoth.com> 
<Pine.LNX.4.58.0312230946010.14...@home.osdl.org>
 <20031223190656.GB15...@win.tue.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: linux-kernel-ow...@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
X-MailScanner-Information: This message has been scanned for viruses/spam. 
Contact postmas...@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.9, required 12,
	BAYES_00 -4.90)
Organization: Internet mailing list
Date: Tue, 23 Dec 2003 20:29:26 GMT
Message-ID: <fa.iegbg3i.1g02826@ifi.uio.no>
References: <fa.g08g00b.19ki...@ifi.uio.no>
Lines: 37



On Tue, 23 Dec 2003, Andries Brouwer wrote:
> On Tue, Dec 23, 2003 at 09:56:11AM -0800, Linus Torvalds wrote:
> 
> > It's almost certainly the "libc-2.2.2.tar.Z" file that we want
> 
> I just uploaded a copy to
> ftp://ftp.win.tue.nl/pub/linux-local/libc.archive/libc/libc-222.taz

Yup, and I can confirm two things:

 - the strings match 100% (well, duh, we already saw that from the binary)
 - it doesn't even have an "errno.h"

that, together with the timing, pretty much proves that the kernel header
was indeed just auto-generated from sys_errlist[] of that timeframe, with 
a program very much like the one I already posted.

Now, the libc file just says 

	/* This is a list of all known signal numbers.  */

(which is obviously just a cut-and-paste from siglist.c n the same 
directory). But it shouldn't much matter, since I don't think SCO really 
is going to try to claim copyright ownership of the result of standard C 
library interactions like using "sys_errlist[]".

(I take that back - _of_course_ they are going to try to claim ownership. 
After all, they already claimed ownership of code I provably wrote).

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

Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!
news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!
easynews.com!easynews!newshosting.com!news-xfer1.atl.newshosting.com!
newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!bofh.it!news.nic.it!robomod
From: Bruno Haible <br...@clisp.org>
Newsgroups: linux.kernel
Subject: Re: SCO's infringing files list
Date: Tue, 30 Dec 2003 15:30:12 +0100
Message-ID: <18t2Q-5d8-5@gated-at.bofh.it>
X-Original-To: linux-ker...@vger.kernel.org
User-Agent: KMail/1.5
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: robo...@news.nic.it
X-Mailing-List: linux-kernel@vger.kernel.org
Approved: robo...@news.nic.it
Lines: 56
Organization: linux.* mail to news gateway
X-Original-Cc: Linus Torvalds <torva...@osdl.org>
X-Original-Date: Tue, 30 Dec 2003 15:17:27 +0100
X-Original-Message-ID: <200312301517.27857.bruno@clisp.org>
X-Original-Sender: linux-kernel-ow...@vger.kernel.org

Here's some info about include/linux/ipc.h, also in SCO's list.

* lxr.linux.no shows that since version 1.0.9, it had only small incremental
  changes.

The earliest copy of this file that I've got is from Krishna
Balasubramanian's ipcbeta+.tar.Z file. This was his second or third
beta release of SysV IPC for Linux. The file is here:
http://www.haible.de/bruno/ipcbeta+.tar.Z

* The include/linux/ipc.h from ipcbeta+.tar.Z is the same as the one in
  linux-1.0.9 (http://lxr.linux.no/source/include/linux/ipc.h?v=1.0.9)

I claim that Krishna Balasubramanian wrote this file.

* The ipcbeta+.tar.Z contents shows how he developed this thing:
  He looked at various documentation sources (books, manual pages - remember
  POSIX didn't specify IPC at that time -).
  He collected some examples like the "dining philosophers" that were floating
  around on the net.
  We ran some test programs on other Unices (SunOS 4, possibly also HP-UX).
  He wrote 40 KB of documentation, explaining each and every system call.
  ... and someone who puts so much work in testing and documentation should
  steal the header file??!

* The value of IPC_PRIVATE is different in Linux. SysV systems define it as
  (key_t)0, Linux defines it as ((key_t) 0), which extra parentheses.

* The members of 'struct ipc_perm' are in different order on Linux.
  SysV systems have them in the order
     uid, gid, cuid, cgid, mode, seq, key.
  Linux has them in the order
     key, uid, gid, cuid, cgid, mode, seq.

* The values for IPC_CREAT, IPC_EXCL, IPC_NOWAIT are written as octal numbers,
  which is quite natural, since 9 bits having the same rwxrwxrwx semantics as
  file permissions can be ORed into it. SysV systems write these constants
  with 7 octal digits. Linux ipc.h writes them with 8 octal digits.

* The values of IPC_RMID, IPC_SET, IPC_STAT are different: on Solaris
  10, 11, 12; on Linux 0, 1, 2.

* 'struct ipc_kludge' and the corresponding #defines for SEMOP, SEMGET etc.
  don't exist in SysV systems. They arose only because we wanted to minimize
  the number of system calls.

I hope that's enough evidence that Krishna didn't copy the file's contents
from anywhere.

Bruno

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