aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/7.0.0_cvscvs2svn2008-02-243454-3457/+3457
| | | | | | 'RELENG_7_0_0_RELEASE'. This commit was manufactured to restore the state of the 7.0-RELEASE image.
* MFC rev 1.20 to 1.23 access.2Remko Lodder2008-02-141-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v1.23 After issueing a ntpdate [1] I noticed it's already 2008, reflect that in the last modified date. Noticed by: brueffer [1] v1.22 Fix typo (s/existance/existence/) Noticed by: ceri v1.21 Fix some style nits. Prodded by: brueffer MFC After: 3 days v1.20 Make the warning a bit less 'broad' then it used to be. The access is seems to be a problem for SUID applications, which we like to prevent as much as possible. PR: docs/39530 Submitted by: Soren Spies <sspies at apple dot com> MFC After: 3 days Approved by: re (bmah) Notes: svn path=/releng/7.0/; revision=176296
* MFC: file version 4.23.David E. O'Brien2008-02-061-4/+23
| | | | | | | Approved by: re(kensmith) Notes: svn path=/releng/7.0/; revision=176044
* MFC changes from 1.14 for sys/lock.c and 1.127+1.128 for thread/thr_kern.cJulian Elischer2008-02-042-8/+42
| | | | | | | | | | | this copes with the fact that during a fork the child may get really screwy state in the threading system due to the sudden vaporisation of it's sibling threads. Approved by: re(kensmith) Notes: svn path=/releng/7.0/; revision=175976
* MFC the WITHOUT_GSSAPI knob.Doug Barton2008-01-281-2/+6
| | | | | | | Approved by: re (kensmith) Notes: svn path=/releng/7.0/; revision=175745
* Fix issues which allow snooping on ptys. [08:01]Colin Percival2008-01-143-41/+38
| | | | | | | | | | | Fix an off-by-one error in inet_network(3). [08:02] Security: FreeBSD-SA-08:01.pty Security: FreeBSD-SA-08:02.libc Approved by: re (kensmith) Notes: svn path=/releng/7.0/; revision=175335
* MFC: Fix a typo in regards to the ENOENT error.John Baldwin2008-01-071-1/+1
| | | | | | | Approved by: re (hrs) Notes: svn path=/releng/7.0/; revision=175145
* MFC: Clean up some of the pts(4) vs pty(4) stuff in grantpt(3) and friends.John Baldwin2007-12-311-22/+23
| | | | | | | Approved by: re (gnn) Notes: svn path=/releng/7.0/; revision=175016
* MFC: Update posix_openpt(3) to handle 512 ptys.John Baldwin2007-12-181-2/+2
| | | | | | | Approved by: re (gnn) Notes: svn path=/stable/7/; revision=174730
* MFC: Update libc's resolver to BIND 9.4.2.Hajimu UMEMOTO2007-12-143-20/+29
| | | | | | | | | | | lib/libc/nameser/ns_parse.c: 1.1.1.3 lib/libc/resolv/res_data.c: 1.5 lib/libc/resolv/res_init.c: 1.7 Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=174594
* MFC revision 1.64:David Xu2007-12-131-5/+7
| | | | | | | | | | > Enclose all code for macro ENQUEUE_MUTEX in do while statement, and > add missing brackets. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=174572
* MFC: If "length at end" flag is specified, then a zero lengthTim Kientzle2007-12-081-1/+2
| | | | | | | | | at the beginning shouldn't be interpreted to mean an empty body. Approved by: re (Ken Smith) Notes: svn path=/stable/7/; revision=174439
* MFC contrib code and bmake changes for BIND version 9.4.2Doug Barton2007-12-077-9/+35
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=174398
* MFC:Brooks Davis2007-12-061-3/+6
| | | | | | | | | | | | | | To reduce the impact of possible removal of the syscalls required by libkse in FreeBSD 8.0, do not build or install static versions of libkse (i.e. libkse*.a) in the default case. Static versions will be built and installed if libthr is not built or if libkse is the default threading library. Discussed on: freebsd-arch Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=174365
* MFC rev. 1.5, 1.6:Konstantin Belousov2007-12-061-1/+1
| | | | | | | | | Restore the branding of the ELF executables. The structure was optimized out. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=174361
* Disable support for /dev/ptmx in FreeBSD 7.0. While it's a good idea inRobert Watson2007-12-062-0/+8
| | | | | | | | | | | | | | | | | | | principle, the current devfs-based cloning facilit makes the current user<->kernel protocol for allocating new pts nodes difficult or impossible to do without leading to resource leaks or race conditions. We tentatively plan to reintroduce ptmx/pts support in FreeBSD 7.1 once a fixed version has settled out in HEAD. People who really want to run with the current code can re-enable it but it will require tweaking conf files and unifdef'ing it. By removing it now before the release, we avoid having to support the current allocation protocol in future releases in order to provide backwards compatibility with older libc's. Discussed with: cognet, erwin Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=174352
* MFC:Olivier Houchard2007-12-021-5/+1
| | | | | | | | | libthread_db bits for arm. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=174180
* This commit was manufactured by cvs2svn to create branch 'RELENG_7'.cvs2svn2007-12-021-0/+116
| | | | Notes: svn path=/stable/7/; revision=174175
* MFC: Make sure GSS-API mechanisms are loaded if gss_acquire_cred is calledDoug Rabson2007-12-021-4/+3
| | | | | | | | | with a null mechanism list.` Approved by: re (hrs) Notes: svn path=/stable/7/; revision=174166
* MFC: Bump up the number of ttys supported by pty(4) to 512.John Baldwin2007-11-271-1/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=173992
* MFC revision 1.27:David Xu2007-11-261-1/+5
| | | | | | | | | In _pthread_key_create() ensure that libkse is initialized. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=173922
* Fix bug in handling SDP continuation state.Maksim Yevmenkin2007-11-211-5/+5
| | | | | | | | Approved by: re (kensmith) Reported by: Eric Millbrandt emillbrandt at coldhaus dot com Notes: svn path=/stable/7/; revision=173832
* MFC of library version bump. From original commit:Ken Smith2007-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | > While checking over the libraries for 7.0-REL Kris found the following > libraries had not had their versions bumped relative to 6.3-REL but > had indeed been changed. We need to bump their version so they can be > properly added to the compat6x port: > > libasn1.so.8 libgssapi.so.8 libhdb.so.8 libkadm5clnt.so.8 > libkadm5srv.so.8 libkafs5.so.8 libkrb5.so.8 libobjc.so.2 Versions being MFCed: gnu/lib/libobjc/Makefile: 1.33 kerberos5/lib/Makefile.inc: 1.8 lib/libgssapi/Makefile: 1.3 Approved by: re (bmah) Notes: svn path=/stable/7/; revision=173786
* MFC: 1.70: Fix bad rule and bad dependency for nsparser.h that canRuslan Ermilov2007-11-161-6/+3
| | | | | | | | | cause the build to fail by "replacing" it with bsd.dep.mk rules. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=173664
* MFC: Add support for non-portable adaptive mutexes, as well as experimentalKris Kennaway2007-11-141-0/+3
| | | | | | | | | support for spinning/yielding loops. Approved by: re@ (kensmith) Notes: svn path=/stable/7/; revision=173604
* MFC: Add support for non-portable adaptive mutexes, as well as experimentalKris Kennaway2007-11-143-26/+86
| | | | | | | | | support for spinning/yielding loops. Approved by: re@ (kensmith) Notes: svn path=/stable/7/; revision=173593
* MFC: 1.7Marius Strobl2007-11-091-1/+5
| | | | | | | | | | | | | | In _pthread_key_create() ensure that libthr is initialized. This fixes a NULL-dereference of curthread when libstdc+ initializes the exception handling globals on archs we can't use GNU TLS due to lack of support in binutils 2.15 (i.e. arm and sparc64), yet, thus making threaded C++ programs compiled with GCC 4.2.1 work again on these archs. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=173508
* MFC 1.18: When skipping input data, request a minimum of 1 insteadTim Kientzle2007-11-021-1/+1
| | | | | | | | | | | | | | | | of the full request size. This avoids a 32-bit overflow problem skipping an exact multiple of 4GB and is faster anyway because it allows the underlying I/O framework to minimize copying. In particular, this fixes bsdtar failing to properly skip entries in uncompressed tar archives that are an exact multiple of 4GB. Approved by: re (Ken Smith) Notes: svn path=/stable/7/; revision=173277
* MFC 1.62: Fix reading of files that use pax 'size' attributeTim Kientzle2007-10-291-7/+21
| | | | | | | | | | | | | to store size. In particular, the pax 'size' attribute is required for any file over 8G. This seems to fix tar -cf - | tar -xf - when there are files over 8G in the heirarchy being copied. Approved by: re (Ken Smith) Notes: svn path=/stable/7/; revision=173131
* - Given that we tell the compiler that struct ip is packed and 32-bitMarius Strobl2007-10-281-4/+4
| | | | | | | | | | | | | | | | | aligned, GCC 4.2.1 also generates code for sendudp() that assumes this alignment. GCC 4.2.1 however doesn't 32-bit align wbuf, causing the loader to crash due to an unaligned access of wbuf in sendudp() when netbooting sparc64. Solve this by specifying wbuf as packed and 32-bit aligned, too. As for lastdata and readudp() this currently is no issue when compiled with GCC 4.2.1, though give lastdata the same treatment as wbuf for consistency and possibility of being affected in the future. - Sprinkle const on a lookup table. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=173094
* Merge Makefile:1.8 from HEAD to RELENG_7:Robert Watson2007-10-271-1/+3
| | | | | | | | | | | | Install getaudit_addr(2) and setaudit_addr(2) links to getaudit(2) and setaudit(2). Approved by: re (kensmith) Submitted by: csjp Obtained from: TrustedBSD Project Notes: svn path=/stable/7/; revision=173069
* MFC: Remove symbols that should not be exported.Daniel Eischen2007-10-241-29/+0
| | | | | | | Approved by: re@ Notes: svn path=/stable/7/; revision=172946
* MFC ctype(3) fix for UTF-8 locale. See original commit log for details.Rong-En Fan2007-10-2411-20/+61
| | | | | | | | | | | | PR: 116363 Reported by: Petr Hroudny <petr.hroudny at gmail.com> Patched by: ache Reviewed by: i18n@ Approved by: re (kensmith) OK-ed by: portmgr Notes: svn path=/stable/7/; revision=172929
* MFC: Added MK_INSTALLLIB support and fixed usr.bin/lex/lib/MakefileRuslan Ermilov2007-10-232-1/+2
| | | | | | | | | | in case of installing with WITHOUT_INSTALLLIB (e.g. in nanobsd(8)). PR: bin/114200 Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=172907
* MFC: Reflect the "libpthread -> libkse", "libthr is the default thredingRuslan Ermilov2007-10-231-15/+7
| | | | | | | | | library", and "libpthread is a symlink" changes in manpages. Approved by: re (gnn) Notes: svn path=/stable/7/; revision=172904
* MFC: archive_write_set_format_cpio.c 1.12Tim Kientzle2007-10-212-2/+12
| | | | | | | | | | | | | MFC: archive_write_set_format_cpio_newc.c 1.2 Non-regular files should have zero-length bodies. libarchive flags this to clients by updating the entry description when it writes the header. Approved by: re (Ken Smith) Notes: svn path=/stable/7/; revision=172859
* MFC:Max Laier2007-10-192-3/+28
| | | | | | | | | Import of tcpdump 3.9.8 and libpcap 0.9.8 Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=172786
* MFC: Correctly define CACHED_SOCKET_PATH as /var/run/nscd after cachedMichael Bushkov2007-10-181-1/+1
| | | | | | | | | to nscd renaming. Approved by: re (kensmith), brooks (mentor) Notes: svn path=/stable/7/; revision=172782
* MFC: Optimize for size on pc98. It enables to boot a kernel again.Yoshihiro Takahashi2007-10-181-0/+3
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=172751
* MFC 1.15: When reading ZIP archives, non-regular files shouldTim Kientzle2007-10-181-0/+7
| | | | | | | | | | | | | | return EOF immediately on any attempts to read their data. (Previously, it would return a zero-length block, then EOF, which elicited bogus warnings from bsdtar.) Also, correct the EOF return to correctly identify EOF as part of an empty block at the correct offset. Approved by: re (Ken Smith) Notes: svn path=/stable/7/; revision=172736
* MFC rev. 1.6, 1.7 of src/lib/libutil/pidfile.3,Konstantin Belousov2007-10-152-1/+20
| | | | | | | | | | | | | rev. 1.8 of src/lib/libutil/pidfile.c: When pidfile is already locked and has zero length, do not return success and zero pid from pidfile_read(). Return EAGAIN instead. Sleep up to three times for 5 ms while waiting for pidfile to be written. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=172662
* Turn on MALLOC_PRODUCTION which turns off some stuff used for debuggingKen Smith2007-10-111-1/+1
| | | | | | | | | | support. Reminded by: kris Approved by: re (implicit) Notes: svn path=/stable/7/; revision=172538
* This commit was manufactured by cvs2svn to create branch 'RELENG_7'.cvs2svn2007-10-101-192/+0
| | | | Notes: svn path=/stable/7/; revision=172506
* For 7.0 make the shared lib "version" '3'.David E. O'Brien2007-10-101-1/+1
| | | | | | | Approved by: re(kensmith) Notes: svn path=/head/; revision=172505
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalDavid E. O'Brien2007-10-092-4/+2
| | | | | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith) Notes: svn path=/head/; revision=172500
* Repo copy libpthreads to libkse.David E. O'Brien2007-10-09177-26833/+0
| | | | | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith) Notes: svn path=/head/; revision=172492
* Repo copy libpthreads to libkse.David E. O'Brien2007-10-0911-71/+18
| | | | | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith) Notes: svn path=/head/; revision=172491
* Always install libpthread.* symlinks if at least one ofRuslan Ermilov2007-10-011-2/+3
| | | | | | | | | | | | | | | the threading libraries is built. This simplifies the logic in makefiles that need to check if the pthreads support is present. It also fixes a bug where we would build a threading library that we shouldn't have built: for example, building with WITHOUT_LIBTHR and the default value of DEFAULT_THREADING_LIB (libthr) would mistakenly build the libthr library, but not install it. Approved by: re (kensmith) Notes: svn path=/head/; revision=172406
* Always install libpthread.* symlinks if at least one ofRuslan Ermilov2007-10-012-4/+6
| | | | | | | | | | | | | | | the threading libraries is built. This simplifies the logic in makefiles that need to check if the pthreads support is present. It also fixes a bug where we would build a threading library that we shouldn't have built: for example, building with WITHOUT_LIBTHR and the default value of DEFAULT_THREADING_LIB (libthr) would mistakenly build the libthr library, but not install it. Approved by: re (kensmith) Notes: svn path=/head/; revision=172403
* Fixed "make checkdpadd" (missing library dependencies).Ruslan Ermilov2007-10-011-0/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172401