summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* libkse was renamed to libpthread.davidxu2004-02-052-2/+2
|
* Allow libc's version of sem_trywait() to work for non-pshared mutexes.deischen2004-02-041-2/+17
|
* Put libraries in the link order.ru2004-02-041-3/+2
| | | | Reported by: lorder(1) (modified to work with libraries)
* Nothing in libypclnt depends on librpcsvc.ru2004-02-041-3/+0
| | | | Reported by: lorder(1) (modified to work with libraries)
* This module doesn't use libgssapi (and it looks never did).ru2004-02-041-3/+2
|
* Add missing file.davidxu2004-02-041-0/+43
|
* Import initial work of libpthread debugging. This is a debugger independentdavidxu2004-02-046-0/+900
| | | | | friend library for libpthread, the library will be used by debugger to read/write libpthread's internal data structures.
* Remove the band-aid (#include <time.h>).deischen2004-02-031-1/+0
|
* Add <time.h> -- bandaid to unbreak world in <semaphore.h>.deischen2004-02-031-0/+1
|
* Provide a userland version of non-pshared semaphores and add cancellationdeischen2004-02-034-338/+306
| | | | points to sem_wait() and sem_timedwait(). Also make sem_post signal-safe.
* Modify the implementation of libc semaphores so that they can bedeischen2004-02-031-146/+132
| | | | | | | | | | | | overridden by the threads library to provide a userland version of non-pshared semaphores and cancellation points. Also add a sem_timedwait(). The libc version of semaphores always uses kernel semaphores regardless of whether pshared is set or not. When threads are not present, it is difficult to get sem_wait() or sem_timedwait() to do the right thing (since pthread_cond_timedwait() and pthread_cond_wait() are stubs in libc and just return immediately).
* Bump up the maximum number concurrent threads on x86.mtm2004-02-011-1/+1
|
* Merge vfscanf.c,v 1.35.das2004-01-311-4/+10
|
* Fix the handling of negative hexadecimal numbers in integer formats.das2004-01-311-3/+9
| | | | | | | Note that this bug is unrelated to recent work in this area; it seems to have been present since revision 1.1. Obtained from: NetBSD
* LC_ALL not always take priority over other LC_*ache2004-01-311-22/+35
| | | | | Obtained from: NetBSD PR: 62047
* Correct the link for the profiling library.deischen2004-01-311-1/+1
|
* Now that libpthread is the default threading library, remove themarcel2004-01-312-24/+0
| | | | | compatibility link from libc_r to libpthread (previously a link from libc_r to libkse).
* In Write_Disk(), fix the non-error case where we returned to themarcel2004-01-301-4/+0
| | | | | | | | caller without closing the disk device and freeing allocated memory. Not closing the disk device prevents GEOM from retasting after spoiling. Pointy hat: marcel
* Change libkse back to libpthread and make it the defaultdeischen2004-01-303-0/+18
| | | | | | | | | | | thread library for i386, amd64, and ia64. For alpha and sparc64 the library is not changed and remains libkse, and links are installed so that libpthread -> libc_r. The gcc -pthread option will be changed in a separate commit so that it links to -lpthread instead of -lc_r. Approved by: re@
* I update the rwlock code in libthr to be more standards compliant andmtm2004-01-291-12/+119
| | | | | | | | | | what do I get for my troubles? libc breaks offcourse! Reimplement a hack (in libthr) that allows libc to use rwlocks without initializing them first. The hack was reimplemented so that only a private libc version of the rwlock locking functions initializes an uninitialized rwlock. The application version will correctly fail.
* When suspending a thread if the timeout was very short ormtm2004-01-291-0/+11
| | | | | | | | | | | | | the system call got interrupted and the absolute timeout is converted to a relative timeout, it may happen that we get a negative number. In such a case, simply set the timeout to zero so that if the event that the thread wants to wait for has happened it can still return successfully, but if it hasn't happened then the thread doesn't suspend indefinitely. This should fix certain applications (including mozilla) that seem to hang indefinitely sometimes. Noticed and debugged by: Morten Johansen <root@morten-johansen.net>
* Add reference to environ(7)ache2004-01-291-1/+2
|
* Fix an uninitialized variable bug that caused write_pmbr() to boguslymarcel2004-01-281-3/+4
| | | | | | return an error value that made Write_Disk() abort. While on the subject, improve the initialization of the error variable in read_gpt() and update_gpt() even though nothing was broken there.
* Add NO_BLUETOOTH knob to the build processemax2004-01-281-2/+4
| | | | | Requested by: phk Reviewed by: imp (mentor), ru
* Increment WARNS.ru2004-01-281-1/+1
|
* The report size is not a local item, so don't clear it when clearing local ↵emax2004-01-281-1/+0
| | | | | | | | items. PR: misc/58971 Reviewed by: imp (mentor), mdodd Obtained from: NetBSD
* - Added three new interfaces, NgAllocRecvMsg(), NgAllocRecvAsciiMsg(),ru2004-01-275-9/+109
| | | | | | | | | | | and NgAllocRecvData(), that dynamically allocate buffer for a binary message, an ascii message, and a data packet, respectively. The size of the allocated buffer is equal to the socket's receive buffer size to guarantee that a message or a data packet is not truncated. - Get rid of the static size buffer in NgSendAsciiMsg(). OK'ed by: archie, julian
* mdoc(7) cleanup.ru2004-01-271-39/+72
|
* Fixed memory leak in NgSendAsciiMsg().ru2004-01-271-1/+4
|
* Fixed pc98 partition type.nyan2004-01-271-1/+1
|
* Implement pam_sm_close_session().des2004-01-261-1/+13
| | | | | PR: bin/61657 Submitted by: Joe R. Doupnik <jrd@cc.usu.edu>
* Xref kqueue and polleivind2004-01-261-0/+2
|
* Xref kqueueeivind2004-01-261-0/+1
|
* Cleanup CFLAGS in libsdp(3) Makefileemax2004-01-251-1/+1
| | | | | | Connect sdpd(8) to the build Reviewed by: ru, imp (mentor)
* I don't normally use my middle name, so remove it from attributions indes2004-01-251-2/+2
| | | | | man pages (though not from copyright notices). While I'm here, add email addresses where appropriate.
* Describe EOVERFLOW caseache2004-01-251-0/+9
|
* Rename the MIBS makefile variable to BMIBS so that it does not conflictharti2004-01-242-4/+4
| | | | with the environment variable MIBS that is used by net-snmp.
* When writing/reading longs use explicit 32bit temporary values.mbr2004-01-241-3/+4
| | | | | | | | MFNetBSD rev. 1.15 + rev 1.16 PR: bin/60901 Submitted by: Logan Gabriel <gersh@sonn.com> Obtained from: NetBSD
* Merge vfprintf.c, v1.61 and 1.62. For compatibility with __hdtoa()das2004-01-231-19/+25
| | | | | | | and to reduce diffs between vfprintf.c and vfwprintf.c, declare xdigs* to be char arrays rather than wchar_t arrays. In collaboration with: tjr
* Create the OID and tree files while building the modules and the daemonharti2004-01-2311-453/+13
| | | | | | | | instead of creating them by hand and storing them in the CVS tree. Add gensnmptree to the bootstrap tools (it is used to generated these files). This simplifies the update procedure. Submitted by: ru
* Style: remove an empty line.harti2004-01-231-1/+0
|
* Initialize the (i386) frame pointer when setting up a threaddeischen2004-01-221-1/+4
| | | | | | | context. Submitted by: Marc Olzheim <marcolz@stack.nl> Tested by: Marc Olzheim <marcolz@stack.nl>
* o Implement the pthread_spin_* functions in libthr.mtm2004-01-222-0/+91
| | | | o Man pages
* Clean up error handling in libstand filesystem code to be more consistent:jhb2004-01-2110-27/+49
| | | | | | | | | | | | | | | - bzipfs and gzipfs now properly return errno values directly from their read routines rather than returning -1. - missing errno values on error returns for the seek routines on almost all filesystems were added. - fstat() now returns -1 if an error occurs rather than ignoring it. - nfs's readdir() routine now reports valid errno values if an error or EOF occurs rather than EPERM (It was just returning 0 for success and 1 for failure). - nullfs used the wrong semantics for every function besides close() and seek(). Getting it right for close() appears to be an accident at that. - read() for buffered files no longer returns 0 (EOF) if an error occurs, but returns -1 instead.
* Include <stdlib.h> to get abort() prototype.grehan2004-01-211-0/+2
|
* Updated manh shift constant type to 'ULL' for PPC to fixgrehan2004-01-211-1/+1
| | | | | | shift-too-large compile error reviewed by: das
* Import sdpd(8) sources. This is Bluetooth Service Discovery Protocol daemon.emax2004-01-205-7/+379
| | | | | | | | Extend libsdp(3) API to allow service registration and removal. Fix uninitialized variable bug in sdpcontrol(8). Reviewed by: imp (mentor) No objection: ru
* The <bsd.files.mk> API seems the best to use here.ru2004-01-201-11/+7
|
* Discard the first 1024 bytes of output as suggested bydas2004-01-201-1/+13
| | | | | | | | http://citeseer.nj.nec.com/fluhrer01weaknesses.html and http://citeseer.nj.nec.com/531224.html . PR: 61126 Submitted by: Jeff Ito <jeffi@rcn.com>
* Use 'uint32_t' instead of 'long' when a 32-bit integer is intended.das2004-01-201-31/+32
| | | | | | | | | This results in no functional change, aside from fixing a data corruption bug on LP64 platforms. The code here could still use a significant amount of cleanup. PR: 56502 Submitted by: hrs (earlier version)
OpenPOWER on IntegriCloud