From owner-freebsd-commit Sat Jul 8 19:51:13 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA15396 for commit-outgoing; Sat, 8 Jul 1995 19:51:13 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA15316 for cvs-sys-outgoing; Sat, 8 Jul 1995 19:49:38 -0700 Received: (from peter@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA15306 ; Sat, 8 Jul 1995 19:49:33 -0700 Date: Sat, 8 Jul 1995 19:49:33 -0700 From: Peter Wemm Message-Id: <199507090249.TAA15306@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_sysctl.c Sender: commit-owner@FreeBSD.org Precedence: bulk peter 95/07/08 19:49:32 Modified: sys/kern kern_sysctl.c Log: This implements enough of the BSDI extensions to the net-2 ogetkerninfo() syscall to allow applications linked against their libc's uname() to work. Netscape 1.1N being a prime example, which prints: "uname() failed. cant tell what system we're running on". This change is a little ugly, but that's mainly because of the "interesting" semantics of the BSDI extension. Since ogetkerninfo() is only enabled by COMPAT_43, Netscape will only be affected on kernels with that option (eg: "GENERIC") Reviewed by: davidg