aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix issues which allow snooping on ptys. [08:01]Colin Percival2008-01-143-25/+26
| | | | | | | | | | | 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: so (cperciva) Notes: svn path=/releng/6.2/; revision=175332
* Correct multiple security issues in how libarchive handles corruptColin Percival2007-07-121-36/+98
| | | | | | | | | | | tar archives, including a potentially exploitable buffer overflow. Approved by: so (cperciva) Reviewed by: kientzle Security: FreeBSD-SA-07:05.libarchive Notes: svn path=/releng/6.2/; revision=171404
* MFC: 1.7 (1.6.8.1)Marius Strobl2006-12-281-9/+10
| | | | | | | | | | | | | | Fix a typo in __fpu_ftox() that caused long double to long (and long long) conversion of negative numbers to always result in -1. While at it, rearrange the nearby comment so it fits in 80 chars per line, like the rest of this file does. PR: 107130 Approved by: re (bmah) Committed from: 23C3 Notes: svn path=/releng/6.2/; revision=165587
* MFC: Merge BIND9 9.3.3 into main chunk.Hajimu UMEMOTO2006-12-236-25/+22
| | | | | | | | | | | | | | | include/arpa/nameser_compat.h: 1.6 lib/libc/inet/inet_cidr_ntop.c: 1.1.1.2 lib/libc/inet/inet_net_ntop.c: 1.3 lib/libc/isc/eventlib_p.h: 1.4 lib/libc/resolv/mtctxres.c: 1.3 lib/libc/resolv/res_init.c: 1.4 lib/libc/resolv/res_send.c: 1.5 Approved by: re (kensmith) Notes: svn path=/releng/6.2/; revision=165480
* MFR6:David Xu2006-12-232-2/+2
| | | | | | | | | return EINVAL if thread was detached. Approved by: re (kensmith) Notes: svn path=/releng/6.2/; revision=165476
* MFC: Document that kern.ipc.nsfbufs can be 0 on some arch'es.Yaroslav Tykhiy2006-12-211-2/+19
| | | | | | | Approved by: re (bmah) Notes: svn path=/releng/6.2/; revision=165437
* MFC upgrade to version 9.3.3Doug Barton2006-12-139-93/+360
| | | | | | | Approved by: re (kensmith) Notes: svn path=/releng/6.2/; revision=165162
* This commit was manufactured by cvs2svn to create branch 'RELENG_6_2'.cvs2svn2006-11-142-169/+0
| | | | Notes: svn path=/releng/6.2/; revision=164286
* MFC rev. 1.14: fix incorrect function name.Maxim Konovalov2006-11-091-1/+1
| | | | | | | Approved by: re (bmah) Notes: svn path=/stable/6/; revision=164118
* MFC 1.9:Simon L. B. Nielsen2006-11-081-4/+16
| | | | | | | | | | | | Fix infinite loop in corrupt archives handling in libarchive(3). Submitted by: kientzle Reported by: rink Security: FreeBSD-SA-06:24.libarchive Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=164094
* MFC:Sam Lawrance2006-11-072-4/+18
| | | | | | | | | | | | | | Document return values for res_query and res_search. h_errno is not an extern int, just a macro providing an integer lvalue. PR: doc/50573 Submitted by: Ronald F.Guilmette <rfg at monkeys.com> Reviewed by: trhodes Approved by: re (bmah) Notes: svn path=/stable/6/; revision=164074
* MFC:Tom Rhodes2006-11-031-1/+8
| | | | | | | | | | | Add information on how to escape a literal colon in a value or name. PR: 101262 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163942
* MFC:Tom Rhodes2006-11-032-4/+8
| | | | | | | | | | | | | | o Note the value from getenv() should not be modified by applications[1]; o getenv.3: Put "is" on a line with other words. [2] o getobjformat.3: "takes precedence over" is not an envrionment variable. [2] [1]: PR: 60544 Reviewed by: ru [2]: PR: 75545 Submitted by: n-kogane@syd.odn.ne.jp Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163938
* MFC rev. 1.4, 1.5.Konstantin Belousov2006-10-301-1/+1
| | | | | | | | | Remove the const qualifier from ap argument for __v2printf. Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=163786
* MFC revs. 1.33, 1.34: try to explain what the slow device is.Maxim Konovalov2006-10-291-3/+5
| | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163770
* MFC rev. 1.31: fix typo.Maxim Konovalov2006-10-291-1/+1
| | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163767
* MFC rev. 1.13: fix SIGCONT special case description similarMaxim Konovalov2006-10-291-2/+2
| | | | | | | | | to rev. 1.22 kill.2. Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163766
* MFC 1.33:Simon L. B. Nielsen2006-10-291-1/+1
| | | | | | | | | | | Minor markup fix: A comma should be seperated by space from macro argument. This resulted in "pwritev,()" instead of the intended "pwritev()," in the output. Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163764
* MFC 1.4: Retransmission timeouts should be based on which attemptHajimu UMEMOTO2006-10-271-6/+7
| | | | | | | | | | it is to the nameserver and not the nameserver itself. Approved by: re (hrs) Obtained from: BIND 9.3.3rc2 Notes: svn path=/stable/6/; revision=163715
* MFC: Various uthread fixes:John Baldwin2006-10-232-37/+58
| | | | | | | | | | | | | | | | | | | | | | | - Delay setting wakeup time until after poll array has been allocated. Blocking on the malloc spinlock would cause the select timeout to be lost. (uthread_select.c 1.22) - Delay unblocking signal and restoring process signal mask until the thread signal mask has been updated to avoid stack overflow during signal bursts. Don't block signal forever if no threads can currently handle signal. Check for pending signal after direct invocation of signal handler. (uthread_select.c 1.47) - Backout unblocking of signal if no threads can currently handle it. The check for pending signal after direct invocation of signal handler is sufficient. (uthread_select.c 1.48) Approved by: re (mux, bmah) Notes: svn path=/stable/6/; revision=163632
* MFC r1.5 so C++ programs will work in 6.2. Thanks for the fix, Bruce.Wes Peters2006-10-191-2/+2
| | | | | | | | | | | Moved __BEGIN_DECLS up a little so that it covers __test_sse() and C++ isn't broken, PR: 104425 Approved by: re (bmah) Notes: svn path=/stable/6/; revision=163511
* MFC: 1.7: Add missing comma.Ruslan Ermilov2006-10-161-1/+1
| | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163428
* MFC: 1.22: Some word smithing.Ruslan Ermilov2006-10-161-15/+15
| | | | | | | | PR: docs/54451 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163424
* MFC: 1.47: Use normal parentheses.Ruslan Ermilov2006-10-161-5/+5
| | | | | | | | PR: docs/84549 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163421
* MFC: 1.10: Don't say "rightmost" when referring to the least significant bit.Ruslan Ermilov2006-10-161-4/+5
| | | | | | | | PR: docs/94803 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163420
* MFC: 1.12: The pam_unix module also provides password management.Ruslan Ermilov2006-10-161-7/+8
| | | | | | | | PR: docs/93491 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163419
* MFC More accurately document the implementation details of internal storage.Ruslan Ermilov2006-10-162-21/+23
| | | | | | | | PR: docs/82508 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163417
* MFC: 1.122: Link select(2) to FD_CLR(3), FD_ISSET(3), FD_SET(3), and FD_ZERO(3).Ruslan Ermilov2006-10-161-0/+2
| | | | | | | | PR: docs/57974 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163416
* MFC: Document S_IRWXU and permission bits for group/other.Ruslan Ermilov2006-10-161-2/+11
| | | | | | | | PR: docs/57153 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163415
* MFC: 1.21: Document what "msgsz" actually means.Ruslan Ermilov2006-10-161-4/+9
| | | | | | | | PR: docs/101145 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163413
* MFC revs. 1.7Markus Brueffer2006-10-142-3/+19
| | | | | | | | | | - Add new service class definitions and a new attribute identifier definition - Update URL of the Assigned Numbers document for SDP Approved by: re (bmah), emax (mentor) Notes: svn path=/stable/6/; revision=163349
* MFC rev. 1.36: don't fseek() on closed file.Maxim Konovalov2006-10-081-2/+2
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=163122
* MFC r1.9: Correct usage example.Ceri Davies2006-10-071-1/+1
| | | | | | | Approved by: re (bmah) Notes: svn path=/stable/6/; revision=163078
* MFC: OpenSSH 4.4p1.Dag-Erling Smørgrav2006-10-061-0/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=163052
* This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-10-011-0/+93
| | | | Notes: svn path=/stable/6/; revision=162923
* MFC: (1.26) reject usernames that are longer than OPIE can handle.Dag-Erling Smørgrav2006-09-301-4/+13
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=162843
* Merge Makefile:1.5 from HEAD to RELENG_6:Robert Watson2006-09-291-11/+20
| | | | | | | | | | | | Hook up additional OpenBSM man page aliases following OpenBSM 1.0 alpha 12 import. Most of these should have existed previously, but didn't. Obtained from: TrustedBSD Project Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=162824
* On alpha and sparc64, install shared libc_r into /lib becauseRuslan Ermilov2006-09-291-1/+2
| | | | | | | | | | | it's aliased to libpthread and some /sbin tools need it. This is pseudo-MFC because in HEAD libthr is aliased to libpthread on sparc64 (and was on alpha). Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=162811
* MFC rev. 1.58:Matteo Riondato2006-09-291-0/+1
| | | | | | | | | | | | Install shared libpthread library into /lib; needed by some /sbin programs. PR: bin/88404 Reviewed by: ru@ Approved by: re@ (kensmith@) Notes: svn path=/stable/6/; revision=162770
* MFC rev. 1.38Matteo Riondato2006-09-291-0/+2
| | | | | | | | | | | Place shared libpcap library under /lib, currently needed by /sbin/ipf and /sbin/pflogd. Reviewed by: ru@ Approved by: re@ (kensmith@) Notes: svn path=/stable/6/; revision=162769
* MFC 1.13-1.15Andrey A. Chernov2006-09-251-24/+7
| | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=162636
* MFC: upgrade to 1.2.3.Dag-Erling Smørgrav2006-09-2522-209/+1000
| | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=162617
* MFC rev 1.36 to RELENG_6:Thomas Quinot2006-09-251-2/+11
| | | | | | | | | | | | | | (pw_copy): Handle the case of a malformed line in master.passwd (copy it silently, do not dereference NULL pointer). MFC rev. 1.37 to RELENG_6: Minor comment fix to the change above. PR: bin/102848 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=162614
* MFC rev. 1.20Martin Blapp2006-09-231-1/+1
| | | | | | | | | | Fix unpaired sigblock which possibly leaves the process with all signals blocked. Approved by: re Notes: svn path=/stable/6/; revision=162576
* Merge Makefile:1.4 from HEAD to RELENG_6:Robert Watson2006-09-221-0/+5
| | | | | | | | | | | | Hook up au_open.3 man page (and its symlinks), apparently missed during initial OpenBSM merge. Obtained from: TrustedBSD Project Approved by: re (mux) Notes: svn path=/stable/6/; revision=162545
* MFC: Use better Korean translation for `trap'.Jung-uk Kim2006-09-112-6/+6
| | | | | | | Approved by: re (bmah) Notes: svn path=/stable/6/; revision=162220
* MFC:Ruslan Ermilov2006-09-081-4/+13
| | | | | | | | - bring alloca(3) manpage up with reality - stop using alloca(3) in sysctl(8) Notes: svn path=/stable/6/; revision=162145
* MFC performance improvements when skipping entry bodies.Tim Kientzle2006-09-0510-9/+241
| | | | | | | | | | | | In particular, this speeds up listing contents or extracting single files from uncompressed archives read from slow, seekable media (e.g., slow disk drives). Thanks to: Benjamin Lutz for doing the heavy lifting, critical bugfix from Chris Spiegel Notes: svn path=/stable/6/; revision=162027
* MFC TLS variant I fixes.Marcel Moolenaar2006-09-021-47/+36
| | | | Notes: svn path=/stable/6/; revision=161919
* MFC TLS fixes.Marcel Moolenaar2006-09-024-98/+156
| | | | Notes: svn path=/stable/6/; revision=161913