Commit Graph

4851 Commits

Author SHA1 Message Date
dougb
885f415f1b MFC version 1.6 of the Makefile, crank WARNS up to 6
MFC version 1.2 of rcorder.c, fix for "chunk is already free" error
2006-01-26 01:34:00 +00:00
sos
f11f5a5c34 MFC:
Bring ATA up to -current standards:

Fix SiS SATA support, the SATA registers was off.
Update the ICH7 support so it deals better with chips without AHCI.
Unbreak hotplug support on the ICH6 and ICH7 chipsets.
Add support for VIA VT8251 southbridge.
Add new nVidia nForce4 chips.
Add support for the Marvell 88SX[56]0[48][01] series of SATA chips.
Fix the promise modesetting for old chips.
Get rid of the advertising clause in the copyright.
Add support for using DMA on dump, greatly speeds up the dump process.
When IOCATAGPARM is called, update the capabilities page that is stored
in the kernel and return the new values.
Fix rebuilds of arrays that got stuck.
Add dump support in ataraid.
Add support for for reading and writing SiS metadata.
Add support for writing VIA metadata.
Add support for writing Intel metadata.
Correct calculation of RAID0 sizes on VIA RAID arrays.
Update Intel MatrixRAID support to be able to pick up RAID0+1 (RAID10)
2006-01-25 08:13:46 +00:00
joel
2d6cdc2b7e MFC: s/5.5/6.0/ in HISTORY section. 2006-01-24 17:02:39 +00:00
pjd
2bb373ae84 MFC: sbin/mount/mount.c 1.80
Resolve the mount point's path with realpath(2) before checking if file
system is mounted. This prevevents duplicated mounts.

The change I made against the original patch is to fall back to the given
path on realpath(2) failure instead of exiting with an error.

Submitted by:	Andreas Kohn <andreas@syndrom23.de>
PR:		bin/89782
2006-01-24 15:27:25 +00:00
brooks
62ebe3a4fd MFC rev 1.5: Mention the -b flag in the SYNOPSIS. 2006-01-24 06:03:16 +00:00
brooks
38fe71cbe9 MFC rev 1.11:
When we give up on an interface, use the arp(8) command to remove all
  entries from the interface rather than using ifconfig's delete command.
  This preserves non-dhclient configured addresses (though they are wiped
  out when dhclient is restarted).
2006-01-24 06:01:59 +00:00
brooks
afb310880a MFC rev 1.13: Allow users to add aliases to the interface.
PR:		bin/87465
2006-01-24 05:59:27 +00:00
kris
d8f86cfc13 MFC: Remove big scary warning about nullfs state 2006-01-23 00:32:03 +00:00
yar
63fce21c6d MFC rev. 1.9, 1.10:
Use a callback to set up a vlan interface so that "vlan"
and "vlandev" commands can be specified in any order.
This makes the code more compact and clear as well.

Improve error check on vlan argument.

Eliminate some unneeded code bits.
2006-01-22 19:22:53 +00:00
yar
230f1eff88 MFC manpage fixes related to make.conf(5) and, in make.1,
to included makefiles at large.

	sbin/reboot/boot_i386.8		1.56
	share/man/man5/make.conf.5	1.122
	share/man/man5/style.Makefile.5	1.16
	share/man/man7/build.7		1.37
	share/man/man7/development.7	1.16
	share/man/man7/release.7	1.55
	share/man/man8/diskless.8	1.27
	usr.bin/make/make.1		1.94-1.96
2006-01-22 16:33:46 +00:00
pjd
c4be8154d5 MFC: Sync with HEAD. 2006-01-17 09:28:57 +00:00
pjd
b11d89f3f9 MFC: Sync with HEAD. 2006-01-17 09:11:30 +00:00
glebius
a06eca80b3 MFC 1.183:
Forget about ipfw1 and ipfw2. We aren't in RELENG_4 anymore.
2006-01-15 01:05:21 +00:00
glebius
470df2fb19 MFC:
Add a new feature for optimizining ipfw rulesets - substitution of the
  action argument with the value obtained from table lookup. The feature
  is now applicable only to "pipe", "queue", "divert", "tee", "netgraph"
  and "ngtee" rules.
