From owner-freebsd-hackers Thu Oct 9 19:44:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA17111 for hackers-outgoing; Thu, 9 Oct 1997 19:44:05 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA17080 for ; Thu, 9 Oct 1997 19:44:01 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from ponds.dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.5/8.8.4) with ESMTP id WAA29713; Thu, 9 Oct 1997 22:43:52 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by ponds.dignus.com (8.8.5/8.8.5) with ESMTP id WAA13373; Thu, 9 Oct 1997 22:59:18 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.5/8.6.9) id WAA08040; Thu, 9 Oct 1997 22:49:40 -0400 (EDT) Date: Thu, 9 Oct 1997 22:49:40 -0400 (EDT) From: Thomas David Rivers Message-Id: <199710100249.WAA08040@lakes.dignus.com> To: cracauer@cons.org, rivers@dignus.com Subject: Re: LINUX emulation and uname(3). Cc: freebsd-hackers@freefall.FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > In <199710092227.SAA07605@lakes.dignus.com>, Thomas David Rivers wrote: > > > > I have a program, written for Linux, that uses the uname() information > > as part of its license check... > > > > Unfortunately, the check fails... the company indicates that the > > failure is due to incorrect uname() information. > > > > 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... > > Add a program named "uname" to /compat/linux/bin or such that puts out > hardcoded strings of your choice. > > Martin Umm... this is the uname(3) system call - not the uname command. - Dave Rivers -