10046 Commits

Author SHA1 Message Date
rafan
aca77990c9 MFC: ncurses + wide character support from HEAD which include:
- new ncurses build framework
  - enable ncurses wide character support

Approved by:	delphij (mentor)
Tested by:	several people on stable@
2007-04-06 17:52:06 +00:00
stefanf
edd291ee53 MFC the latest synchronisation with the NetBSD code. 2007-04-03 20:47:25 +00:00
maxim
8d19c86f56 MFC rev. 1.20: add ENVIRONMENT section. 2007-03-23 21:03:19 +00:00
cperciva
f0fef48c73 Fix previous commit due to libarchive 1.x vs libarchive 2.x differences.
Submitted by:	Henrik Nymann Jensen
Pointy hat to:	cperciva
2007-03-21 19:19:00 +00:00
cperciva
a5760e447c MFC revision 1.13: Don't forget to increment the raw_position counter,
even when operating in non-buffered mode.
2007-03-21 15:26:02 +00:00
maxim
051c2ce40b MFC rev. 1.16: fix prototypes.
PR:		docs/110012
2007-03-16 21:35:13 +00:00
delphij
cc52beafa5 MFC fixes to regexp(3) from OpenBSD, this includes:
engine.c: 1.19+1.20
	grot/tests: 1.3
2007-03-15 05:51:24 +00:00
cvs2svn
22b21ad204 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-03-14 18:20:37 +00:00
bms
5c96749150 MFC:
AF_LINK support for getnameinfo().

Obtained from:	NetBSD
2007-03-14 16:44:31 +00:00
bms
f3e0084665 Mark addr2ascii() and ascii2addr() clearly as being deprecated. 2007-03-14 16:31:16 +00:00
bms
3c891c41e4 MFC rev 1.38:
Document SO_ACCEPTCONN.

Submitted by:	Vlad GALU (with changes)
2007-03-13 21:56:18 +00:00
jhb
aa9bb00abb MFC: Don't reject file descriptors higher than FD_SETSIZE when using
kevent(2).
2007-03-12 19:51:57 +00:00
simon
a95f930b65 MFC src/lib/libc/Makefile (1.69) src/lib/libc/rpc/clnt_dg.c (1.19):
Disable RPC exponential back-off for FreeBSD.org systems (IE. hidden
behind _FREEFALL_CONFIG).  This is done mainly to make NIS even more
resistant to packet loss.

This is not enabled by default for "normal" FreeBSD since it might cause
the server providing the RPC service to be hit heavily with RPC traffic
in case of problems.  freefall.FreeBSD.org and hub.FreeBSD.org have been
running with a patch similar to this for a couple of weeks.

MFC after:	1 week
Discussed with:	peter
2007-03-11 10:15:49 +00:00
simon
d9fc3654cc MFC 1.50:
- Bump _yplib_timeout limit from 10 to 20 seconds to better handle
  packet loss when talking to a NIS server.
- Set 1 second retry timeout to further realistically handle UDP
  packet loss for yp_next packet bursts.  If the packet hasn't come
  back within 1 second its rather unlikely to come back at all.  There
  is still back-off mechanism in RPC so if there is another reason
  than packet loss for the lack of response within 1 second, the NIS
  server will not be totally bombarded with requests.

This reduces the risk of NIS failing with:

	yp_next: clnt_call: RPC: Timed out

considerably.  This is mainly a problem if you have larger NIS maps
(like at FreeBSD.org) since enumerations of the lists will cause a UDP
packet bursts where a few packets being lost once in a while do
happen.

Discussed with: peter
Problem mainly diagnosed by:    peter
2007-03-11 09:59:51 +00:00
bms
60c8f511ba Fix license. Clause 4 is still required (UCB materiel).
Submitted by:	rwatson
Pointy hat to:	bms
2007-03-07 13:38:11 +00:00
bms
5a0525a4eb MFC rev 1.21:
Document protocol specific actions and return values.
  Use 2-clause FreeBSD license.
