summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/5.3.0_cvscvs2svn2004-11-043076-3079/+3079
| | | | | | 'RELENG_5_3_0_RELEASE'. This commit was manufactured to restore the state of the 5.3-RELEASE image.
* MFC: rev 1.13 fix brk(3) on amd64Peter Wemm2004-10-301-0/+1
| | | | | | | | | (I believe there will be a tag slide for this) Approved by: re (kensmith) Notes: svn path=/releng/5.3/; revision=137054
* This commit was manufactured by cvs2svn to create branch 'RELENG_5_3'.cvs2svn2004-10-161-75/+0
| | | | Notes: svn path=/releng/5.3/; revision=136588
* MFC:Julian Elischer2004-10-113-17/+25
| | | | | | | | | | | | | Capture calls to execve() to make sure that the signal mask is set correctly on the thread that is going to continue in the new process. Required for Posix compliance. This is not perfect and better fixes may happen after 5.3 is released. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=136394
* ----------------------------Mike Makonnen2004-10-092-0/+314
| | | | | | | | | | | | revision 1.41 date: 2004/09/16 13:55:46; author: mtm; state: Exp; lines: +21 -0 Implement cancellation points in libc interfaces, as specified by POSIX. ============================================================================= Approved by: re/scottl Notes: svn path=/stable/5/; revision=136321
* ----------------------------Mike Makonnen2004-10-091-41/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | revision 1.32 date: 2004/09/22 18:51:16; author: mtm; state: Exp; lines: +1 -14 Remove vestiges of libthr's signal mangling past. This fixes that last known problem with mysql on libthr: not being able to kill mysqld. ---------------------------- revision 1.31 date: 2004/09/22 16:53:23; author: mtm; state: Exp; lines: +6 -27 The SUSv3 function say that the affected functions MAY FAIL, if the specified mutex is invalid. In spec parlance 'MAY FAIL' means it's up to the implementor. So, remove the check for NULL pointers for two reasons: 1. A mutex may be invalid without necessarily being NULL. 2. If the pointer to the mutex is NULL core-dumping in the vicinity of the problem is much much much better than failing in some other part of the code (especially when the application doesn't check the return value of the function that you oh so helpfully set to EINVAL). ============================================================================= Approved by: re/scottl Notes: svn path=/stable/5/; revision=136316
* MFC:Mike Makonnen2004-10-091-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | ---------------------------- revision 1.15 date: 2004/10/08 14:48:02; author: mtm; state: Exp; lines: +1 -4 Remove a reference to a non-existent syscall: _thr_exit(). The actual name is thr_exit(). How this ever worked is beyond me. ---------------------------- revision 1.14 date: 2004/10/06 14:20:57; author: mtm; state: Exp; lines: +2 -3 Close a race between a thread exiting and the freeing of it's stack. After some discussion the best option seems to be to signal the thread's death from within the kernel. This requires that thr_exit() take an argument. Discussed with: davidxu, deischen, marcel MFC after: 3 days ============================================================================= Approved by: re/scottl Notes: svn path=/stable/5/; revision=136315
* MFC:Mike Makonnen2004-10-092-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/Makefile: ---------------------------- revision 1.1 date: 2004/08/19 23:41:12; author: davidxu; state: Exp; Add AMD64 support code. ============================================================================= RCS file: /home/ncvs/src/lib/libthr/arch/i386/i386/_setcurthread.c,v ---------------------------- revision 1.15 date: 2004/08/19 23:49:04; author: davidxu; state: Exp; lines: +10 -3 Adjust code to support AMD64, on AMD64, thread needs to set fsbase by itself before it can execute any other code, so new thread should be created with all signals are masked until after fsbase is set. ============================================================================= RCS file: /home/ncvs/src/lib/Makefile,v ---------------------------- revision 1.190 date: 2004/08/19 23:51:42; author: davidxu; state: Exp; lines: +1 -2 build libthr on amd64. ============================================================================= Approved by: re/scottl Notes: svn path=/stable/5/; revision=136313
* MFC 1.9:David Xu2004-10-091-7/+17
| | | | | | | | | | | Allocate red zone and stack space together and then split red zone from allocated space, orignal code left red zone unallocated, but those space can be allocated by user code, and result was providing no protection. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=136308
* This commit was manufactured by cvs2svn to create branch 'RELENG_5'.cvs2svn2004-10-0917-0/+35205
| | | | Notes: svn path=/stable/5/; revision=136302
* MFC: Add in libhistory, libm, libopie, libpcap, and libreadline and updateScott Long2004-10-021-0/+5
| | | | | | | | | libc, libc_r, and libperl. Approved by: re Notes: svn path=/stable/5/; revision=136044
* MFC: Add The following libraries:Scott Long2004-10-011-0/+5
| | | | | | | | | | | | | | | | | | | | libhistory.so.4 libm.so.2 libopie.so.2 libpcap.so.2 libreadline.so.4 Update the following libraries: libc.so.4 libc_r.so.4 libperl.so.3 These changes were made by sliding the RELENG_5 and RELENG_5_BP labels. Approved by: re Notes: svn path=/stable/5/; revision=136040
* MFC: Bump of library version numbers for:Ken Smith2004-10-013-2/+3
| | | | | | | | | | | | | | | | | | | /lib/{libm,libreadline} /usr/lib/{libhistory,libopie,libpcap} Versions of effected files being MFC-ed from commit done to HEAD: Revision Changes Path 1.367 +15 -0 src/UPDATING 1.10 +1 -1 src/gnu/lib/libreadline/Makefile.inc 1.19 +1 -1 src/lib/libopie/Makefile 1.34 +1 -1 src/lib/libpcap/Makefile 1.52 +1 -0 src/lib/msun/Makefile Approved by: re (scottl) Notes: svn path=/stable/5/; revision=136030
* MFC src/lib/libc/gen/isnan.c,v 1.2David Schultz2004-10-011-10/+0
| | | | | | | | | | | | | | Remove __isnanl() to avoid conflicting with the same function in libm. | __isnan() and __isnanf() must remain in libc for hysterical raisins. | On the other hand, __isnanl() must live in libm because libm uses it | internally and can't depend on older versions of libc to provide it. | Fortunately, we don't need __isnanl() in both libraries. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=136013
* MFC the BIND 9 import and chroot-by-default work up to date.Doug Barton2004-09-301-1/+76
| | | | | | | | | | | | | | | | This includes: 1. More granular NO_BIND_* make knobs. 2. WITH_BIND_LIBS make knob. 3. Run in an automatically configured chroot dir by default. 4. Edit paths in man pages, and install man pages for liblwres. 5. Improve named.conf and make it work with the new structure. 6. Install the bind9 docs. 7. A few Makefile style fixes. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=135998
* MFC: There is no humanize_number(9) manual page in FreeBSD.Pawel Jakub Dawidek2004-09-281-2/+0
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/5/; revision=135900
* MFC: Take the lastest fixes from NetBSD.Pawel Jakub Dawidek2004-09-281-63/+51
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/5/; revision=135898
* MFC: We have now so many GEOM classes that it is better to just skip unknownPawel Jakub Dawidek2004-09-281-10/+2
| | | | | | | | | classes than exiting. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=135888
* MFC: BIND 9 and related bits.Dag-Erling Smørgrav2004-09-263-231/+5
| | | | | | | Approved by: re Notes: svn path=/stable/5/; revision=135802
* This commit was manufactured by cvs2svn to create branch 'RELENG_5'.cvs2svn2004-09-252-0/+75
| | | | Notes: svn path=/stable/5/; revision=135779
* This commit was manufactured by cvs2svn to create branch 'RELENG_5'.cvs2svn2004-09-2419-0/+5814
| | | | Notes: svn path=/stable/5/; revision=135753
* MFC 1.18: Use pax extensions for uid/gid >= 1<<18, but clipTim Kientzle2004-09-211-2/+6
| | | | | | | | | values that must remain ustar compatible to less than this limit. This fixes an internal assertion failure triggered by large uid/gid. Approved by: re (Scott Long) Notes: svn path=/stable/5/; revision=135537
* MFC: Fix a condition where the hole would be inserted in the wrongJun Kuriyama2004-09-181-2/+2
| | | | | | | | | | | place during a split. Obtained from: NetBSD Approved by: re (scottl) Notes: svn path=/stable/5/; revision=135411
* MFC 1.27: The "regular-file-plus-trailing-slash-equals-dir" conventionTim Kientzle2004-09-101-12/+22
| | | | | | | | | | should be checked only after the full header is read, including any extensions; otherwise regular files in GNU tar archives with '/' as the 100th char get treated as directories. Approved by: re@ (Ken Smith) Notes: svn path=/stable/5/; revision=135022
* MFC of:Julian Elischer2004-09-091-1/+8
| | | | | | | | | | | | Refactor a bunch of scheduler code to give basically the same behaviour but with slightly cleaned up interfaces. (2004-09-05 02:09:54 UTC) see version 1.16 of sched.h for the original commit message. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=134976
* MFC: Correct the handling of the dynamically-generated .h fileTim Kientzle2004-09-091-17/+11
| | | | | | | Approved by: re (Ken Smith) Notes: svn path=/stable/5/; revision=134972
* MFC rev. 1.33: Fixes to handling of bracket expressions in regexes compiledTim J. Robbins2004-09-081-13/+10
| | | | | | | | | | with REG_ICASE. PR: 71367 Approved by: re (scottl) Notes: svn path=/stable/5/; revision=134930
* Turn off malloc debugging for RELENG_5. This is intended to be off for theScott Long2004-09-071-2/+2
| | | | | | | | | remainder of the RELENG_5/5-STABLE lifespan. It remains on in HEAD/6-CURRENT. Approved by: re Notes: svn path=/stable/5/; revision=134905
* MFC rev 1.3: return the dst argument.Marcel Moolenaar2004-09-041-7/+6
| | | | | | | Approved by: re (blanket) Notes: svn path=/stable/5/; revision=134744
* MFC rev 1.3: return the dst argument.Marcel Moolenaar2004-09-041-6/+5
| | | | | | | Approved by: re (blanket) Notes: svn path=/stable/5/; revision=134741
* MFC infback.c 1.2, inflate.c 1.5: Correct a denial-of-serviceJacques Vidrine2004-09-022-0/+6
| | | | | | | | | vulnerability in zlib. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=134636
* MFC archive_read_extract.c 1.35:Tim Kientzle2004-09-021-17/+84
| | | | | | | | Cache uid-from-uname and gid-from-gname lookups during extraction Approved by: re (Ken Smith) Notes: svn path=/stable/5/; revision=134624
* MFC mpool.3 rev. 1.13: remove the misleading documentatin of the unusedPeter Pentchev2004-08-311-17/+1
| | | | | | | | | | 'key' argument to mpool_open(3). Approved by: re (kensmith) MFC after: 3 days Notes: svn path=/stable/5/; revision=134570
* MFC: don't forget to va_end() after va_copy().Dag-Erling Smørgrav2004-08-312-0/+2
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/5/; revision=134566
* MFC:Tim Kientzle2004-08-312-2/+5
| | | | | | | | | archive_string_sprintf.c 1.5: don't reuse va_list variable archive_read_extract.c 1.34: don't change permissions on existing dirs Approved by: re@ (Ken Smith) Notes: svn path=/stable/5/; revision=134563
* MFC: Better ftw() and nftw() implementations from OpenBSD.Tim J. Robbins2004-08-292-190/+88
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/5/; revision=134471
* This commit was manufactured by cvs2svn to create branch 'RELENG_5'.cvs2svn2004-08-292-0/+192
| | | | Notes: svn path=/stable/5/; revision=134460
* MFC: Fix variant I tls initialisation for static binariesDoug Rabson2004-08-271-0/+2
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/5/; revision=134388
* MFC: fix static threaded programs.Doug Rabson2004-08-231-7/+4
| | | | | | | Approved by: re Notes: svn path=/stable/5/; revision=134198
* This commit was manufactured by cvs2svn to create branch 'RELENG_5'.cvs2svn2004-08-222-0/+106
| | | | Notes: svn path=/stable/5/; revision=134171
* MFC v1.17: Back out call to _init_tls() until it can be fixed. ThisKen Smith2004-08-211-2/+0
| | | | | | | | | | is currently causing all static executables to fail. Work done by: dfr Approved by: re (rwatson) Notes: svn path=/stable/5/; revision=134120
* MFC rev 1.4: unbreak the startup code by restoring a clobbered GP.Marcel Moolenaar2004-08-191-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/stable/5/; revision=133997
* This commit was manufactured by cvs2svn to create branch 'RELENG_5'.cvs2svn2004-08-18349-83221/+0
| | | | Notes: svn path=/stable/5/; revision=133968
* /me kicks cvs updateTom Rhodes2004-08-171-7/+1
| | | | | | | | | | Revert previous commit, tjr already fixed it and I was too stupid to notice this fact. Approved by: re (to avoid failing cvs ci) Notes: svn path=/head/; revision=133915
* Fix incorrect code in an example. The previous example would produceTom Rhodes2004-08-171-2/+8
| | | | | | | | | | | | | 19 column positions wide in the first line and 20 in the rest of the lines. This fixes the example to provide the correct output. PR: 53454 Noticed by: Kuang-che Wu <kcwu@kcwu.homeip.net> Submitted by: Marc Silver <marcs@draenor.org> Approved by: re (scottl) Notes: svn path=/head/; revision=133914
* Fix compile, s/tp_dtv/tp_tdv/g.David Xu2004-08-167-7/+7
| | | | Notes: svn path=/head/; revision=133857
* Fix alpha build and add __FBSDID.Doug Rabson2004-08-161-1/+4
| | | | | | | PR: 70518 Notes: svn path=/head/; revision=133821
* Bring PPC up to date with latest TLS changes.Peter Grehan2004-08-164-6/+6
| | | | Notes: svn path=/head/; revision=133806
* Plug a memory leak in error case.David Xu2004-08-161-1/+3
| | | | Notes: svn path=/head/; revision=133805
* 1. Use libpthread's exported symbols to calcuate offset in data structureDavid Xu2004-08-163-130/+130
| | | | | | | 2. Enable TLS debugger support. Notes: svn path=/head/; revision=133802