2006-01-15 01:00:55 +00:00
glebius
bf3ba15d9b Cleanup _FreeBSD_version. 2006-01-15 00:52:15 +00:00
glebius
63168c1b16 MFC:
Catch up with ip_dummynet.h rev. 1.38.
2006-01-15 00:51:02 +00:00
pav
9ee0aaafb3 MFC 1.34: mention the size of the additional header 2006-01-14 12:13:04 +00:00
pav
aeeb3bfd31 MFC 1.74: xref mount_reiserfs(8) 2006-01-13 20:05:59 +00:00
brooks
e6a4fb6f3c MFC revs 1.27 and 1.28.
1.27: don't crash when given an invalid nwkey string
 1.28: parse SSIDs correctly and bail immediatly when invalid

PR:		misc/88159, bin/74509
2006-01-11 05:56:02 +00:00
maxim
ca2d8bdf75 MFC rev. 1.8: typo fix. 2006-01-08 20:25:24 +00:00
ceri
399cd6662b MFC r1.111:
Document the pfsync(4) specific maxupd parameter, with text mostly taken
  from OpenBSD's manpage.
2006-01-02 12:53:48 +00:00
sobomax
a70814d83f MFC: mention NTFS support.
Reminded by:	pjd
2005-12-29 17:21:46 +00:00
maxim
8990df231a MFC rev. 1.16: kill debug printf(3) leftovers. 2005-12-28 10:01:46 +00:00
thompsa
a48e8794fd MFC: Add support for creating span ports
sbin/ifconfig/ifbridge.c	r1.3
 sbin/ifconfig/ifconfig.8	r1.109
 sys/net/if_bridge.c		r1.36, 1.38
 sys/net/if_bridgevar.h		r1.7, 1.8
 sys/net/if_ethersubr.c		r1.210
2005-12-28 04:12:58 +00:00
sam
1853c8603d MFC: deftxkey explanation 2005-12-26 18:19:40 +00:00
sam
8e53519a18 MFC: add multicast rate support
display a bssid that's zero with the -v option
     add control for packet bursting
2005-12-22 19:32:11 +00:00
maxim
3bfb46bf00 MFC rev. 1.38: fix usage(). 2005-12-21 08:12:28 +00:00
brooks
964ba286a9 MFC 1.5: we now support BPF write filters unconditionally. 2005-12-20 21:11:16 +00:00
brooks
a2aee2ad8e MFC 1.12:
When we get a bogus hostname in an option, drop the option
	rather than refusing the lease.  This allow obtaining leases
	on misadministered networks that use host names with
	underscores in them.

Reminded by:	avatar
2005-12-20 21:02:22 +00:00
jkoshy
50d87e1085 MFC {devd.8 r1.15,1.16; devd.cc r1.29}
"Add a -f configfile option to devd(8), based on a patch submitted by
  Wojciech A. Koszek."
2005-12-19 03:33:05 +00:00
pjd
407c7742ed MFC: Move setkey(8) from usr.sbin/ to sbin/ and make rc.d/ipsec to run
before rc.d/mountcritremote, so it is possible to mount /usr/ over
	IPsec.

Discussed on:	arch@
Suggested by:	Tomasz Pi³at <tomasz.pilat@axelspringer.pl>
Prodded by:	dougb
2005-12-15 23:30:12 +00:00
sobomax
b1d47158ee MFC: add new option q to surpress any output in the normal case. 2005-12-15 04:03:05 +00:00
ume
fb6187e212 MFC: We couldn't specify the rule for filtering tunnel traffic since an
IPv6 support was committed:

- Stop treating `ip' and `ipv6' as special in `proto' option as they
  conflict with /etc/protocols.

- Disuse `ipv4' in `proto' option as it is corresponding to `ipv6'.

- When protocol is specified as numeric, treat it as it is even it is
  41 (ipv6).

