bmah [Fri, 12 May 2006 19:31:29 +0000 (19:31 +0000)]
Fix typo in last commit: traceroute(8) -e, not traceroute(8) -c.
Submitted by: Rong-En Fan grafan at gmail dot com
Pointy hat to: Thunderbird, for a too-small default font size
Not ready for reading glasses yet: bmah
mlaier [Fri, 12 May 2006 19:17:34 +0000 (19:17 +0000)]
Move etc/rc.firewall6 to ipfw2+v6, update related rc.d and periodic scripts.
Since ipfw2 now does dual-stack, statistics for IPv6 come from the ipfw
scripts as well.
keramida [Fri, 12 May 2006 17:42:48 +0000 (17:42 +0000)]
apropos(1) does not expand *roff macros that should appear in .Nd
text and, as a result, 'FreeBSD' is not visible in apropos output
when security(7) is displayed. Fix this buglet by using a
literal 'FreeBSD' string in .Nd
mlaier [Fri, 12 May 2006 16:15:34 +0000 (16:15 +0000)]
Put debugging messages related to inconsistent ticket numbers under misc and
wrap it __FreeBSD__ specific as I couldn't figure out which version of
OpenBSD I got it from.
keramida [Fri, 12 May 2006 12:55:56 +0000 (12:55 +0000)]
After a mini-discussion with Sam Leffler, remove the hardcoded
list of Atheros-based cards from ath(4). The online list is
always more up to date, anyway.
This invalidates:
PR: docs/95360
Submitted by: Erik Nordstr:om Andersen <erik@erik-n-andersen.dk>
cperciva [Fri, 12 May 2006 10:42:40 +0000 (10:42 +0000)]
Use 'rm -rf foo/bar' to remove a port instead of 'rm -rf foo/bar/'.
When /usr/ports/foo/bar is a symlink pointing outside the tree, this
deletes the symlink instead of the directory it points to.
mlaier [Fri, 12 May 2006 04:41:27 +0000 (04:41 +0000)]
Reintroduce net.inet6.ip6.fw.enable sysctl to dis/enable the ipv6 processing
seperately. Also use pfil hook/unhook instead of keeping the check
functions in pfil just to return there based on the sysctl. While here fix
some whitespace on a nearby SYSCTL_ macro.
benno [Fri, 12 May 2006 02:01:38 +0000 (02:01 +0000)]
Add a new kernel config option, VERBOSE_SYSINIT.
When porting FreeBSD to a new platform, one of the more useful things to do is
get mi_startup() to let you know which SYSINIT it's up to. Most people tend to
whack a printf in the SYSINIT loop to print the address of the function it's
about to call. Going one better, jhb made a version that uses DDB to look up
the name of the function and print that instead. This version is essentially
his with the addition of some ifdeffery to make it optional and to allow it to
work (although using only the function address, not the symbol) if you forgot
to enable DDB.
All the cool bits by: jhb
Approved by: scottl, rink, cognet, imp
bmah [Thu, 11 May 2006 19:17:17 +0000 (19:17 +0000)]
For some reason, it looks like SA-06:{10,11,12,13} were not mentioned
in HEAD's release notes, even though the issues involved were applied
(and fixed). Copy their descriptions from one of the RELENG_*
branches (RELENG_5 in this case).
SA-06:08 and SA-06:09 were not applicable to code on HEAD and thus not
mentioned.
njl [Thu, 11 May 2006 17:35:44 +0000 (17:35 +0000)]
Add support for the VIA C7-M processor family.
Remove an unnecessary check of the table's bus clock. CPUs that
support this feature export only the high/low settings via the MSR,
packed into 32 bits.
keramida [Thu, 11 May 2006 17:23:03 +0000 (17:23 +0000)]
The 'device fd' line became obsolete some years ago, when the transition
to device hints was committed. The GENERIC kernel configuration lost
its 'device fd' line at revision 1.260, committed by peter@ on
2000/06/13 22:28:46 UTC.
Delete the reference to 'device fd', to avoid kernel build breakage like
the one described in the PR audit trail.
cognet [Thu, 11 May 2006 14:30:28 +0000 (14:30 +0000)]
Get this to compile :
- The prototype of uart_bus_probe() hasn't been changed in cvs yet, so use the
old one.
- Add at91_pdcreg.h, needed by uart_dev_at91usart.c.
flz [Thu, 11 May 2006 14:23:43 +0000 (14:23 +0000)]
- Change the "jail_" prefix for internal script variables. This fixes an
issue where some global jail_* variables were overriden in the script. [1]
- Change "jid" to "jname" in rc.conf(5), since it's more a jail name than a
jail id. [1]
- Update examples and comments in defaults/rc.conf to advertise new
variables and the fact that some of the jail-specific variables may be made
jail-global. [2]
Reported by: pjd [1], clsung [2]
Approved by: cperciva
X-MFC after: i got sufficient testing from people using rc.d/jail
matteo [Thu, 11 May 2006 13:29:01 +0000 (13:29 +0000)]
if we fail to start a jail and jail_foobar_*fs_enable or jail_foobar_mount_enable were set, umount those filesystem before exiting. If we set up an alias for jail's IP, remove that alias before exiting.
cjc [Thu, 11 May 2006 06:30:18 +0000 (06:30 +0000)]
Option for setting a fixed destination port. This is useful for tracing
to a host behind a firewall where only specific services are allowed.
For example, to trace the hops to an HTTP server behind a firewall,
wollman [Thu, 11 May 2006 04:50:25 +0000 (04:50 +0000)]
Merge from vendor branch.
Updates to historic rules only for: part of Alaska, Algeria, Bulgaria,
Colombia, Easter Island, Italy, Malta, Mexico, Mongolia, Montserrat,
Puerto Rico, Poland, Russia, South Korea, Spain, part of North Dakota,
United Kingdom, Uruguay, Uzbekistan
Updates to current and future rules for: Guatemala, Haiti, Honduras,
part of Indiana, Iran, Nicaragua, Palestinian Territories, Sri Lanka,
Tunisia,
Updates to future rules only for: Canada, Thule AFB in Greenland
I uncovered these in a sweep of items that need to be merged to
the 5.4 release notes. It's possible that all of these items
should have been in the 6.1 release notes (not confirmed).
wollman [Thu, 11 May 2006 04:28:59 +0000 (04:28 +0000)]
Vendor import tzdata2006g. Too many changes to summarize here; of
particular importance to those living in the Western Hemisphere as
many non-U.S. zones will be changing DST rules next year to match the
U.S.
Obtained from: Arthur David Olson, ftp://elsie.nci.nih.gov/
cokane [Wed, 10 May 2006 20:32:57 +0000 (20:32 +0000)]
Fix the wording about the blocksize (-b) parameter. The existing
wording makes it look like pax archives > 32256 bytes are not
POSIX-compliant! Correct this to state that pax archives with
block sizes > 32256 are not POSIX compliant...and settle our fears.
marcus [Wed, 10 May 2006 18:53:15 +0000 (18:53 +0000)]
Add a /media to FreeBSD. /media is a directory designed to contain
subdirectories that will be used for removable media mount points (i.e.
mount points for CDs, floppy disks, USB drives, etc.). While the primary
purpose of /media is to provide a location for HAL
(http://www.freedesktop.org/wiki/Software_2fhal) to mount volumes, it could
be used by any application that needs to manage removable media volumes.
Discussed on: arch@
Approved by: mux
MFC after: 1 week
cognet [Wed, 10 May 2006 13:39:10 +0000 (13:39 +0000)]
Move the call to cpu_setup() before the call to vm_ksubmap_init().
vm_ksubmap_init() calls pmap_copy_page(), which uses the mini data cache
to do the copy, but we're running uncaching before cpu_setup().
For some reason it hasn't been a problem so far, but it is for the
PXA255.
jasone [Wed, 10 May 2006 00:07:45 +0000 (00:07 +0000)]
Increase the minimum chunk size by a power of two (32kB --> 64kB, assuming
4kB pages), in order to avoid dangerous rounding error when calculating
fullness limits during run promotion/demotion.
Convert a structure bitfield to a normal field in areana_run_t. This should
have been changed along with the other fields in revision 1.120.
tegge [Tue, 9 May 2006 22:33:43 +0000 (22:33 +0000)]
Bring the call to softdep_releasefile() within the region protected by
vn_start_secondary_write() since it might cause file system write activity
(e.g. ffs_snapremove()).
brooks [Sun, 7 May 2006 23:31:10 +0000 (23:31 +0000)]
Be more like Windows and Linux and send our hostname in the host-name
option if none is given in the config file. Also add #ifdefd out
support for sending a client ID based on our MAC address.
PR: bin/94743, bin/76401
Submitted by: Frank Behrens <frank at pinky dot sax dot de>
X-MFC after: 6.1-RELEASE