#
7a30bcf0 |
| 02-Apr-2008 |
David Xu <davidxu@FreeBSD.org> |
Add pthread_setaffinity_np and pthread_getaffinity_np to libc namespace.
|
#
e03efb02 |
| 25-Mar-2008 |
Ruslan Ermilov <ru@FreeBSD.org> |
Compile libthr with warnings.
|
Revision tags: release/7.0.0_cvs, release/7.0.0 |
|
#
3cd52a77 |
| 06-Feb-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Add pthread_mutex_isowned_np() so there is no need for an additional prototype next to the implementation.
MFC after: 2 weeks
|
Revision tags: release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
a0da77c9 |
| 28-Mar-2006 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Add semaphore functions, and remove some dupes from the #if 0 section.
|
#
23a8b785 |
| 28-Mar-2006 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Add a bunch of missing pthread functions, and move out-of-order functions.
|
#
764fc0fb |
| 10-Mar-2006 |
David Xu <davidxu@FreeBSD.org> |
Add entries for new pthread stubs.
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
78956f24 |
| 03-Aug-2005 |
Daniel Eischen <deischen@FreeBSD.org> |
Add namespace #defines for usleep.
|
Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0 |
|
#
d0509082 |
| 01-May-2003 |
Jacques Vidrine <nectar@FreeBSD.org> |
Back out the `hiding' of strlcpy and strlcat. Several people vocally objected to this safety belt.
|
#
5723e501 |
| 29-Apr-2003 |
Jacques Vidrine <nectar@FreeBSD.org> |
`Hide' strlcpy and strlcat (using the namespace.h / __weak_reference technique) so that we don't wind up calling into an application's version if the application defines them.
Inspired by: qpopper's
`Hide' strlcpy and strlcat (using the namespace.h / __weak_reference technique) so that we don't wind up calling into an application's version if the application defines them.
Inspired by: qpopper's interfering and buggy version of strlcpy
show more ...
|
#
46d93063 |
| 17-Apr-2003 |
Jacques Vidrine <nectar@FreeBSD.org> |
= Implement name service switch modules (NSS modules). NSS modules may be built into libc (`static NSS modules') or dynamically loaded via dlopen (`dynamic NSS modules'). Modules are loaded/ini
= Implement name service switch modules (NSS modules). NSS modules may be built into libc (`static NSS modules') or dynamically loaded via dlopen (`dynamic NSS modules'). Modules are loaded/initialized at configuration time (i.e. when nsdispatch is called and nsswitch.conf is read or re-read).
= Make the nsdispatch(3) core thread-safe.
= New status code for nsdispatch(3) `NS_RETURN', currently used to signal ERANGE-type issues.
= syslog(3) problems, don't warn/err/abort.
= Try harder to avoid namespace pollution.
= Implement some shims to assist in porting NSS modules written for the GNU C Library nsswitch interface.
Sponsored by: DARPA, Network Associates Laboratories
show more ...
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
e0554a53 |
| 16-Feb-2003 |
Jacques Vidrine <nectar@FreeBSD.org> |
Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). Only warnings that could be fixed without changing the generated object code and without restructuring the source code have been handled.
Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). Only warnings that could be fixed without changing the generated object code and without restructuring the source code have been handled.
Reviewed by: /sbin/md5
show more ...
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
cdfbf192 |
| 07-Jan-2003 |
Tim J. Robbins <tjr@FreeBSD.org> |
Add waitpid to the list of hidden names for use by wordexp.c and grantpt.c.
|
#
fb22a377 |
| 13-Nov-2002 |
Daniel Eischen <deischen@FreeBSD.org> |
Use a jump table (a la Solaris) for pthread routines with default entries in the table being stubs. While I'm here, add macros to auto-generate the stubs. A conforming threads library can override
Use a jump table (a la Solaris) for pthread routines with default entries in the table being stubs. While I'm here, add macros to auto-generate the stubs. A conforming threads library can override the stub routines by filling in the jump table.
Add some entries to namespace.h and sync un-namespace.h to it. Also add a comment to remind folks to update un-namespace.h when changing namespace.h.
show more ...
|
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
4cd01193 |
| 29-Mar-2002 |
Mark Murray <markm@FreeBSD.org> |
Do not use __progname directly (except in [gs]etprogname(3)). Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the
Do not use __progname directly (except in [gs]etprogname(3)). Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the same name is defined in userland.
show more ...
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
ac8e56a7 |
| 11-Nov-2001 |
Bruce Evans <bde@FreeBSD.org> |
Fixed namespace pollution related to `err' in libc in the same way as for `warn'. Now a whole 2 members of the err() family don't cause pollution.
This fixes world breakage in awk for NOSHARED worl
Fixed namespace pollution related to `err' in libc in the same way as for `warn'. Now a whole 2 members of the err() family don't cause pollution.
This fixes world breakage in awk for NOSHARED worlds. contrib/awk/msg.c has had its own version of err() for a long time, but this somehow didn't cause problems until the update to awk-3.1.0.
show more ...
|
#
3ce88dc6 |
| 19-Oct-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
signanosleep(2) hasn't existed since 1998.
|
#
1643f03d |
| 29-Aug-2001 |
Bruce Evans <bde@FreeBSD.org> |
Fixed namespace pollution related to `warn' in libc (but not in other libraries or for other members of the err() family).
This fixes world breakage in bc and rcs/* for NOSHARED worlds.
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
37bc56f8 |
| 04-Apr-2001 |
Thomas Moestl <tmm@FreeBSD.org> |
Add entries for the posix1e functions that will be overridden in libc_r.
Approved by: rwatson Obtained from: TrustedBSD Project
|
#
29ac6bd2 |
| 11-Feb-2001 |
Daniel Eischen <deischen@FreeBSD.org> |
libc MT-safety, part 2.
Add a lock to FILE. flockfile and friends are now implemented (for the most part) in libc. flockfile_debug is implemented in libc_r; I suppose it's about time to kill it bu
libc MT-safety, part 2.
Add a lock to FILE. flockfile and friends are now implemented (for the most part) in libc. flockfile_debug is implemented in libc_r; I suppose it's about time to kill it but will do it in a future commit.
Fix a potential deadlock in _fwalk in a threaded environment. A file flag (__SIGN) was added to stdio.h that, when set, tells _fwalk to ignore it in its walk. This seemed to be needed in refill.c because each file needs to be locked when flushing.
Add a stub for pthread_self in libc. This is needed by flockfile which is allowed by POSIX to be recursive.
Make fgetpos() error return value (-1) match man page.
Remove recursive calls to locked functions (stdio); I think I've got them all, but I may have missed a couple.
A few K&R -> ANSI conversions along with removal of a few instances of "register".
$Id$ -> $FreeBSD$ in libc/stdio/rget.c
Not objected to: -arch, a few months ago
show more ...
|
#
d201fe46 |
| 24-Jan-2001 |
Daniel Eischen <deischen@FreeBSD.org> |
Remove _THREAD_SAFE and make libc thread-safe by default by adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will
Remove _THREAD_SAFE and make libc thread-safe by default by adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in.
Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo
Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo.
Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible.
Remove uneeded includes of <errno.h> from a few files.
Add $FreeBSD$ to a few files in order to pass commitprep.
Approved by: -arch
show more ...
|