From owner-freebsd-hackers Wed Jan 30 1:12:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from straylight.ringlet.net (discworld.nanolink.com [217.75.135.248]) by hub.freebsd.org (Postfix) with SMTP id C13FA37B402 for ; Wed, 30 Jan 2002 01:11:54 -0800 (PST) Received: (qmail 27025 invoked by uid 1000); 30 Jan 2002 09:12:32 -0000 Date: Wed, 30 Jan 2002 11:12:32 +0200 From: Peter Pentchev To: Zhihui Zhang Cc: freebsd-hackers@freebsd.org Subject: Re: What is HIDE_POSIX & HIDE_BSD? Message-ID: <20020130111231.B4374@straylight.oblivion.bg> Mail-Followup-To: Zhihui Zhang , freebsd-hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from zzhang@cs.binghamton.edu on Tue, Jan 29, 2002 at 03:58:16PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jan 29, 2002 at 03:58:16PM -0500, Zhihui Zhang wrote: > > While adding a system call, I notice in file syscall-hide.h there are > many instances of HIDE_POSIX() and HIDE_BSD(). What is the purpose of > these macros? Maybe they are now obsolete? The syscalls-hide.h file was generated from sys/kern/makesyscalls.sh from the third field of sys/kern/syscalls.master - POSIX, BSD or NOHIDE. However, three months ago Poul Henning-Kamp removed the syscalls-hide.h file and the relevant parts of makesyscalls.sh. I think that this may be scheduled for MFC'ing some time in the future, but you might have to ask phk for specifics. Also, I would also like to know what was the original purpose of the POSIX/BSD/NOHIDE distinction. BTW, should that field be removed from syscalls.master, too? G'luck, Peter -- If wishes were fishes, the antecedent of this conditional would be true. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message