122027 Commits

Author SHA1 Message Date
kientzle
9a81c1a075 MFC include guards and fill in extra definitions in bsdtar_platform.h. 2007-08-07 05:30:22 +00:00
kientzle
dae5cffde9 MFC include guards; add HAVE_GRP_H and HAVE_PWD_H to bsdtar_platform.h 2007-08-07 05:22:07 +00:00
kientzle
17f7e17e2d MFC include guards in bsdtar.c. Also, add HAVE_TIME_H to
bsdtar_platform.h so they actually work correctly.
2007-08-07 05:10:18 +00:00
kientzle
7e6d8214b3 MFC comments in bsdtar.c. 2007-08-07 05:05:03 +00:00
kientzle
f988cf8ca7 MFC matching.c 1.11: Guard includes to improve portability. 2007-08-07 04:55:21 +00:00
kientzle
a7f99471a8 MFC tree.c 1.8:
* Correct crash when files are removed during a traversal
 * Streamline some of the dir and link checks
 * Clarify comments
 * Guard header includes for portability

Update bsdtar_platform.h to reflect that FreeBSD does
indeed have <errno.h>.
2007-08-07 04:49:55 +00:00
kientzle
b738b64515 MFC 1.9: Fill in some missing casts. 2007-08-07 04:38:22 +00:00
kientzle
a238d47503 MFC 1.2: Fix strict-aliasing warning. 2007-08-07 04:32:49 +00:00
thompsa
4d0d503893 The path_cost field should have been increased to 32bits when RSTP support was
merged, fix this now and sync the struct order while I am at it.
2007-08-06 10:16:01 +00:00
thompsa
afb1efbbb9 MFC if_bridge.c r1.101, if_bridgevar.h r1.22
Avoid holding the softc lock when using copyout().
2007-08-06 10:00:40 +00:00
thompsa
603e3c8e54 MFC
Add a bridge interface flag called PRIVATE where any private port can not
   communicate with another private port.

  1.11  src/sbin/ifconfig/ifbridge.c
  1.142 src/sbin/ifconfig/ifconfig.8
  1.102 src/sys/net/if_bridge.c
  1.23  src/sys/net/if_bridgevar.h
2007-08-06 09:11:05 +00:00
delphij
ca0ae9d6dc MFC revision 1.4:
date: 2007/07/12 01:17:14;  author: delphij;  state: Exp;  lines: +7 -7
 - Simulate GNU gzip(1) behavior where full filename is
   being output in verbose mode when doing recursive[1].
 - Use better representation of S:

PR:		bin/114470
Submitted by:	Ighighi <ighighi gmail com> [1]
2007-08-06 02:31:25 +00:00
thompsa
b6cdff7f56 MFC if_lagg.c r1.17-18, if_lagg.h r1.10
- Avoid holding the softc lock when using copyout().
 - Propagate the largest set of interface capabilities supported by all lagg
   ports to the lagg interface.
 - Use the MTU from the first interface as the lagg MTU, all extra interfaces
   must be the same.
2007-08-05 21:00:31 +00:00
emax
b8d53dc51f MFC:
Call ttyld_close() in nmdmclose() to ensure that nmdm(4) closes
line discipline installed onto /dev/nmdmX device.

Reviewed by:	julian
2007-08-04 00:30:13 +00:00
mav
85a93d460c MFC msg.c rev 1.13, 1.14; internal.h rev 1.5
Replace select() by poll() to avoid problems with big
descriptor number.
2007-08-03 18:33:43 +00:00
kib
b06a1c7235 MFC rev. 1.273, submitted by peter:
Change kn_hook value from cdev to struct tty to avoid dereferencing freed
cdev.
In ttygone(), wake up select(), sigio and kevent() users in addition
to the queue sleepers.
Return EV_EOF from kevent filters if TS_GONE is set.
2007-08-03 14:24:38 +00:00
mav
1e69884eb7 MFC rev. 1.22
Reduce stack usage by 256 bytes per call. It helps to avoid kernel
stack overflow in complicated traffic filtering setups.
2007-08-02 10:49:27 +00:00
dougb
1a8f6a26f0 MFC version 1.25:
1. Move the disable-empty-zone stuff down below the first 25 lines so
that the listen-on stuff floats up to the first "page" of text. This
makes it very obvious what's going on so that someone trying to enable
a server for use on a network can easily see how to do that.

