Commit Graph

7526 Commits

Author SHA1 Message Date
Zachary Loafman
eae608ef4c Fix style/grammar issues in fail(9) man page.
Suggested by:       Ben Kaduk
Approved by:        dfr (mentor)
2009-05-28 15:02:52 +00:00
Ed Schouten
3d98b75bac Rename the queue macros I introduced last year.
Last year I added SLIST_REMOVE_NEXT and STAILQ_REMOVE_NEXT, to remove
entries behind an element in the list, using O(1) time. I recently
discovered NetBSD also has a similar macro, called SLIST_REMOVE_AFTER.
In my opinion this approach is a lot better:

- It doesn't have the unused first argument of the list pointer. I added
  this, mainly because OpenBSD also had it.

- The _AFTER suffix makes a lot more sense, because it is related to
  SLIST_INSERT_AFTER. _NEXT is only used to iterate through the list.

The reason why I want to rename this now, is to make sure we don't
release a major version with the badly named macros.
2009-05-27 19:28:04 +00:00
Bruce M Simpson
29dc7bc636 Merge final round of MLD changes from p4:
ip6_input.c, in6.h:
 * Add netinet6-specific mbuf flag M_RTALERT_MLD, shadowing M_PROTO6.
  * Always set this flag if HBH Router Alert option is present for MLD,
    even when not forwarding.

 icmp6.c:
 * In icmp6_input(), spell m->m_pkthdr.rcvif as ifp to be consistent.
 * Use scope ID for verifying input. Do not apply SSM filters here, no inpcb.
  * Check for M_RTALERT_MLD when validating MLD traffic, as we can't see
    IPv6 hop options outside of ip6_input().

 in6_mcast.c:
 * Use KAME scope/zone ID in in6_multi.
   * Update net.inet6.ip6.mcast.filters implementation to use scope IDs
     for comparisons.
 * Fix scope ID treatment in multicast socket option processing.
   Scope IDs passed in from userland will be ignored as other less
   ambiguous APIs exist for specifying the link.
 * Tighten userland input checks in IPv6 SSM delta and full-state ops.
   * Source filter embedded scope IDs need to be revisited, for now
     just clear them and ignore them on input.
 * Adapt KAME behaviour of looking up the scope ID in the default zone
   for multicast leaves, when the interface is ambiguous.

 mld6.c:
 * Tighten origin checks on MLD traffic as per RFC3810 Section 6.2:
  * ip6_src MAY be the unspecified address for MLDv1 reports.
  * ip6_src MAY have link-local address scope for MLDv1 reports,
    MLDv1 queries, and MLDv2 queries.
  * Perform address field validation *before* accepting queries.
 * Use KAME scope/zone ID in query/report processing.
   * Break const correctness for mld_v1_input_report(), mld_v1_input_query()
     as we temporarily modify the input mbuf chain.
   * Clear the scope ID before handoff to userland MLD daemon.
 * Fix MLDv1 old querier present timer processing.
   With the protocol defaults, hosts should revert to MLDv2 after 260s.
 * Add net.inet6.mld.v1enable sysctl, default to on.

 ifmcstat.c:
 * Use sysctl by default; -K requests kvm(3) if so compiled.

 mld.4:
 * Connect man page to build.

Tested using PCS.
2009-05-27 18:57:13 +00:00
Zachary Loafman
cfeb7489c2 fail(9) support:
Add support for kernel fault injection using KFAIL_POINT_* macros and
fail_point_* infrastructure. Add example fail point in vfs_bio.c to
simulate VM buf pressure.

Approved by:        dfr (mentor)
2009-05-27 16:36:54 +00:00
Bruce M Simpson
dedecb4733 Add mld(4) man page. 2009-05-27 16:30:33 +00:00
Stacey Son
00a5db46de Add the ksyms(4) pseudo driver. The ksyms driver allows a process to
get a quick snapshot of the kernel's symbol table including the symbols
from any loaded modules (the symbols are all merged into one symbol
table).  Unlike like other implementations, this ksyms driver maps
memory in the process memory space to store the snapshot at the time
/dev/ksyms is opened.  It also checks to see if the process has already
a snapshot open and won't allow it to open /dev/ksyms it again until it
closes first.  This prevents kernel and process memory from being
exhausted.  Note that /dev/ksyms is used by the lockstat(1) command.

