summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Whitespace only change: trim trailing whitespace.asmodai2000-10-3054-186/+186
|
* A significant rewrite of PPTP aliasing code.ru2000-10-304-151/+265
| | | | | | | | | | | | | | PPTP links are no longer dropped by simple (and inappropriate in this case) "inactivity timeout" procedure, only when requested through the control connection. It is now possible to have multiple PPTP servers running behind NAT. Just redirect the incoming TCP traffic to port 1723, everything else is done transparently. Problems were reported and the fix was tested by: Michael Adler <Michael.Adler@compaq.com>, David Andersen <dga@lcs.mit.edu>
* Alpha verions of the crt initialization and finalization files requiredobrien2000-10-303-2/+96
| | | | by the ELF ABI.
* Fix memory leak.sumikawa2000-10-291-0/+2
| | | | Obtained from: KAME
* Use CHECK_FLAGdes2000-10-294-22/+22
|
* Stricter error checking in the I/O functions.des2000-10-291-1/+25
|
* Add CHECK_FLAGS, a macro for (safely) checking if a particular flag is set.des2000-10-291-0/+5
|
* Back out previous commit (MLINK malloc.conf.5 -> malloc.3).eivind2000-10-291-1/+0
| | | | | | This did not work correctly with whatis(1). Issue brought up by: mpp
* Document FTP_PASSIVE_MODE and FTP_PASSWORD.des2000-10-291-1/+8
| | | | | PR: docs/20626 Submitted by: nik
* Add link malloc.conf.5 -> malloc.3eivind2000-10-291-0/+1
|
* * Bring back the guts of crt{i,n}.S. This allows C++ exceptions to workobrien2000-10-2814-44/+99
| | | | | | | | | | | | | | | | | | | when using the egcs and gcc-devel ports, along with GCC built from stock public FSF sources. With out this change, FreeBSD will be removed from the list of systems GCC 3.0 must be evaluated on before release. With the effort some of us put into getting FreeBSD on this list, we should not turn this effort into a waste, else we might not be worth fighting for in the future. (note that Alpha and IA-64 versions of crt{i,n}.S are needed) * Switch from our own crt{begin,in} to those created from GCC's crtstuff.c. This will allow us to switch to DWARF2 exceptions in the future, along with staying in sync with any future GCC requirements. * Break out our ELF branding bits into a seperate file. Currently this is now included by our crt1.c files (since this functionality was part of our native crtbegin.c). Later crtbrand.o will be merged in the creation of crti.o.
* Fix this my way. David had absolutely no call overriding MAINTAINER withoutdes2000-10-281-3/+3
| | | | even giving me 24 hours to read his mail and find the bug.
* Install per function manpages so one doesn't mistakenly think we don'tobrien2000-10-281-0/+8
| | | | have manpages for libfetch's functions.
* Repeat after me, "check to see that a pointer isn't NULL beforeobrien2000-10-281-3/+3
| | | | dereferenceing it". This fixes ``pkg_add -r''.
* Style & grammar fixes.mpp2000-10-281-3/+7
| | | | PR: docs/22374, docs/13020
* defined HAVE_IFM_DATA for (free|net|open)bsdume2000-10-281-0/+5
| | | | | Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp> Obtained from: KAME Project
* Explicitly initialize _pw_passwd.nectar2000-10-271-1/+1
|
* Make RES_OPTIONS=inet6 work.ume2000-10-271-0/+4
| | | | | | Basically PR22196, but slightly modified. PR: bin/22196
* MFS: don't expect result code until you close the data connectiondes2000-10-271-3/+3
|
* Fix problems people were having with large -O levels with GCC andgreen2000-10-273-8/+50
| | | | | | | | | | getting libutil/libcrypt to work properly. I've determined that GCC thinks it can inline all functions, including weak-symboled ones, if it feels like it. Create a new stub.c and move any stubs there to prevent inlining. Thanks to jdp and William S. Duncanson for helping me finally find the problem.
* Add a MAINTAINER= line so people know who to blamegshapiro2000-10-262-0/+4
|
* For %c replace reference to asctime(3) with ctime(3) from which %c geneticallyache2000-10-261-1/+1
| | | | originates
* Treat c_fmt field as compatibility placeholderache2000-10-262-5/+3
|
* Force "%c" to be ctime-compatibleache2000-10-261-1/+2
| | | | Submitted by: ru
* Force %c to be "%a %Ef %T %Y" to eliminate problems with bad c_fmtache2000-10-262-5/+6
| | | | Submitted by: ru
* Make pthread_kill() know about temporary signal handlers installeddeischen2000-10-256-96/+372
| | | | | | | by sigwait(). This prevents a signal from being sent to the process when there are no application installed signal handlers. Correct a typo in sigwait (foo -> foo[i]).
* Build the ISC library as libisc. This library comes as part of thearchie2000-10-242-1/+136
| | | | | | | | | bind distribution, but until now was not being built as a separate entity. For documentation, see these man pages: assertions(3), eventlib(3), heap(3), logging(3), memcluster(3), tree(3). Reviewed by: jdp
* Describe %c betterache2000-10-241-3/+7
| | | | Submitted by: ru (with modifications)
* We use ___setjmp (non-signal saving) to setup a signal frame. Whendeischen2000-10-223-3/+3
| | | | | | | adding a signal frame to a thread, be sure to label the context correctly so we don't restore an uninitialized process mask. Reported by: kimc@W8HD.ORG and Andrey Rouskol <anry@sovintel.ru>
* Use funopen() instead of fdopen(). This fixes three problems:des2000-10-221-4/+118
| | | | | | | | | | | | | | - ftpTimeout was not honored when reading actual data, as opposed to talking protocol - connection caching was broken because _ftp_cached_connect() would see the result of the transfer instead of the result of the NOOP. - if the RETR succeeded, but an error occurred later (as can happen when talking to a proxy), the error would not be detected. There still remains to register an atexit(3) callback to close the cached connection gracefully instead of just dropping it on the floor.
OpenPOWER on IntegriCloud