Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 1997 01:40:16 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Thomas David Rivers <rivers@dignus.com>
Cc:        freebsd-hackers@freefall.FreeBSD.org
Subject:   Re: LINUX emulation and uname(3).
Message-ID:  <19971010014016.54859@cons.org>
In-Reply-To: <199710092227.SAA07605@lakes.dignus.com>; from Thomas David Rivers on Thu, Oct 09, 1997 at 06:27:47PM -0400
References:  <199710092227.SAA07605@lakes.dignus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
BSD User Group Hamburg/Germany      http://www.bsdhh.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971010014016.54859>