From owner-freebsd-hackers Mon Oct 20 23:20:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA22256 for hackers-outgoing; Mon, 20 Oct 1997 23:20:56 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA22248 for ; Mon, 20 Oct 1997 23:20:52 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA13844; Tue, 21 Oct 1997 08:20:34 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id IAA17010; Tue, 21 Oct 1997 08:15:17 +0200 (MET DST) Message-ID: <19971021081517.PE48415@uriah.heep.sax.de> Date: Tue, 21 Oct 1997 08:15:17 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Cc: darrenr@cyber.com.au (Darren Reed) Subject: Re: FreeBSD 3.0 kernel API ?! References: <199710201834.LAA09783@usr05.primenet.com> <199710202357.JAA09206@plum.cyber.com.au> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199710202357.JAA09206@plum.cyber.com.au>; from Darren Reed on Oct 21, 1997 09:57:17 +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Darren Reed wrote: > Sigh. This is all very amusing, I guess. Here's a tip for you: > if you *really* want to separate what user programs can and can not > include (or should and should not), don't put any "kernel only" > include files under /usr/include and remove all references from > /usr/include files to anything that should only be in the kernel. You're missing the point of /usr/include/sys/ and friends. This directory is intended to carry the common interface declarations between kernel and userland. The most consistent way for a development machine is, of course, to symlink these directories into the kernel tree. (NB: this doesn't necessarily i agree with all those *_var.h's. IMHO, an #ifdef _KERNEL (still misspelled without the underscore in FreeBSD) should suffice. LKMs do need to define this macro, too, of course.) > p.s. what's up with hackers@freebsd ? I haven't seen any mail come > through it for a while now... Well, maybe your site caused excessive bounces, so Jonathan had to remove you? I'm dropping you a Cc this time. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)