aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* MFC r201137Xin LI2010-01-041-1/+1
| | | | | | | | | Grammar fix. Submitted by: Kenyon Ralph <kenyon kenyonralph com> Notes: svn path=/stable/5/; revision=201464
* Explicitly say that this is an internal library which is intended to beXin LI2009-12-271-1/+10
| | | | | | | | | | | used within FreeBSD base system only, and discourage user applications from using it. User applications should use the expat version from the ports/package collection. Reviewed by: simon (earlier version) Notes: svn path=/stable/5/; revision=201040
* MFC rev. 180024:Daniel Gerzo2008-06-301-1/+1
| | | | | | | | | | - Mark the section describing return values with an appropriate section flag. PR: 180024 Notes: svn path=/stable/5/; revision=180119
* - MFC rev. 180030 and 180113:Daniel Gerzo2008-06-301-1/+4
| | | | | | | | | | - add description of the MLINK error - bump a date PR: docs/123019 Notes: svn path=/stable/5/; revision=180116
* MFC: Allow stand.h to be included for multiple timesXin LI2008-04-181-0/+5
| | | | Notes: svn path=/stable/5/; revision=178298
* MFC: Handle bzip2/zlib changes without using patches,Xin LI2008-04-186-142/+31
| | | | | | | | | | | | | by doing the work in a programmatical way. This is an accumulative patch of the following changes: Makefile: 1.46-1.53 bzipfs.c: 1.7 as well as removal of the now unneeded files. Notes: svn path=/stable/5/; revision=178292
* MFC rev. 1.26:Garrett Wollman2008-03-131-1/+19
| | | | | | | | | | stdio is currently limited to file descriptors not greater than {SHRT_MAX}, so {STREAM_MAX} should be no greater than that. (This does not exactly meet the letter of POSIX but comes reasonably close to it in spirit.) Notes: svn path=/stable/5/; revision=177134
* MFC revision 1.32Xin LI2008-02-111-0/+4
| | | | | | | | | | | | date: 2008/01/12 00:54:47; author: delphij; state: Exp; lines: +4 -0 Plug memory leaks that is observed when argbuf or argspc is used in the context. Submitted by: Michal Vranek <michal.vranek seznam cz> PR: bin/118380 Notes: svn path=/stable/5/; revision=176159
* Fix issues which allow snooping on ptys.Colin Percival2008-01-141-40/+45
| | | | | | | Security: FreeBSD-SA-08:01.pty Notes: svn path=/stable/5/; revision=175333
* 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=/stable/5/; revision=171404
* MFC rev. 1.35 - remove MSG_PEEK from the description of the send(2)Peter Pentchev2007-05-041-1/+0
| | | | | | | syscall; it is only relevant for incoming data. Notes: svn path=/stable/5/; revision=169244
* MFC: sendmail 8.14.1Gregory Neil Shapiro2007-04-122-3/+3
| | | | Notes: svn path=/stable/5/; revision=168643
* MFC 1.5-1.6: Correctly compare between two UUIDs accordingXin LI2007-04-121-17/+15
| | | | | | | | | to specification found DCE 1.1. PR: 83107 Notes: svn path=/stable/5/; revision=168641
* MFC the upgrade to BIND 9.3.4Doug Barton2007-02-076-282/+45
| | | | Notes: svn path=/stable/5/; revision=166542
* MFC upgrade to version 9.3.3Doug Barton2006-12-139-93/+360
| | | | Notes: svn path=/stable/5/; revision=165163
* MFC: synch with RELENG_6Dag-Erling Smørgrav2006-11-118-41/+188
| | | | Notes: svn path=/stable/5/; revision=164156
* MFC: Use the correct login class when setting a new passwordDag-Erling Smørgrav2006-11-111-1/+1
| | | | | | | PR: 65557, 72949 Notes: svn path=/stable/5/; revision=164155
* 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: emax (mentor) Notes: svn path=/stable/5/; revision=163350
* MFC thr_cond.c r1.53, thr_mutex.c r1.49, thr_nanosleep.c r1.25 to RELENG_5:Ed Maste2006-08-213-30/+30
| | | | | | | | | | Eliminate a race condition in timed waits (cv, mutex, and sleeps). MFC Candidate. PR: 93592 Notes: svn path=/stable/5/; revision=161511
* MFC to RELENG_5 r1.117:Ed Maste2006-08-211-18/+20
| | | | | | | | | | | | | | | Handle failure to malloc() part of the thread structure. PR: 83457 r1.118: Allocate a thread's tcb last so it is easier to handle failures to malloc() siginfo. PR: 85468 Notes: svn path=/stable/5/; revision=161508
* MFC r1.6 to RELENG_5:Ed Maste2006-08-211-5/+7
| | | | | | | | | Don't attempt to initialize the rtld lock if it can't be malloc()'d. PR: 83452 Notes: svn path=/stable/5/; revision=161507
* MFC 1.84: remove obsolete comments.Hajimu UMEMOTO2006-07-251-8/+0
| | | | Notes: svn path=/stable/5/; revision=160673
* MFC: keep the maintainers consistent with HEAD.Mark Murray2006-07-092-4/+0
| | | | Notes: svn path=/stable/5/; revision=160214
* MFC:Maksim Yevmenkin2006-06-092-4/+4
| | | | | | | | | Fix an unwanted gcc4 warning. Submitted by: delphij Notes: svn path=/stable/5/; revision=159469
* MFC rev. 1.33: document SO_NOSIGPIPE.Maxim Konovalov2006-05-011-1/+9
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/5/; revision=158230
* MFC rev. 1.9: dbm_close(3) returns void.Maxim Konovalov2006-05-011-5/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/5/; revision=158224
* MFC:Joe Marcus Clarke2006-05-011-0/+1
| | | | | | | | | | Fix a file descriptor leak in cam_lookup_pass() when the ioctl to find the passthru device fails. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=158200
* MFC: Add new libsm file from sendmail 8.13.6Gregory Neil Shapiro2006-03-291-1/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/5/; revision=157250
* MFC:Hajimu UMEMOTO2006-03-292-7/+28
| | | | | | | | | | | | | - When res_send() fails, we should reserve an error code. - When res_nquerydomain() returns SERVFAIL, we should try next domain. src/lib/libc/net/getaddrinfo.c: 1.75, 1.76 src/lib/libc/resolv/res_query.c: 1.3 Approved by: re (hrs) Notes: svn path=/stable/5/; revision=157241
* MFC:Yaroslav Tykhiy2006-03-113-8/+5
| | | | | | | | | | | Now login.access(5) feature belongs to pam_login_access(8), not to login(1), unlike it used to. This appears to apply to RELENG_5, too. Approved by: re (mux) Notes: svn path=/stable/5/; revision=156564
* Merge updated manual pages from HEAD to RELENG_5.George V. Neville-Neil2006-03-092-97/+146
| | | | | | | | | | | | | | 1.21 src/lib/libipsec/ipsec_set_policy.3 1.14 src/lib/libipsec/ipsec_strerror.3 1.17,1.18 src/share/man/man4/ipsec.4 Clean up some descriptions and remove ambiguities in the language. Add explanations to the examples. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=156490
* MFC: rev. 1.30Christian Brueffer2006-03-091-1/+1
| | | | | | | | | Remove a useless word. Approved by: re (hrs) Notes: svn path=/stable/5/; revision=156481
* MFC: Handle the errors returned by res_querydomain() in same manner.Hajimu UMEMOTO2006-03-092-0/+40
| | | | | | | | | | lib/libc/net/getaddrinfo.c: 1.72 lib/libc/net/res_query.c: 1.32 Approved by: re (mux) Notes: svn path=/stable/5/; revision=156475
* MFC: Sync inet_net_pton() and inet_net_ntop() with latest BIND9'sHajimu UMEMOTO2006-03-063-85/+420
| | | | | | | | | | | | | includes an IPv6 support. lib/libc/net/inet_net.3: 1.3 lib/libc/net/inet_net_ntop.c: 1.8 lib/libc/net/inet_net_pton.c: 1.10 Approved by: re (scottl) Notes: svn path=/stable/5/; revision=156353
* MFC: Decrease the value of RES_DFLRETRY from 4 to 2.Hajimu UMEMOTO2006-03-061-1/+1
| | | | | | | | | | include/resolv.h: 1.26, 1.28 lib/libc/net/res_init.c: 1.33 Approved by: re (scottl) Notes: svn path=/stable/5/; revision=156352
* MFC:Hajimu UMEMOTO2006-03-042-18/+40
| | | | | | | | | | | | | - Just query 'as is', if there is a trailing dot in the name. - Don't query 'as is' twice. lib/libc/net/getaddrinfo.c: 1.71 lib/libc/net/res_query.c: 1.31 Approved by: re (scottl) Notes: svn path=/stable/5/; revision=156298
* MFC rmdir.2 1.14 and 1.15, and undelete.2 1.16 and 1.17Don Lewis2006-01-262-2/+10
| | | | | | | | | | | | rmdir() fails with EINVAL if the last component of the path is "..". Document the previously undocumented behaviour of rmdir(".") returning EINVAL as required by POSIX and SUSv3. Bump the man page change date. undelete() fails with EINVAL if the last component of the path is "..". Bump the man page change date. Notes: svn path=/stable/5/; revision=154843
* MFC: Return EINVAL if the tv_usec part of the utimes(2) argumentsDiomidis Spinellis2006-01-221-1/+7
| | | | | | | | | | | | contains incorrect fractional second values (outside the range 0-999999). Prior to this change users could create files with values outside that range. Moreover, on 32-bit machines tv_usec offsets larger than 4.3s would result in an unnormalized AND wrong timestamp value, due to overflow. Notes: svn path=/stable/5/; revision=154682
* MFC import of BIND 9.3.2Doug Barton2006-01-146-14/+61
| | | | Notes: svn path=/stable/5/; revision=154348
* Complete the MFC process for removing thread supportDoug Barton2006-01-147-20/+2
| | | | Notes: svn path=/stable/5/; revision=154347
* MFC rev 1.6:Brooks Davis2006-01-111-3/+1
| | | | | | | | | | | | | | | | | When removing the local domain, only do so when the result will be a host name. This is matches the documented behaviro. The previous behavior would remove the domain name even if the result retained a dot. This fixes rsh connections from a.example.com to example.com. This is also reported to fix rsh connections from host xxx to yyy.example.com. PR: 88301 Notes: svn path=/stable/5/; revision=154214
* MFC a small part of the big NetBSD merge that fixes a few bugs and should beStefan Farfeleder2006-01-097-56/+134
| | | | | | | | | | | | | | | | safe for RELENG_5. el.c: Check term_init() and strdup() failure. history.c and tokenizer.c: Check malloc() failure. makelist and map.c: Respect list sentinel. refresh.c: Refresh bug. Notes: svn path=/stable/5/; revision=154143
* MFC of fixes from Kame that didn't make the 5 STABLE branch.George V. Neville-Neil2005-12-242-4/+4
| | | | Notes: svn path=/stable/5/; revision=153702
* MF6: Restore the previous state after a FILL operation inJohn Baldwin2005-12-051-8/+15
| | | | | | | properties_read(). Notes: svn path=/stable/5/; revision=153130
* MF6: Add MLINK for execvP(3).John Baldwin2005-12-051-1/+1
| | | | Notes: svn path=/stable/5/; revision=153124
* MFC r1.7:Philip Paeps2005-12-031-2/+47
| | | | | | | | Check for altq presence during module init, and allow module to work even if altq is not present (just disable the altq bits in that case). Notes: svn path=/stable/5/; revision=153054
* MFC: Revision 1.60Tom McLaughlin2005-11-301-1/+1
| | | | | | | | | Misspelling in Poul-Henning Kamp's email address under AUTHORS Approved by: ade Notes: svn path=/stable/5/; revision=152946
* MFC 1.55: The KAME's getipnodebyaddr() code honor theHajimu UMEMOTO2005-11-181-0/+1
| | | | | | | | | MULTI_PTRS_ARE_ALIASES define also, but res_config.h was not included into libc/net/name6.c. So getipnodebyaddr() ignored the multiple PTRs. Notes: svn path=/stable/5/; revision=152563
* Correct the SHLIB_MAJOR back to 1 for libarchive.Tim Kientzle2005-10-141-2/+2
| | | | | | | | | | | | | | In a recent MFC, I accidentally picked up a SHLIB_MAJOR version bump for FreeBSD 6. Anyone that updated their 5-STABLE system between October 4, 2005 and now should delete /usr/lib/libarchive.so.2. Apologies. Notes: svn path=/stable/5/; revision=151329
* MFC 1.7: fixed the validation code of routing header length inHajimu UMEMOTO2005-10-101-4/+3
| | | | | | | inet6_rth_getaddr(). Notes: svn path=/stable/5/; revision=151192