summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* NOINET6 -> NO_INET6ru2004-12-217-7/+7
|
* NOCRYPT -> NO_CRYPTru2004-12-217-9/+9
|
* NOINSTALLLIB -> NO_INSTALLLIBru2004-12-213-3/+3
|
* NODOCCOMPRESS -> NO_DOCCOMPRESSru2004-12-219-17/+17
| | | | | | | | NOINFO -> NO_INFO NOINFOCOMPRESS -> NO_INFOCOMPRESS NOLINT -> NO_LINT NOPIC -> NO_PIC NOPROFILE -> NO_PROFILE
* NOATM -> NO_ATMru2004-12-212-2/+2
|
* NOLIBC_R -> NO_LIBC_Rru2004-12-212-7/+7
| | | | | NOLIBPTHREAD -> NO_LIBPTHREAD NOLIBTHR -> NO_LIBTHR
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-214-4/+4
| | | | OK'ed by: core
* Don't panic when sigsuspend is interrupted by a cancellation.deischen2004-12-192-4/+14
| | | | PR: 75273
* Use a generic way to back threads out of wait queues when handlingdeischen2004-12-1833-694/+823
| | | | | | | | | | | | | | | | | | | | | | | | | signals instead of having more intricate knowledge of thread state within signal handling. Simplify signal code because of above (by David Xu). Use macros for libpthread usage of pthread_cleanup_push() and pthread_cleanup_pop(). This removes some instances of malloc() and free() from the semaphore and pthread_once() implementations. When single threaded and forking(), make sure that the current thread's signal mask is inherited by the forked thread. Use private mutexes for libc and libpthread. Signals are deferred while threads hold private mutexes. This fix also breaks www/linuxpluginwrapper; a patch that fixes it is at http://people.freebsd.org/~deischen/kse/linuxpluginwrapper.diff Fix race condition in condition variables where handling a signal (pthread_kill() or kill()) may not see a wakeup (pthread_cond_signal() or pthread_cond_broadcast()). In collaboration with: davidxu
* Grammar in a comment.ru2004-12-181-1/+1
|
* GC unused declarationdas2004-12-161-1/+0
|
* Cosmetic changes only:das2004-12-163-45/+15
| | | | | | | | - style - remove unused variables - de-support VAX Inspired by: bin/42388
* o The macro versions of sigemptyset(3), sigfillset(3), sigaddset(3),maxim2004-12-161-9/+12
| | | | | | | | | | | | | sigdelset(3) and sigismember(3) were killed about five years ago. o The functions (specifically sigismember(3)) could return -1 and set errno. PR: bin/75156 Obtained from: NetBSD MFC after: 2 weeks o Bump the date of the document.
* Be more careful about assembling/disassemblingkientzle2004-12-111-2/+2
| | | | | | | | | | device numbers. In particular, this should fix a bug where archiving a device node with a very large minor number would sometimes overflow and corrupt the major number. Thanks to: Ben Mesander MFC after: 7 days
* Date business, update.trhodes2004-12-101-1/+1
|
* According to the information on:trhodes2004-12-102-4/+4
| | | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/swab.html the prototype for swab() should be in <unistd.h> and not in <string.h>. Move it, and update to match SUS. Leave the prototype in string.h for now, for backwards compat. PR: 74751 Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> Discussed with: das
* Add pthread_atfork().grog2004-12-105-1/+92
| | | | | PR: bin/68841 Submitted by: Dan Nelson <dnelson@allantgroup.com>
* Add workaround for {not so|too} smart phones that cannot handle SDP attributeemax2004-12-091-12/+43
| | | | | | | | | | ID ranges that consist of exactly one attribute ID. libsdp(3) will check start and end of the attribute ID range and if they are the same the range will be collapsed to one atribute ID. The problem was observed on Audiovox SMT5600 and Palm Treo 650. MFC after: 3 days
* Oooops I forgot to commit that.cognet2004-12-081-1/+1
| | | | | | Use fp_rnd_t, not fp_rnd. Reported by: Jia-Shiun Li (jiashiun at gmail dot com)
* Fix inverted #ifdef that I added. Who had the pointy hat last?peter2004-12-061-1/+1
| | | | Submitted by: kan
* Make sure the first argument to the user function is 16-byte aligned.deischen2004-12-051-5/+7
| | | | Submitted by: tegge
* Fix description: the argument to setcontext(3) must have been previouslyrse2004-12-031-1/+1
| | | | | | | initialized "by a call to getcontext(3) or makecontext(3)" and not "by a call to setcontext(3) or makecontext(3)". MFC after: 3 days
* MNT_NODEV is deprecated.ru2004-11-292-7/+2
|
* When determining whether filename is too long for akientzle2004-11-281-6/+6
| | | | | | | | | regular 'ustar' entry, use narrow-character version, not wide-character version, as the ustar entry always uses the narrow-character filename. Thanks to: Michal Listos Inspired by, but doesn't fix: bin/74385
* Correct the spelling of "archive_write_pax_header"kientzle2004-11-281-1/+1
| | | | | | | in an error message. Thanks to: Michal Listos Inspired by, but doesn't fix: bin/74385
* When required to negate the absoulte result of a division/remainderpeadar2004-11-271-1/+1
| | | | | | | | | | | | | | operation (by subtracting the absolute result from 0), don't test for overflow. This avoids an arithmetic exception when dividing LONG_MIN by 1: This is the only case that causes overflow, and the resulting value is correct under 2's compliment arithmetic. PR: 72024 Approved by: dwmalone@ Obtained from: NetBSD MFC after: 4 days
* Don't include sys/user.h merely for its side-effect of recursivelydas2004-11-277-5/+10
| | | | including other headers.
* Fix computation of the 'n' argument to mbrtowc (through XMBRTOWC) to avoidtjr2004-11-211-4/+4
| | | | | | | | | | reading past 'stop' in various places when converting multibyte characters. Reading too far caused truncation to not be detected when it should have been, eventually causing regexec() to loop infinitely in with certain combinations of patterns and strings in multibyte locales. PR: 74020 MFC after: 4 weeks
* In preparation to remove U areas, don't refer to p_uarea in libkvm.das2004-11-201-1/+1
| | | | Reviewed by: arch@
* Install the header for libmagic.obrien2004-11-191-0/+1
| | | | | PR: 73647 Submitted by: Uranus <uranus@it.muds.net>
* Remove ntp_gettime.c which was a wrapper around sysctlbyname(3).marks2004-11-182-54/+1
| | | | | | | This is now a native system call. Reviewed by: imp, phk, njl, peter Approved by: njl
* -Add a note that currently two syntax styles for label element declarationcsjp2004-11-181-3/+16
| | | | | | | | | is supported. -Document the new more preferred syntax -Add examples for the new syntax -Add a note that the old syntax will be deprecated in the future. Reviewed by: rwatson
* Remove 80386 support from libc.jhb2004-11-162-12/+0
|
* Document more fields of struct stat.yar2004-11-151-0/+32
| | | | | Note to mdoc(7) police: The document date has already been touched today.
* Use .Vt "struct stat" consistently.yar2004-11-151-1/+1
|
* Nitpicking on grammar.yar2004-11-151-1/+1
|
* Improve mdoc(7) markup of the page: add several missing macros,yar2004-11-151-10/+10
| | | | use .Va instead of .Li for struct stat fields.
* Document the S_IS*(mode) macros used to test for file types.yar2004-11-151-1/+27
| | | | Bump the document date accordingly.
* Since I'm not using the public API for writingkientzle2004-11-151-6/+8
| | | | | | | the the pax attributes, I shouldn't try using the public API for finishing out the attribute entry, either. This also removes some old dubious state manipulations.
* Pax extended headers were always failingkientzle2004-11-151-1/+1
| | | | | | | | | because the code was using the external API (archive_write_data) and assuming internal error-return conventions. Use the internal API for writing data. Thanks to: Joe Marcus Clarke
* Remove stub libxpg4. All functionality was merged into libc a long time ago.tjr2004-11-133-19/+1
|
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-138-8/+21
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* Remove un-needed call to close(2). The fd that close is beingcsjp2004-11-131-1/+0
| | | | | | called on is invalid and has no use. Reviewed by: smkelly
* Document the fact that kvm_getenvv(3) requires procfs to be mountedcsjp2004-11-131-0/+7
| | | | | | on /proc in order to operate correctly. Reviewed by: simon@, wes@
* Help Tinderbox and remove libautofsmarkm2004-11-101-1/+1
|
* sranddev() is not magic pixie dust. While it gives a good randomimp2004-11-101-2/+4
| | | | | | | | seed, the random number generator rand(3) still sucks and is unlikely sufficient for crypto use. Correct what appears to be a cut and paste error from the srandomdev() man page. Submitted by: Ben Mesander
* Add 0xbf (191) as new Solaris partition identifier.phk2004-11-101-0/+1
| | | | Submitted by: Lawrence.Lee@sun.com
* Use the RET macro.cognet2004-11-0917-52/+52
| | | | | For setjmp() and longjmp(), put the signal mask where it's supposed to be, instead of in the space reserved for fp regs.
* Add a week alias __siglongjmp => siglongjmp.cognet2004-11-091-0/+1
|
* MFKernel: Implement ffs with clz on Xscale.cognet2004-11-071-0/+6
|
OpenPOWER on IntegriCloud