summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* If the scheme is HTTP or HTTPS, percent-escape whitespace in the documentdes2000-10-211-1/+21
| | | | | | part. Submitted by: green
* Use kern.disks sysctl on PC-98.nyan2000-10-211-4/+0
|
* Correct the text on RETURN VALUES.n_hibma2000-10-201-1/+3
|
* A failure to allocate memory for auxiliary TCP data is now fatal.ru2000-10-191-16/+15
| | | | | This fixes a null pointer dereference problem that is unlikely to happen in normal circumstances.
* Argh! Fix passive mode selection (again)des2000-10-171-2/+3
|
* Try and get libc_r to compile again on the alpha after deischen's commitpeter2000-10-173-9/+9
|
* Sync with NetBSD:n_hibma2000-10-1613-132/+302
| | | | | | | | | | K&R -> ANSI Bugfix: 'Keep the bit position even when the report descriptor says POP.' Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page. Changed iface for hid_report_size.
* Return zero from setjmp() and _setjmp() for now.dfr2000-10-162-0/+5
|
* Fix a couple of dumb mistakes.dfr2000-10-161-7/+9
|
* Fix RAW dependency violation on p6 between cmp and mov.marcel2000-10-152-0/+2
|
* #include <sys/types.h>brian2000-10-153-0/+6
|
* Fix #include orderbrian2000-10-151-1/+1
| | | | Spotted by: imura
* Initial libc port for ia64.dfr2000-10-1445-0/+3022
|
* CSU code for ia64.dfr2000-10-141-0/+115
|
* Document the ptrace() PT_STEP request.jwd2000-10-141-1/+10
| | | | | | | | Add references to the newly added hardware debug register support functions i386_clr_watch(3) and i386_set_watch(3). Reviewed by: Sean Eric Fagan <sef@kithrup.com> and no other response to the review request.
* Enable _PTHREADS_INVARIANTS until the recent libc_r changes aredeischen2000-10-133-3/+3
| | | | shaken out.
* Implement zero system call thread switching. Performance ofdeischen2000-10-1377-3389/+5243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thread switches should be on par with that under scheduler activations. o Timing is achieved through the use of a fixed interval timer (ITIMER_PROF) to count scheduling ticks instead of retrieving the time-of-day upon every thread switch and calculating elapsed real time. o Polling for I/O readiness is performed once for each scheduling tick instead of every thread switch. o The non-signal saving/restoring versions of setjmp/longjmp are used to save and restore thread contexts. This may allow the removal of _THREAD_SAFE macros from setjmp() and longjmp() - needs more investigation. Change signal handling so that signals are handled in the context of the thread that is receiving the signal. When signals are dispatched to a thread, a special signal handling frame is created on top of the target threads stack. The frame contains the threads saved state information and a new context in which the thread can run. The applications signal handler is invoked through a wrapper routine that knows how to restore the threads saved state and unwind to previous frames. Fix interruption of threads due to signals. Some states were being improperly interrupted while other states were not being interrupted. This should fix several PRs. Signal handlers, which are invoked as a result of a process signal (not by pthread_kill()), are now called with the code (or siginfo_t if SA_SIGINFO was set in sa_flags) and sigcontext_t as received from the process signal handler. Modify the search for a thread to which a signal is delivered. The search algorithm is now: o First thread found in sigwait() with signal in wait mask. o First thread found sigsuspend()'d on the signal. o Current thread if signal is unmasked. o First thread found with signal unmasked. Collapse machine dependent support into macros defined in pthread_private.h. These should probably eventually be moved into separate MD files. Change the range of settable priorities to be compliant with POSIX (0-31). The threads library uses higher priorities internally for real-time threads (not yet implemented) and threads executing signal handlers. Real-time threads and threads running signal handlers add 64 and 32, respectively, to a threads base priority. Some other small changes and cleanups. PR: 17757 18559 21943 Reviewed by: jasone
* o Introduce cap_from_text() and cap_to_text() implementations.rwatson2000-10-134-2/+1146
| | | | | | Reviewed by: green Obtained from: TrustedBSD Project Security audited by: imp, green
* o Simplify capability types away from an array of ints to a singlerwatson2000-10-134-16/+20
| | | | | | | | | | | | | | | | | | u_int64_t flag field, bounding the number of capabilities at 64, but substantially cleaning up capability logic (there are currently 43 defined capabilities). o Heads up to anyone actually using capabilities: the constant assignments for various capabilities have been redone, so any persistent binary capability stores (i.e., '$posix1e.cap' EA backing files) must be recreated. If you have one of these, you'll know about it, so if you have no idea what this means, don't worry. o Update libposix1e to reflect this new definition, fixing the exposed functions that directly manipulate the flags fields. Obtained from: TrustedBSD Project
* Use the right user namedes2000-10-131-3/+3
|
* Document recent changes in URL parsing and proxy handlingdes2000-10-121-10/+20
|
* ftp.c needs _http_request()des2000-10-121-0/+11
|
OpenPOWER on IntegriCloud