From owner-cvs-all Wed Apr 4 12:59:12 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 7369337B72F for ; Wed, 4 Apr 2001 12:59:04 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 9232 invoked by uid 0); 4 Apr 2001 19:59:01 -0000 Received: from p3e9e03d2.dip.t-dialin.net (HELO forge.local) (62.158.3.210) by mail.gmx.net (mp018-rz3) with SMTP; 4 Apr 2001 19:59:01 -0000 Received: from tmm by forge.local with local (Exim 3.20 #1) id 14ktQg-0000p5-00; Wed, 04 Apr 2001 21:58:58 +0200 Date: Wed, 4 Apr 2001 21:58:56 +0200 From: Thomas Moestl To: Daniel Eischen Cc: Thomas Moestl , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc_r/uthread uthread_acl_aclcheck_fd.c uthread_acl_delete_fd.c uthread_acl_get_fd.c uthread_acl_set_fd.c uthread_cap_get_fd.c uthread_cap_set_fd.c pthread_private.h Message-ID: <20010404215855.A3023@crow.dom2ip.de> Mail-Followup-To: Thomas Moestl , Daniel Eischen , Thomas Moestl , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200104041810.f34IAQO31881@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from eischen@vigrid.com on Wed, Apr 04, 2001 at 03:26:00PM -0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 04, 2001 at 03:26:00PM -0400, Daniel Eischen wrote: > On Wed, 4 Apr 2001, Thomas Moestl wrote: > > tmm 2001/04/04 11:10:26 PDT > > > > Modified files: > > lib/libc_r/uthread pthread_private.h > > Added files: > > lib/libc_r/uthread uthread_acl_aclcheck_fd.c > > uthread_acl_delete_fd.c > > uthread_acl_get_fd.c uthread_acl_set_fd.c > > uthread_cap_get_fd.c uthread_cap_set_fd.c > > Log: > > Add thread safety wrappers for the posix1e syscalls that deal with file > > descriptors. > > > > Approved by: rwatson > > Obtained from: TrustedBSD Project > > No big deal, but fd locking has been disabled for a while in -current. > I want to eventually eliminate all the _FD_LOCK and _FD_UNLOCK calls > and remove wrappers whose only purpose is to provide fd locking. Oops, I didn't know that. Well, then the new wrappers will probably be removed some day without ever serving a purpose... > BTW, why do all the acl system calls begin with 2 underscores? > Is that specified by the POSIX1.e standard? No, they just shouldn't be in the application namespace; they need to be wrapped in the library because the arguments are different (they need to be because the userland acl types need additional state information for the editing functions and the acl's and cap sets are managed in malloc'ed storage). - thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message