Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2001 21:58:56 +0200
From:      Thomas Moestl <tmoestl@gmx.net>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        Thomas Moestl <tmm@FreeBSD.org>, 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>
In-Reply-To: <Pine.SUN.3.91.1010404151816.12121C-100000@pcnet1.pcnet.com>; from eischen@vigrid.com on Wed, Apr 04, 2001 at 03:26:00PM -0400
References:  <200104041810.f34IAQO31881@freefall.freebsd.org> <Pine.SUN.3.91.1010404151816.12121C-100000@pcnet1.pcnet.com>

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




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