Reviewed by:	gallatin kib (freebsd-arch)
Approved by:	gnn (mentor)
2009-05-26 21:39:09 +00:00
Pyun YongHyeon
4f9b2cb233 Correct controller description for 88E8035, 88E8036, 88E8038 and
88E8039. These are fast ethernet controllers.
2009-05-25 08:27:52 +00:00
Pyun YongHyeon
004f62de56 msk(4) now supports Yukon FE+. Specifically 88E8040, 88E8040T,
88E8048 and 88E8070 are supported.
Bump .Dd
2009-05-25 08:11:03 +00:00
Edward Tomasz Napierala
4a48670553 There are things too complex to be fixed in one commit.
Fix a typo in acl(9) manual page.

Submitted by:	avg
2009-05-24 20:34:29 +00:00
Tom McLaughlin
c327ec0021 Update man pages after VFS_* changes in r191990.
Approved by:	brueffer, attilio
2009-05-24 18:34:54 +00:00
Edward Tomasz Napierala
7070b4fc87 Fix typo in the manual page. 2009-05-24 17:08:00 +00:00
Edward Tomasz Napierala
3f8cd45f79 Add new constants to the acl(9) manual page. 2009-05-24 09:42:53 +00:00
Bjoern A. Zeeb
db2e47925e Add sysctls to toggle the behaviour of the (former) IPSEC_FILTERTUNNEL
kernel option.
This also permits tuning of the option per virtual network stack, as
well as separately per inet, inet6.

The kernel option is left for a transition period, marked deprecated,
and will be removed soon.

Initially requested by:	phk (1 year 1 day ago)
MFC after:		4 weeks
2009-05-23 16:42:38 +00:00
Andrew Thompson
b47fd40452 Update usb(4) to match reality, remove section on permissions.
Delete usb2_core.4.

Submitted by:	Hans Petter Selasky
2009-05-21 17:26:20 +00:00
John Baldwin
e6b089446b Attempt to clarify some confusing wording regarding atomic_load() and
atomic_store().
2009-05-21 13:39:46 +00:00
Pyun YongHyeon
d4cb58f64c Add nge(4) to the list of drivers supporting ALTQ. 2009-05-21 02:47:46 +00:00
Pyun YongHyeon
fe06074870 nge(4) supports altq(4). Xr altq 2009-05-21 02:44:32 +00:00
Pyun YongHyeon
e222fbb65c DP83821 also supports jumbo frames. 2009-05-21 02:42:15 +00:00
Pyun YongHyeon
ecf900c60c Document sysctl variable dev.nge.%d.int_holdoff. 2009-05-21 02:39:47 +00:00
Joel Dahl
22ccc253a2 Add Dell PowerEdge R200 and R300 to the hardware section. 2009-05-19 17:17:53 +00:00
Sam Leffler
930034efe2 AH_SUPPORT_TDMA is gone; ath now honors IEEE80211_SUPPORT_TDMA
Noticed by:	Jon Loeliger <jdl@jdl.com>
2009-05-19 14:51:48 +00:00
Edward Tomasz Napierala
a7c13ccc01 Add links to libgeom(3) where appropriate. 2009-05-19 12:10:48 +00:00
Christian Brueffer
314a700e2e Remove license clauses 3 and 4 as per rev. 1.2 from NetBSD.
Also, FreeBSD 8.0 will be the first release including this driver. (1)

