Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2002 11:15:02 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        Poul-Henning Kamp <phk@FreeBSD.org>, freebsd-hackers@freebsd.org
Subject:   Re: What is HIDE_POSIX & HIDE_BSD?
Message-ID:  <20020206111502.A5015@straylight.oblivion.bg>
In-Reply-To: <Pine.SOL.4.21.0201301709420.7338-100000@onyx>; from zzhang@cs.binghamton.edu on Wed, Jan 30, 2002 at 05:11:37PM -0500
References:  <20020130111231.B4374@straylight.oblivion.bg> <Pine.SOL.4.21.0201301709420.7338-100000@onyx>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020206111502.A5015>