From owner-freebsd-current Mon Nov 12 16:25:46 2001 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 58BCA37B417 for ; Mon, 12 Nov 2001 16:25:37 -0800 (PST) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.4/8.11.4) id fAD0PYU43694; Mon, 12 Nov 2001 16:25:34 -0800 (PST) (envelope-from sgk) Date: Mon, 12 Nov 2001 16:25:33 -0800 From: Steve Kargl To: Julian Elischer Cc: Garrett Wollman , freebsd-current@FreeBSD.ORG Subject: Re: namespace pollution with struct thread? Message-ID: <20011112162533.A43547@troutmask.apl.washington.edu> References: <200111122307.fACN7wa87802@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Mon, Nov 12, 2001 at 03:50:16PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I can confirm that I can build wine and run it if I put #ifdef _KERNEL ... #endif in sys/proc.h. I was uncertain about whether sys/user.h was a non-standard header file. I will probably relay Garrett's point to the wine developers at some point. steve On Mon, Nov 12, 2001 at 03:50:16PM -0800, Julian Elischer wrote: > On the other hand we might conceivably be able to > stop the export from the kernel of this struct type. > > > On Mon, 12 Nov 2001, Garrett Wollman wrote: > > > < said: > > > > > I WINE developer has suggested that this is namespace > > > pollution on the part of FreeBSD, but he hasn't given > > > any details to support what he means. > > > > Applications which include , or any other non-standard > > header file, should expect that any conceivable symbol might be used > > therein. FreeBSD makes no guarantees as to the namespace used by > > non-standard interfaces. (We don't want to be like certain other > > environments where every symbol that might conceivably be accessible > > to an application is obfuscated with multiple underscores.) > > > > -GAWollman > > > > -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message