From owner-cvs-all Sun Dec 29 20:37:32 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3A9F37B401; Sun, 29 Dec 2002 20:37:31 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 558B543EB2; Sun, 29 Dec 2002 20:37:30 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id PAA11985; Mon, 30 Dec 2002 15:37:27 +1100 Date: Mon, 30 Dec 2002 15:39:25 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Robert Watson Cc: Garrett Wollman , , Subject: Re: cvs commit: src/sys/kern syscalls.master In-Reply-To: Message-ID: <20021230153107.P44771-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 29 Dec 2002, Robert Watson wrote: > On Sun, 29 Dec 2002, Garrett Wollman wrote: > > > > These calls are similar in spirit to lstat(), lchown(), lchmod(), etc, > > > > ...except for the extreme verbosity in their names. > > Yeah. They're derived from the POSIX1e-D17 naming scheme, and that naming > scheme sucks. :-) You don't have to follow it, since it is not a standard. Please don't add to the verbosity by prefixing 2 underscores. Until 4.4BSD/FreeBSD-2 there were no function names in syscalls.master with any leading underscores. _exit(2) might have had just one but had none. 4.4BSD added __sysctl(). Now there are __semctl(), __getcwd(), __setugid(), , and a slew of names beginning with __acl, __cap and __mac. Libraries may need lots of underscores for their critical entry points for technical reasons, but kernels don't. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message