- Allow zero for protocol as it is valid number of `ip'.

	sbin/ipfw/ipfw.8:	1.180
	src/sbin/ipfw/ipfw2.c:	1.80
2005-12-06 02:51:41 +00:00
le
703d4d250a MFC:
Finally bring in what was produced during Google SoC 2005:

   Add functions to rename objects and to move a subdisk from one drive
   to another.

   Add manual page (finally).

   Bring up-to-date the online help.

Plus several cleanups and whitespace fixes.
2005-11-26 11:10:37 +00:00
cvs2svn
2b0dd32330 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-11-22 19:17:43 +00:00
jhb
11cff0b05c Document the -32 flag and add it to usage(). 2005-11-18 19:47:41 +00:00
ru
6117baacde MFC: 1.8: Fix malloc size. 2005-11-16 08:08:48 +00:00
ru
5ea8a2c406 MFC: 1.26: err() -> errx() where appropriate. 2005-11-16 08:08:07 +00:00
ru
5d8ba22e49 MFC: Simplified markup. 2005-11-16 08:06:23 +00:00
iedowse
877d481a1c MFC 1.111: improve the logic for automatically sizing partitions
to take into account the new default of starting the first partition
after the boot blocks instead of at sector 0.
2005-11-10 09:52:56 +00:00
rse
8845971810 MFC:
| Fix parsing of mdmfs(8) option "-w <user>:<group>" in case <user> or
| <group> is a numeric user/group ID instead of a user/group name (as
| explicitly intended to be allowed by both the manual page and the
| implementation).
|
| Before this fix, mdmfs(8) aborted:
|
| | # mdmfs -s 32m -w 0:0 md /var/tmp/foo
| | Assertion failed: (mip->mi_have_uid), function extract_ugid, file /usr/src/sbin/mdmfs/mdmfs.c, line 555.
| | Abort trap (core dumped)
|
| The "mi_have_[ug]id" fields were only set in case a name lookup was
| successful. Instead they also have to be set in case the string to
| integer conversion was successful.
|
| Additionally, as a result of this fix, two assertions at the end of
| the function are now always true and hence can be just be removed. It
| is guarrantied that both the UID and the GID are set when the function
| returns regularily, else it would have been already bailed out with
| usage()/exit(3) or errx(3) before.
|
| Spotted by:     Christoph Schug <chris@schug.net>
2005-11-04 19:37:14 +00:00
csjp
b559f044a4 MFC notes about ucred based rules and debug.mpsafenet requirements.
Approved by:	re (scottl)
2005-10-26 21:58:42 +00:00
imp
3315386261 MFC: 1.26 remove 'string' to avoid shadowing a variable we want to change.
Approved by: re@ (scottl)
2005-10-25 19:59:22 +00:00
glebius
dc34959a86 Merge the 'kldstat -q' functionality, that is required for proper
operation of the /etc/rc.d/pfsync script, that was merged before
the RELENG_6_0 has been forked.

Approved by:	re (kensmith)
2005-10-14 14:02:25 +00:00
cvs2svn
769ea47baf This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-10-13 18:12:47 +00:00
cvs2svn
8494e77c0e This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-10-13 17:57:35 +00:00
delphij
4e1ef01420 MFC (by dds)
| Interpret correctly the glob(3) return value.
| Previously, interactive commands specifying a non-existent file or
| directory used to display an "out of memory error".
|
| MFC after:      2 weeks
|
| Revision  Changes    Path
| 1.18      +7 -1      src/sbin/restore/interactive.c

Approved by:	re (scottl)
2005-10-09 03:50:30 +00:00
delphij
7c007a1069 MFC (by stefanf):
| The libedit update made a const cast necessary.
|
| Revision  Changes    Path
| 1.30      +1 -1      src/sbin/fsdb/fsdb.c

Approved by:	re (scottl)
2005-10-09 03:45:28 +00:00
thompsa
34f6f0204d MFC r1.2
Display the status of the spanning tree for each port.

        member: xl0 flags=7<LEARNING,DISCOVER,STP>
        member: gem0 flags=7<LEARNING,DISCOVER,STP>
 to:
        member: xl0 flags=7<LEARNING,DISCOVER,STP>
                port 3 priority 128 path cost 55 forwarding
        member: gem0 flags=7<LEARNING,DISCOVER,STP>
                port 1 priority 128 path cost 55 learning

Approved by:	re (scottl)
2005-10-08 21:19:15 +00:00
maxim
2d97b0f05a MFC rev. 1.77: restore kerneldumpheader.architectureversion bytes
swopping.

Approved by:	re (kensmith)
2005-10-08 17:57:15 +00:00