From owner-freebsd-hackers Thu Oct 9 22:21:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA24435 for hackers-outgoing; Thu, 9 Oct 1997 22:21:01 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA24430 for ; Thu, 9 Oct 1997 22:20:58 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id HAA09473 for freebsd-hackers@freefall.FreeBSD.org; Fri, 10 Oct 1997 07:20:52 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id HAA22545; Fri, 10 Oct 1997 07:14:42 +0200 (MET DST) Message-ID: <19971010071442.IG51247@uriah.heep.sax.de> Date: Fri, 10 Oct 1997 07:14:42 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@freefall.FreeBSD.org Subject: Re: LINUX emulation and uname(3). References: <199710092227.SAA07605@lakes.dignus.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199710092227.SAA07605@lakes.dignus.com>; from Thomas David Rivers on Oct 9, 1997 18:27:47 -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Thomas David Rivers wrote: > So - does the uname() call under Linux emulation claim to be a LINUX > box? - or - does it claim to be a FreeBSD box... > > Which should it do? Seems to me, for accurate Linux emulation, it should > claim to be Linux... Why? After all, it's an emulation. Blame the vendor of the program for being stupid, and then patch the uname() call in your box. This check doesn't gain that vendor *anything*. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)