2. Change the default behavior back to using a hint zone for the root.

3. Leave the root slave zone config as a commented out example.

4. Remove the F root server from the example at the request of
its operator. (B was removed already.)
2007-08-02 09:29:02 +00:00
rodrigc
aebcdec059 MFC 1.16:
Fix interaction with Windows 2000/XP based servers:

   If the complete reply on the TRANS2_FIND_FIRST2 request fits exactly
   into one responce packet, then next call to TRANS2_FIND_NEXT2 will return
   zero entries and server will close current transaction.  To avoid
   subsequent errors we should not perform FIND_CLOSE2 request.

PR:		78953
Submitted by:	Jim Carroll <jim carroll com>
Requested by:	Antony Mawer <fbsd-fs mawer org>,  Peter <peter pean org>
=============================================================================
2007-08-02 06:02:06 +00:00
dougb
4d03e6f8de Date: Wed, 1 Aug 2007 17:00:07 +0000
From: bmanning@vacation.karoshi.com
To: Doug Barton <dougb@dougbarton.us>

	please remove "B" from your list/distribution until you have
	received permission from the FreeBSD community that this change
	is what they want.
2007-08-01 22:53:18 +00:00
simon
f002883535 Correct buffer overflow in tcpdump(1).
Security:	FreeBSD-SA-07:06.tcpdump
2007-08-01 20:42:48 +00:00
ambrisko
5f40eadb60 MFC the manual isa attachment via hints and merge over all changes to ipmi.4 2007-07-30 19:59:08 +00:00
bmah
609332a249 New (somewhat belated) errata: SA-07:05.libarchive. 2007-07-30 16:53:55 +00:00
dwmalone
f057111f6a MFC: Add an option to make periodic(8) quiet when no output was generated. 2007-07-29 20:32:24 +00:00
hm
7de72a5f91 PR: kern/111480
Submitted by:   Joerg Lehners, Joerg dot Lehners at Informatik dot Uni-Oldenburg dot DE

add missing '#include "opt_compat.h"' (which is already present in current),
so that kernel config options 'COMPAT_FREEBSD4' and 'COMPAT_FREEBSD5' are
recognized again. this made the vmware3 port running under the linuxulator
run again as usual.
2007-07-29 13:47:13 +00:00
mlaier
dc3557e1c3 MFV:
the TCP SACK option needs sequence number modulation

Reported & tested by:	Jordan Gordeev
Obtained from:		Krzysztof Pfaff via. OpenBSD
2007-07-28 22:32:57 +00:00
yongari
1f1c2d2eb4 MFC if_mskreg.h, rev 1.6 to RELENG_6.
The maximum size of the sum of all segment lengths in a given DMA mapping
  should be 65535 + link layer headers.
2007-07-27 01:50:54 +00:00
yongari
ad5e419304 MFC if_msk.c, rev 1.17 if_mskreg.h, rev 1.5 to RELENG_6.
Increase a maximum segment size of DMA to 4096. Previously it used
  MCLBYTES for the segment size but it used too many Tx descriptors in
  TSO case.
  While I'm here adjust maximum size of the sum of all segment lengths
  in a given DMA mapping to 65535, the maximum size, in bytes, of a IP
  packet.
2007-07-27 01:48:58 +00:00
yongari
bc6d0ec32d MFC if_msk.c, rev 1.16 to RELENG_6.
Disable automatic IP ID increment. Due to a hardware bug the automatic
  IP ID increment in TSO case generated corrupted IP packets.
  This change brings back TSO capability.
2007-07-27 01:45:01 +00:00
njl
321f7cc493 MFC v1.10: Be sure HPET is working before attaching it 2007-07-26 19:08:11 +00:00
bmah
b6f44d310d Updated release note: BIND 9.3.4-p1. 2007-07-26 14:45:57 +00:00
thompsa
b16307ef0a The MAC address was not being set correctly on the lagg interface so all
outgoing frames had the src of 00:00:00:00:00:00. We fake enough of
if_setlladdr() to set the MAC address without resetting the interface, on
RELENG_6 this also requires overwriting _ac_enaddr in struct arpcom.
2007-07-26 06:24:04 +00:00
mav
3a9e182752 MFC rev. 1.3
- Add support for setmode and settarget messages.
2007-07-25 19:15:05 +00:00
mav
bb968fb086 MFC rev. 1.1 of ng_nat.h and rev. 1.5,1.9,1.10 of ng_nat.c
- Add support for setmode and settarget messages.
 - Allow node to bypass traffic while no alias address defined.
 - Fix result of some mechanical change.
