Date: Thu, 9 Oct 1997 23:04:33 -0500 From: Jonathan Lemon <jlemon@americantv.com> To: Thomas David Rivers <rivers@dignus.com> Cc: cracauer@cons.org, freebsd-hackers@freefall.FreeBSD.org Subject: Re: LINUX emulation and uname(3). Message-ID: <19971009230433.37612@right.PCS> In-Reply-To: <199710100249.WAA08040@lakes.dignus.com>; from Thomas David Rivers on Oct 10, 1997 at 10:49:40PM -0400 References: <199710100249.WAA08040@lakes.dignus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 10, 1997 at 10:49:40PM -0400, 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... > The Linux uname() call currently reports the FreeBSD info. I suppose that this could be made into a sysctl if it really becomes a nuisance? (see sys/i386/linux/linux_misc.c:linux_newuname for the implementation) -- Jonathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971009230433.37612>