2007-03-07 11:09:52 +00:00
kientzle
a4e950e436 MFC archive_read_extract.c r1.52
Reset umask() during extraction so that mode computations come
out right.  In particular, this fixes the broken "tar -p" option.
2007-03-06 08:03:17 +00:00
n_hibma
da31b06568 Make hosts.allow a link to hosts_options instead.
Requested by:	ru
2007-02-27 14:20:40 +00:00
n_hibma
414536e22e MFC r1.19:
Create a link from hosts.allow(5) hosts_access(3), to give the user a
starting point for more information on a file in /etc.
2007-02-27 08:41:15 +00:00
cognet
642799b8dd MFC rev 1.2:
Provide definitions suitable for arm big-endian.
2007-02-26 20:29:29 +00:00
jhb
d4cc765add MFC: Restore support for kvm_get_swapinfo(3) on crash dumps. 2007-02-21 16:21:32 +00:00
kientzle
306f30386d MFC: "empty" format support
PR: bin/108607
2007-02-14 08:29:35 +00:00
cperciva
65ba4ada6e MFC archive_read.c rev. 1.29:
Don't reference a NULL pointer.

MFC archive_read_support_compression_none.c rev. 1.14:
  Print off_t by casting to intmax_t and using %jd.
  Ask the client skipper to handle requests > SSIZE_MAX if the API works.
2007-02-13 07:31:22 +00:00
brueffer
ed2d24e94c MFC: rev. 1.33 by joel
Remove reference to T/TCP.
2007-02-09 21:22:32 +00:00
dougb
84bc9f6c86 MFC the upgrade to BIND 9.3.4 2007-02-07 00:46:35 +00:00
cvs2svn
71665d8ac5 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-02-04 13:31:06 +00:00
mpp
e0f06003dd MFC: Document the acceptable values for the id parameter. 2007-02-01 09:02:28 +00:00
kientzle
8c6b56d4f6 MFC: synchronize libarchive with FreeBSD-CURRENT. This includes
the following:

 * License updates.
 * Fixes for FreeBSD/arm
 * New read_open_filename, read_open_memory
 * New write_open_filename, write_open_memory
 * Write-blocking cleanup (cperciva@)
 * Adjust API so read_open/write_open funcs only need public API
 * Portability improvements (casts, include guards, etc.)
 * Properly pad sparse archive entries with blocks of zero bytes (cperciva@)
 * Correct copy of data to file when very large reads are possible
 * Be more flexible about dir permissions to avoid some fixups
 * Correct skip handling for entries over 2G (cperciva@)
 * ISO9660: skip entries faster, support entries over 2G
 * Tar: correct position accounting when skipping large entries (cperciva@)
 * Support unbuffered write as a special case (blocksize=0) (cperciva@)
 * Documentation corrections, improvements
 * Spelling corrections (cperciva@)
 * Improve some internal error returns

A few of these changes break the API/ABI and are therefore conditional
on the version number.  FreeBSD 6 will continue to use libarchive 1.x,
which will continue to use the old API/ABI.  When all of these changes
are ready, the libarchive version number will be changed in -CURRENT
to enable the new API.  Hopefully, this will allow the actual source
to remain identical between FreeBSD 6 and 7; only the version
parameters in the Makefile will be different.
2007-01-27 06:44:54 +00:00
cvs2svn
7fc74e4ad3 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-01-26 10:19:09 +00:00
ume
4059cab8d0 MFC: Extend the nsswitch to support Services, Protocols and Rpc
databases.

	include/nsswitch.h:		1.4 (partly)
	include/rpc/rpcent.h:		1.3, 1.4
	lib/libc/net/Makefile.inc:	1.59 (partly)
	lib/libc/net/getproto.c:	1.6 (partly)
	lib/libc/net/getprotoent.c:	1.8 (partly)
	lib/libc/net/getprotoname.c:	1.6 (partly)
	lib/libc/net/getservbyname.c:	1.9
	lib/libc/net/getservbyport.c:	1.9
	lib/libc/net/getservent.c:	1.22 (partly)
	lib/libc/net/netdb_private.h:	1.12
	lib/libc/rpc/getrpcent.c:	1.15 (partly)
