From owner-freebsd-net Tue Mar 28 12:52:52 2000 Delivered-To: freebsd-net@freebsd.org Received: from scotch.merit.edu (scotch.merit.edu [198.108.60.195]) by hub.freebsd.org (Postfix) with ESMTP id 019EB37BB1B for ; Tue, 28 Mar 2000 12:52:47 -0800 (PST) (envelope-from chopps@scotch.merit.edu) Received: (from chopps@localhost) by scotch.merit.edu (8.8.8/8.8.8) id PAA20395; Tue, 28 Mar 2000 15:52:45 -0500 (EST) Date: Tue, 28 Mar 2000 15:52:44 -0500 From: "Christian E. Hopps" To: Garrett Wollman Cc: freebsd-net@FreeBSD.ORG Subject: Re: namespace pollution (if_list) Message-ID: <20000328155244.A20019@merit.edu> References: <20000328151907.K8280@merit.edu> <200003282031.PAA83082@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1us In-Reply-To: <200003282031.PAA83082@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Tue, Mar 28, 2000 at 03:31:56PM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 28, 2000 at 03:31:56PM -0500, Garrett Wollman wrote: > < said: > > > Are people failing to realize that this now prohibits use of > > `if_list' and `if_addrlist' in user programs?? > > If you include , and expect to use if_ANYTHING in your > programs, you have made a serious error -- just as you cannot include > and then expect to define a macro called isfoo(). Is this the position of FreeBSD? You do realize that this is horrible OS design right? To be honest I expected an "Oops we'll fix it" not some justification for a stupid action. But let me get this straight FreeBSD is now reserving the prefix "if_" and user programs are not allowed to use it? How many other of these are there? Should I go through every OS header file in FreeBSD and consider any prefix it uses as reserverd?? Chris. P.S. the program is GateD, which has been around and using if_list since before FreeBSD was even some dream in a 386bsd patchkit maintainer's head. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message