Date: Thu, 29 Mar 2001 19:16:49 +0200 From: Thomas Moestl <tmoestl@gmx.net> To: freebsd-arch@freebsd.org Cc: Robert Watson <rwatson@FreeBSD.org> Subject: Moving libposix1e into libc Message-ID: <20010329191649.A3998@crow.dom2ip.de>
next in thread | raw e-mail | index | archive | help
Hi, I'd like to move libposix1e, the library that implements the userland part of the POSIX.1e additions (like ACLs, capabilities, ...) into libc. The reasons for this are: - an increasing number of programs in the base system are going to require it, e.g. all libutil consumers, because setusercontext(3) will start to rely on POSIX.1e context management calls, and base system utilities that will need to be changed to correctly handle ACLs - it implements functions defined in sys/ headers (sys/acl.h, sys/capability.h and some more to come) - other implementations have integrated this into their libc, so it would increase compatability The overhead of this addition should be relatively small (about 50k for a static libc, and ~40k for a shared one). I would like to do the move by creating a posix1e subdirectory under src/lib/libc/ and having libposix1e repocopied there. That would mean that some syscall wrappers would also reside there, but I think that this is justifyable given that the POSIX.1e additions are a work in progress and also functionally belong together. There would also be a need to add libc_r handlers for four functions that deal with file descriptors before the build would be activated. Some parts of the library are not thread safe, but not in a way that would affect other functions (they define types without locks, so variables of those types cannot be shared between multiple threads). Any comments or objections to this? Thanks, - thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010329191649.A3998>