2007-07-25 19:10:39 +00:00
pav
b23f752cc2 MFC:
Fix an integer overflow and allow access to files larger than 4GB on NTFS.

Ok'ed by:	le
2007-07-25 15:55:31 +00:00
mav
e7055066ab MFC rev. 1.63 - 1.67
Multiple multilink fixes and optimizations.
2007-07-25 14:25:51 +00:00
mav
14053562dc MFC rev. 1.25 - 1.31
Several fixes and performance optimizations.
2007-07-25 14:03:46 +00:00
mav
30fb669fbf MFC rev. 1.15-1.17
- Use the ISO standard function variable vs. a GCC'ism.
 - Global xmit stats calculation fix.
 - Avoid false assertion on transmit and delayed ack timeout with enabled invariants.
   Replace callout_pending() by callout_active() to remove race window.
2007-07-25 13:50:57 +00:00
mav
9eb48d03b8 MFC rev. 1.40
Compensate low int math precision.
2007-07-25 13:32:48 +00:00
mav
98136e1261 MFC rev. 1.1210
Return back NETGRAPH_MPPC_COMPRESSION depends.
2007-07-25 13:20:29 +00:00
mav
cf84866e59 MFC rev. 1.1198
Add static build depends for ng_deflate, ng_nat and ng_sppp.
2007-07-25 13:16:39 +00:00
dougb
ea24299e36 Update to 9.3.4-P1, which fixes the following:
The DNS query id generation is vulnerable to cryptographic
analysis which provides a 1 in 8 chance of guessing the next
query id for 50% of the query ids. This can be used to perform
cache poisoning by an attacker.

This bug only affects outgoing queries, generated by BIND 9 to
answer questions as a resolver, or when it is looking up data
for internal uses, such as when sending NOTIFYs to slave name
servers.

All users are encouraged to upgrade.

See also:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2926
2007-07-25 08:24:40 +00:00
rodrigc
ea23b0324b MFC 1.164:
Terminate ext2_opts array with NULL.
2007-07-25 02:55:30 +00:00
rafan
3c59e089b2 MFC ncurse manual page changes
- Correctly substitute variables like @NCURSES_MAJOR@ in manual pages

PR:		doc/114711
Submitted by:	Yuri Pankov <yuri at darklight.org.ru>
2007-07-24 01:48:10 +00:00
jhb
44ff2749c0 MFC: Restore netstat -M functionality for most statistics on core dumps.
One change in this patch relative to the changes in HEAD is that the
mroute statistics will still fallback to using libkvm on live kernels
if the sysctl fails.
2007-07-23 15:40:26 +00:00
simon
2d5ab9bdd7 MFC 1.2:
The wpa_passphrase(8) manual page states that it first appeared in
  FreeBSD 6.2, but it didn't make it into RELENG_6_2.

  Update the manual page to say "FreeBSD 6.3".
2007-07-23 11:37:10 +00:00
rodrigc
9b1aa37a59 MFC 1.148:
When parsing mount options, accept "shortnames" and "longnames" in addition
to "shortname" and "longname".

Submitted by:	Eugene Grosbein
PR:		114776
2007-07-21 22:24:07 +00:00
rodrigc
73fe4d5558 MFC: 1.173:
Perform range check before allocating memory when reading
  extended attributes.

  Reviewed by:    kib
  PR:             114389
2007-07-21 22:17:06 +00:00
delphij
ceea5208cf MFC: Remove unneeded files. 2007-07-21 16:44:40 +00:00
truckman
0945fc71af MFC ObsoleteFiles.inc 1.91, 1.92, and 1.93:
1.91 -
    When /usr/sbin/xten went away back in 2003, /usr/libexec/xtend was
    overlooked.

  1.92 -
    The archive_write_prepare.3 man page was removed in November 2006.

    The wpa man pages were moved to section 8 in June 2005.

    The clean_environment() function was removed from libutil in February
    2004, so its man page is well overdue for removal.

  1.93 -
    Nuke man page links that were orphaned by vendor branch import of
    TrustedBSD OpenBSM 1.0 alpha 6.
2007-07-21 00:01:09 +00:00