From owner-freebsd-hackers Wed Jan 30 14:13:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 0902637B417 for ; Wed, 30 Jan 2002 14:12:54 -0800 (PST) Received: from onyx (onyx.cs.binghamton.edu [128.226.140.171]) by bingnet2.cc.binghamton.edu (8.11.6/8.11.6) with ESMTP id g0UMCg817997; Wed, 30 Jan 2002 17:12:42 -0500 (EST) Date: Wed, 30 Jan 2002 17:11:37 -0500 (EST) From: Zhihui Zhang X-Sender: zzhang@onyx To: Peter Pentchev Cc: freebsd-hackers@freebsd.org Subject: Re: What is HIDE_POSIX & HIDE_BSD? In-Reply-To: <20020130111231.B4374@straylight.oblivion.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I can't guess what does it mean by "hiding". Maybe any system call can be hidden from some configuration of the kernel. -Zhihui On Wed, 30 Jan 2002, Peter Pentchev wrote: > 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