From owner-cvs-sys Sun Oct 15 22:32:34 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA26215 for cvs-sys-outgoing; Sun, 15 Oct 1995 22:32:34 -0700 Received: (from swallace@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA26204 ; Sun, 15 Oct 1995 22:32:24 -0700 Date: Sun, 15 Oct 1995 22:32:24 -0700 From: Steven Wallace Message-Id: <199510160532.WAA26204@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_stat.c ibcs2_utsname.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk swallace 95/10/15 22:32:22 Modified: sys/i386/ibcs2 ibcs2_stat.c ibcs2_utsname.h Log: Do a better fake for uname information returned in utssys() call. Currently, the emulator defaults to returning "FreeBSD" as the system name, release "3.2", and version "2.0". Some programs want to make sure they are on a SYSV 3.2 system and check for 3.X release number. Use the following defines to override the defaults: IBCS2_UNAME_SYSNAME IBCS2_UNAME_RELEASE IBCS2_UNAME_VERSION (should be string) for system name, release, and version, respectively. This allows someone to compile the emulator into the kernel so it can pretend to be a specific system if needed.