2007-01-20 14:59:12 +00:00
maxim
350f13d63a MFC rev. 1.34, 1.36: markup nits, document SO_TIMESTAMP and SO_BINSTAMP. 2007-01-18 11:08:44 +00:00
sam
50deaef856 MFC 1.25: document recent change to return ECONNRESET for tcp sockets 2007-01-08 18:12:34 +00:00
marcel
e23a540618 MFC 1.58: Enable gmon on PowerPC. 2007-01-07 00:12:24 +00:00
marcel
c5a37ad85e MFC rev 1.21: Use the proper definition for the minbrk symbol. 2007-01-07 00:10:53 +00:00
cperciva
6989e56bdb MFC:
Correct spelling of "accommodate", "guarantee", "guaranteed", "guard",
  "return", "ridiculous", and "success".
2007-01-02 12:35:07 +00:00
danger
2ed13acde1 MFC:
- Markup fixes.
- clock_gettime is in time.h instead of sys/time.h

Approved by: trhodes (mentor), keramida (mentor)
2006-12-29 23:35:08 +00:00
marius
d37cf126fc MFC: 1.7
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
2006-12-26 09:45:19 +00:00
ume
1cf119375a MFC: Merge BIND9 9.3.3 into main chunk.
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
2006-12-22 07:33:20 +00:00
maxim
83e93e9a34 MFC rev. 1.14: confstr(3) returns zero on errors, not -1. 2006-12-13 12:25:31 +00:00
dougb
58e442a71b MFC upgrade to version 9.3.3
Approved by:	re (kensmith)
2006-12-13 09:47:02 +00:00
bde
9d203ad872 MFC (1.2: add missing ldexpf()).
Previous history of ldexpf()'s existence in FreeBSD:

2005/03/07 s_scalbnf.c 1.8: first implemented (for all arches)
           i387 s_scalbnf.S 1.1: i386 MD implementation at same time
2005/04/16 amd64 s_scalbnf.S 1.1: missing here, and thus missing for amd64
2005/09/12 amd64 s_scalbnf.S 1.2: fixed in -current
2005/12/06 e_scalbnf.c 1.10: misimplemented for all arches (accidentally has
                             no effect except for amd64)
2006/07/05 e_scalbnf.c 1.11: backed out misimplementation
2006/07/05 e_scalbnf.c 1.12: attempt to fix log message in 1.11

The log message in e_scalbnf.c 1.12 still got the main detail wrong.
1.10 actually succeeded in misimplementing ldexpf() for amd64 only,
since for amd64 only there is no strong reference to hide the broken
weak reference.  For most arches, there is a strong reference in
s_scalbnf.c; for i386, there is a strong reference in s_scalbnf.S; for
amd64 there is supposed to be a strong reference in s_scalbnf.S but
it was missing.

So the problem mainly affected all versions of RELENG_6 on amd64.  -current
has ldexpf() and versions before 6.0 aren't supposed to have it.

Debugging completed by: Kael Fischer, Steve Kargl
2006-12-12 04:42:36 +00:00
davidxu
50a3323d6c MFC: return EINVAL if thread was detached. 2006-12-10 02:01:51 +00:00
yar
1d32d2fd6a MFC rev. 1.31:
Note that, thanks to the work by Alan Cox et al, some arch'es
  don't need sendfile() buffers any more.
2006-12-01 07:58:23 +00:00
ache
53caed4a9b MFC: 1.11 (automatically re-stir) 2006-11-18 21:35:13 +00:00
ache
5e935c3249 MFC: 1.14-1.17 (position bugfixes) 2006-11-18 21:16:55 +00:00
maxim
59ab6c76aa MFC rev. 1.14: fix incorrect function name.
Approved by:	re (bmah)
2006-11-09 11:07:28 +00:00
simon
75c71b6d94 MFC 1.9:
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)
2006-11-08 14:05:40 +00:00
lawrance
47026767d7 MFC:
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)
2006-11-07 19:52:12 +00:00
trhodes
358e451aea MFC:
Add information on how to escape a literal colon in a value or name.

  PR:     101262

Approved by:	re (hrs)
2006-11-03 09:03:17 +00:00
trhodes
79b1a992b7 MFC:
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)
2006-11-03 08:38:26 +00:00