PR:		134093 (1)
Submitted by:	gavin
2009-05-18 11:23:15 +00:00
Christian Brueffer
72fba9d714 Document sbuf_new_auto().
While here, add a missing `-' in phk's name.

MFC after:	3 days
2009-05-17 21:28:37 +00:00
Edward Tomasz Napierala
964bb4d3d4 Fix the example. 2009-05-17 12:21:11 +00:00
Christian Brueffer
e43c3a8bd9 Drop clause 3 of the license as per rev. 1.35 from OpenBSD.
Obtained from:	OpenBSD
MFC after:	3 days
2009-05-16 22:18:58 +00:00
Christian Brueffer
cd65fa6f16 Sync up to rev. 1.25 from OpenBSD:
1.19: nop
1.20: nop
1.21: nop
1.22: typo fixed
1.23: license clauses 3 and 4 nuked
1.24: nop
1.25: Sun Crypto Accelerator 1000 has a 5821 chip on it

Obtained from:	OpenBSD
MFC after:	3 days
2009-05-16 21:38:55 +00:00
Doug Barton
94d77159ae 1. New feature; option to have the script loop until a specified hostname
(localhost by default) can be successfully looked up. Off by default.
2. New feature: option to create a forwarder configuration file based on
the contents of /etc/resolv.conf. This allows you to utilize a local
resolver for better performance, less network traffic, custom zones, etc.
while still relying on the benefits of your local network resolver.
Off by default.
3. Add named-checkconf into the startup routine. This will prevent named
from trying to start in a situation where it would not be possible to do
so.
2009-05-16 20:55:28 +00:00
Christian Brueffer
41aa1f3545 Make the HARDWARE section ready for the automatic hardware notes generation,
fix the date format.
2009-05-16 12:11:06 +00:00
Christian Brueffer
e27fb776f3 Add a manpage for the bwi(4) driver. 2009-05-16 10:42:00 +00:00
Christian Brueffer
a9754a7538 This driver can be loaded as a module now.
MFC after:	3 days
2009-05-15 13:26:54 +00:00
Christian Brueffer
7042d35782 Xref missing wlan drivers. 2009-05-15 10:11:54 +00:00
Christian Brueffer
ca23ba6e2e Sort SEE ALSO section, remove trailing dot. 2009-05-15 10:06:33 +00:00
Marius Strobl
08390d3b63 Correct r190283 (partially reverting it) as on sparc64 BUS_DMA_NOCACHE
actually is only valid for bus_dmamap_load().

MFC after:	3 days
2009-05-12 20:56:34 +00:00
Warner Losh
75184335fe LFS cannot be loaded, compiled, torn, spindled or mutilated in
FreeBSD: it was deleted around FreeBSD 3.x...
2009-05-11 17:05:41 +00:00
Ivan Voras
dc974bbb9b Describe the topology_spec sysctl and do some minor adjustments to
relating documentation.

Reviewed by:	brooks (older version)
Approved by:	gnn (mentor)
2009-05-09 20:18:20 +00:00
Sam Leffler
8d0f23a572 hookup iwnfw.4 2009-05-09 19:44:23 +00:00
Sam Leffler
3c29ede04d restore ref to iwnfw 2009-05-09 19:19:30 +00:00
Sam Leffler
638e35d58c iwn firmware 2009-05-09 19:19:19 +00:00
Ollivier Robert
deb1daa82e Remove reference to nonexistant manpage.
PR:		    ports/131898
Submitted by:	    Niclas Zeising <niclas.zeising@gmail.com>
Prodded by:         sbruno
2009-05-09 18:09:18 +00:00
Philip Paeps
fcec7b25b8 Sync ubsec(4) with reality, note BCM5825 support.
Pointed out by:	brueffer
MFC after:	1 minute
2009-05-08 14:09:31 +00:00
Ed Maste
506d3686a2 Update example with feedback from thompsa@. 2009-05-07 16:31:50 +00:00
Ed Maste
7909a69030 s/ath0/wlan0/ since we no longer use the real device directly. 2009-05-07 14:34:49 +00:00
Edward Tomasz Napierala
03befb106d Make gmultipath(8) easier to find. 2009-05-05 13:48:53 +00:00
Hiroki Sato
36cf744872 Fix typos:
s,Novatal,Novatel,
	s,/sys/dev/u3g.c,/sys/dev/usb/serial/u3g.c,

MFC after:      3 days
2009-05-02 11:59:56 +00:00
Maxim Konovalov
3eef459ffc o Correct ng_hole(4) control messages names.
PR:		docs/134100
Submitted by:	Eugene Mychlo
MFC after:	1 week
2009-04-30 10:01:13 +00:00
Ruslan Ermilov
f3320e5fd8 Added (pre|post)(start|stop) jail hooks. These can be used to run
arbitrary commands (outside the jail) associated with said events,
e.g. to bring up/down CARP interfaces representing services run in
jails.

Reviewed by:	simon
2009-04-28 09:45:32 +00:00
Ed Schouten
ccfd3aab30 Turn MAXPTSDEVS into a sysctl tunable.
This allows users to increase the maximum amount of pseudo-terminals
without changing any source code. Users must increase UT_LINESIZE before
attempting to increase kern.pts_maxdev.
2009-04-25 10:05:55 +00:00
Maxim Konovalov
ffe65ca91d o Correct geli(8) command line.
PR:		docs/133961
Submitted by:	Aldis Berjoza
MFC after:	1 week
2009-04-24 06:44:58 +00:00
Christian Brueffer
2a72feb42b Correct the information about when the respective functionality first
appeared in FreeBSD.

PR:		133785
Submitted by:	Ulrich Spoerlein <uqs@spoerlein.net>
MFC after:	3 days
2009-04-23 08:37:56 +00:00