summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: fixed warnings.ru2000-11-201-4/+2
|
* mdoc(7) police: fixed warning.ru2000-11-201-1/+1
|
* mdoc(7) police: Nm -> Fn where appropriate.ru2000-11-2017-69/+66
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-206-25/+25
|
* Change a "while {}" loop to a "do {} while" to allow it to bedeischen2000-11-206-9/+21
| | | | | | | | | | | | | executed at least once, fixing pthread_mutex_lock() for recursive mutex lock attempts. Correctly set a threads signal mask while it is executing a signal handler. The mask should be the union of its current mask, the signal being handled, and the mask from the signal action. Reported by: Dan Nelson <dnelson@emsphone.com> MFC Candidate
* Fix MD macros to work for alpha. Without this fix, threads under alphadeischen2000-11-203-12/+12
| | | | | | | | seem to be totally broke. MFC Candidate Submitted by: gallatin
* MAXPATHNAMELEN -> MAXPATHLENkris2000-11-191-1/+1
| | | | | Submitted by: ianm@kashmir.cit.nepean.uws.edu.au via OpenBSD Obtained from: OpenBSD
* Don't suggest people use getpid() to construct temporary filenames;kris2000-11-191-2/+6
| | | | | | point them to mkstemp() instead. Obtained from: OpenBSD (based on)
* Update the documentation to describe the new mktemp() family behaviour.kris2000-11-191-8/+33
| | | | | | | Also notes that mkstemp() first appeared in 4.4BSD (change obtained from OpenBSD) Reviewed by: sheldonh
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-1721-22/+22
|
* Fix a bug where a statically initialized condition variabledeischen2000-11-163-6/+6
| | | | | | | | | | was not getting properly initialized in pthread_cond_signal() and pthread_cond_broadcast(). Reportedly, this can cause an application to die. MFC candidate Submitted by: ade
* Delete 4 lines of misleading/incorrect comments.deischen2000-11-163-12/+0
|
* Replace a `dagger' sign with a `double dagger' one.ru2000-11-161-15/+15
| | | | The former looks ugly on grotty(1) devices.
* Remove fullstops from the end of .Xr lines in SEE ALSO section.ben2000-11-1512-12/+12
|
* When entering the scheduler from the signal handler, telldeischen2000-11-1412-57/+114
| | | | | | | | | | | the kernel to (re)use the alternate signal stack. In this case, we don't return normally from the signal handler, so the kernel still thinks we are using the signal stack. The fixes a nasty bug where the signal handler can start fiddling with the stack of a thread while the handler is actually running on the same stack. MFC candidate
* Convert this from -man to -mdoc.ru2000-11-141-140/+345
|
* Spell the des's name correctly.ru2000-11-141-2/+2
|
* Spell the sos's name correctly.ru2000-11-141-1/+1
|
* Use Fx macro wherever possible.ru2000-11-1445-63/+141
|
* Change [Ii]t's to "It is" and "its" as appropriate.sheldonh2000-11-141-1/+1
|
* Whitespace only: remove hard sentence breaks introduced in previoussheldonh2000-11-141-3/+4
| | | | commit and use a paragraph marker (Pp) instead of a blank line.
* Bump the shared lib version. There seems to have been an incompatibleobrien2000-11-144-4/+4
| | | | | change committed to RELENG_4 where a bump there is now necessary. We've got to go before RELENG_4 does.
* Fix bug introduced in previous commit: users obtained via compat modenectar2000-11-131-3/+8
| | | | | | had uid, gid set to 0 if not otherwise specified! Submitted by: eivind
* Create the links for the reentrant time functions.nik2000-11-121-1/+3
| | | | | PR: docs/22644 Submitted by: andrew@ugh.net.au
* Correct the logic for checking the emptiness of the waiting queue.deischen2000-11-113-3/+3
| | | | | | | This fixes a potential problem where the file descriptors would not be polled causing waiting threads to stay waiting. Doh! MFC candidate.
* Correct description of KERN_PROC. Add description of KERN_PROC_ARGS.abial2000-11-111-2/+13
|
* Increase the size of the mktemp() filename space by dropping the PID fromkris2000-11-101-25/+17
| | | | | | | | | | | | | the encoding and using the character set [a-zA-Z0-9]. This gives a total of 62^6 = 56800235584 possible temporary filenames for the usual default invocation of 6 X's (compared to as few as 52 possibilities for the previous algorithm where up to 5 characters were wasted by the PID). Update some apparently bitrotten comments to reflect reality. Audited by: eivind, freebsd-audit Reviewed by: freebsd-current (a while ago) Originally submitted by: Peter Jeremy <Peter.Jeremy@alcatel.com.au>
* remove outdated bugs, we actually do have aio_cancel supportalfred2000-11-102-4/+1
| | | | as well as support for the field aio_offset in the aiocb structure.
* Fix passwd entry `prototypes' in compat mode. I broke this in revisionnectar2000-11-101-34/+16
| | | | | | 1.55 when importing nsswitch from NetBSD. Reported by: Naoki Kobayashi <shibata@geo.titech.ac.jp>
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-1024-50/+27
|
* Use the documented (and historical) defaults. Centralize the decision logicdes2000-11-104-37/+45
| | | | | | in order to avoid this bug in the future. Submitted by: se
* Disable the end guard for now.benno2000-11-101-0/+2
| | | | | | | | The test for failing the end guard was always triggering (and was reported as such in compiler warnings). This is a temporary band-aid until I can work out what's really going on. Reviewed by: obrien
* Make setjmp work our way, as opposed to NetBSD's.benno2000-11-101-3/+1
| | | | | | | This file needs commenting still. Submitted by: luoqi Reviewed by: obrien
* Don't always enable debugging for the network device code.benno2000-11-101-2/+0
| | | | Reviewed by: obrien
* Don't needlessly poll file descriptors when there are nodeischen2000-11-0940-2104/+1815
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file descriptors needing to be polled (Doh!). Reported by Dan Nelson <dnelson@emsphone.com>. Don't install and start the scheduling timer until the first thread is created. This prevents the overhead of having a periodic scheduling signal in a single threaded program. Reported by Dan Nelson <dnelson@emsphone.com>. Allow builtin longjmps out of application installed signal handlers without the need perform any post-handler cleanup: o Change signal handling to save the threads interrupted context on the stack. The threads current context is now always stored in the same place (in the pthread). If and when a signal handler returns, the interrupted context is copied back to the storage area in the pthread. o Before calling invoking a signal handler for a thread, back the thread out of any internal waiting queues (mutex, CV, join, etc) to which it belongs. Rework uthread_info.c a bit to make it easier to change the format of a thread dump. Use an alternal signal stack for the thread library's signal handler. This allows us to fiddle with the main threads stack without fear of it being in use. Reviewed by: jasone
* Prevent the thread-safe version of kevent from gettingdeischen2000-11-091-2/+3
| | | | | | | | into an infinite loop when a timeout value is supplied and the timeout expires. Reported by: Dan Nelson <dnelson@emsphone.com> Reviewed by: jasone, jlemon
* Eliminate inconsistency where a value that contains only whitespacemurray2000-11-091-1/+6
| | | | | | confuses the parser. Approved by: jkh
* Fix password clearing bug which prevented challenge/response from working.eivind2000-11-081-1/+1
| | | | Reviewed by: jdp
* Added PROPERTY_MAX_VALUE and PROPERTY_MAX_NAME defines to libutil.h somurray2000-11-083-9/+13
| | | | | | | that applications know how large of a buffer they must allocate before calling property_find(). Also added a $FreeBSD$ tag while I'm here. Approved by: jkh
* Use size_t rather than a 16-bit data type fo the length.obrien2000-11-071-1/+5
| | | | | PR: 9350 Submitted by: Danny J. Zerkel <dzerkel@columbus.rr.com>
* MFS: add ATA raid support for sysinstalljkh2000-11-062-2/+4
|
* Fixed typos.ru2000-11-061-4/+4
|
* Fixed typo: .FR -> .Faru2000-11-061-1/+1
|
* Honor the ip address given in the root-path dhcp option.ps2000-11-051-5/+1
| | | | | PR: 21743 Submitted by: Brian Candler <B.Candler@pobox.com>
* More secure temporary filename. This needs to be revisited to usekris2000-11-021-1/+1
| | | | mkstemp().
* At the beginning of pthread_mutex_lock(), call _thread_init() ifjdp2000-11-013-0/+9
| | | | | necessary. This works around a bug in old versions of libgcc_r.a which are statically linked into old executables.
* Fix nits introduced in rev 1.9:sheldonh2000-10-301-2/+4
| | | | | Remove single-space hard sentence break. Mark errno up as a Variable (Va).
* Added boolean argument to link searching functions, indicatingru2000-10-307-107/+42
| | | | whether they should create a link if lookup has failed or not.
* Replace old sigaction struct declaration with the new one as presentasmodai2000-10-301-12/+8
| | | | | | | | | | in <sys/signal.h>. This might be a shortterm fix until the manpage is updated towards POSIX terminology. And maybe not... PR: 21542 Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
* Correct incorrect information about the PATH used for exec*() calls.asmodai2000-10-301-4/+7
| | | | | PR: 21990 Partially submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
OpenPOWER on IntegriCloud