From owner-freebsd-hackers Wed Feb 6 1:14:30 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 784E037B420 for ; Wed, 6 Feb 2002 01:14:23 -0800 (PST) Received: (qmail 19492 invoked by uid 1000); 6 Feb 2002 09:15:02 -0000 Date: Wed, 6 Feb 2002 11:15:02 +0200 From: Peter Pentchev To: Zhihui Zhang Cc: Poul-Henning Kamp , freebsd-hackers@freebsd.org Subject: Re: What is HIDE_POSIX & HIDE_BSD? Message-ID: <20020206111502.A5015@straylight.oblivion.bg> Mail-Followup-To: Zhihui Zhang , Poul-Henning Kamp , freebsd-hackers@freebsd.org References: <20020130111231.B4374@straylight.oblivion.bg> 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 Wed, Jan 30, 2002 at 05:11:37PM -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 Wed, Jan 30, 2002 at 05:11:37PM -0500, Zhihui Zhang wrote: [top-posting; format recovered] > 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? > > I can't guess what does it mean by "hiding". Maybe any system call can be > hidden from some configuration of the kernel. Maybe we should CC phk@ explicitly then :) Poul-Henning, you removed the syscalls-hide file; could you shed some light on what it was meant to be used for? :) G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence would be seven words long if it were six words shorter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message