Commit graph

12739 commits

Author SHA1 Message Date
Edward Tomasz Napierala f0fa0e7faa Use the "flag" word consistently.
Submitted by:	Ben Kaduk <minimarmot at gmail.com>
2009-06-01 07:48:27 +00:00
Juli Mallett f5a8c1294c o) Remove some references to long-unsupported old-style config(8) directives.
o) Borrow da(4) language about autoconfiguration for ch(4).
2009-06-01 06:52:03 +00:00
Alexander Logvinov 09d234643f Add myself to the list of ports committers
Approved by:	tabthorpe (mentor)
2009-05-31 22:33:53 +00:00
Robert Watson 89614fc2ff Upgrade audit(4) from experimental to production status for FreeBSD 8.0.
While there remain some incomplete aspects of the implementation (such
as incomplete auditing of some system calls), the implementation has
been burned in for a few years, as well as in GENERIC for a few years.

Obtained from:	TrustedBSD Project
2009-05-31 09:03:14 +00:00
Doug Barton 6318052d9e Update BIND to version 9.6.1rc1. This version has better performance and
lots of new features compared to 9.4.x, including:

	Full NSEC3 support
	Automatic zone re-signing
	New update-policy methods tcp-self and 6to4-self
	DHCID support.
	More detailed statistics counters including those supported in BIND 8.
	Faster ACL processing.
	Efficient LRU cache-cleaning mechanism.
	NSID support.
2009-05-31 05:42:58 +00:00
Edward Tomasz Napierala c97fcdba57 Add VOP_ACCESSX, which can be used to query for newly added V*
permissions, such as VWRITE_ACL.  For a filsystems that don't
implement it, there is a default implementation, which works
as a wrapper around VOP_ACCESS.

Reviewed by:	rwatson@
2009-05-30 13:59:05 +00:00
Robert Watson 1a109c1cb0 Make the rmlock(9) interface a bit more like the rwlock(9) interface:
- Add rm_init_flags() and accept extended options only for that variation.
- Add a flags space specifically for rm_init_flags(), rather than borrowing
  the lock_init() flag space.
- Define flag RM_RECURSE to use instead of LO_RECURSABLE.
- Define flag RM_NOWITNESS to allow an rmlock to be exempt from WITNESS
  checking; this wasn't possible previously as rm_init() always passed
  LO_WITNESS when initializing an rmlock's struct lock.
- Add RM_SYSINIT_FLAGS().
- Rename embedded mutex in rmlocks to make it more obvious what it is.
- Update consumers.
- Update man page.
2009-05-29 10:52:37 +00:00
Attilio Rao 1ae1c2a3bd Reverse the logic for ADAPTIVE_SX option and enable it by default.
Introduce for this operation the reverse NO_ADAPTIVE_SX option.
The flag SX_ADAPTIVESPIN to be passed to sx_init_flags(9) gets suppressed
and the new flag, offering the reversed logic, SX_NOADAPTIVE is added.

Additively implements adaptive spininning for sx held in shared mode.
The spinning limit can be handled through sysctls in order to be tuned
while the code doesn't reach the release, after which time they should
be dropped probabilly.

This change has made been necessary by recent benchmarks where it does
improve concurrency of workloads in presence of high contention
(ie. ZFS).

KPI breakage is documented by __FreeBSD_version bumping, manpage and
UPDATING updates.

Requested by:	jeff, kmacy
Reviewed by:	jeff
Tested by:	pho
2009-05-29 01:49:27 +00:00
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
Edwin Groothuis 71da9898e0 MFV of tzdata2009h:
- Fix coordinates of Africa/Gaborone, Pacific/Noumea, Pacific/Tongatapu,
  Europe/Vatican

- Fix URLs (=3D -> = etc)

- Jordan doesn't go at last Friday of March 00:00 but no last
  Thursday of March 24:00

- Specifically state license for the data: public domain

MFC after:	1 week
2009-05-27 10:02:07 +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
Brian Somers a063878a50 Mention the danger of running programs using ``!''.
PR:		112481
MFC after:	1 week
2009-05-26 07:40:32 +00:00
Mark Murray cc7d853dfc I have been here long
The duration I know not
I tell what I can
2009-05-25 23:06:46 +00:00
Mark Murray 09c398cabf Euro is missing
With this I shall see it fixed
Thank you for your time
2009-05-25 17:06:24 +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
Edwin Groothuis f03138a253 Update share/misc/iso639
Snapshot was taken on 23 May 2009.

Obtained from:	http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt
MFC after:	1 week
2009-05-23 07:16:17 +00:00
Edwin Groothuis 98ded69774 [patch] update share/misc/iso639
Updated against http://www.loc.gov/standards/iso639-2/langhome.html
Snapshot was taken on 16 September 2008.

PR:		conf/127422
MFC after:	1 week
2009-05-23 06:40:09 +00:00
Jilles Tjoelker e2da1d0e79 Add myself to the src committers graph.
Approved by:	ed (mentor)
2009-05-22 22:13:29 +00:00
TAKATSU Tomonari dacc4a46c2 Add myself to the list of ports committers.
Approved by:	maho (mentor)
2009-05-21 21:21:22 +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
Steven Kreuzer 1a18599497 Adding myself as a ports committer
Approved by:	wxs (mentor)
2009-05-07 14:39:01 +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
Maxim Konovalov cedd69ef18 o FreeBSD 7.2 added. 2009-05-05 20:54:26 +00:00
Sean Nicholas Barkas d1884d416a Add myself as a mentee of dwmalone for the committers graph. Also add my
birthday to the calendar.

Approved by:	dwmalone (mentor)
2009-05-05 15:03:19 +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 0525ad4ccf o OpenBSD 4.5 added. 2009-04-30 17:47:52 +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
Maxim Konovalov b5a7b21c4e o NetBSD 5.0 added. 2009-04-30 07:48:49 +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
Edwin Groothuis 9dfee9ccd2 MFC of tzdata2009g:
Egypt will have DST till the end of September the coming years.
2009-04-28 08:20: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
Rafal Jaworowski 9e8894a010 Provide manual page for the tsec(4) device driver.
Obtained from:	Semihalf
2009-04-22 15:25:00 +00:00
Edward Tomasz Napierala 1f6ac2bd3d Turns out rtm_use does still exist, just under different name - for
a long time (since 6.1) it was #defined as rtm_fmask.  Update manual
page.  While here, sync some constants with what's in route.h.
2009-04-22 12:52:12 +00:00
Kevin Lo 4bdf8b4ddf Back out my previous change 2009-04-21 07:22:12 +00:00
Antoine Brodin 9d9ab10e8b vlan(4) no longer depends on miibus(4).
Reviewed by:	jhb@
MFC after:	1 month
2009-04-20 15:01:45 +00:00
Edward Tomasz Napierala 2ba2ee8d07 Adjust route(4) manual page to remove rtm_use field, which was removed
from the route.h some time ago.

Reviewed by:	rwatson
2009-04-20 13:53:40 +00:00
Robert Watson 78fc60e401 Garbage collect man page reference to IFF_NEEDSGIANT. 2009-04-18 20:09:43 +00:00
Warner Losh 39ce911c1e This turns out to be wrong... 2009-04-18 04:21:04 +00:00
Kevin Lo 5d8c02c23f Change Taiwan, Province of China to Taiwan, Republic of China 2009-04-17 08:01:18 +00:00
Robert Watson 71807e2542 Remove man pages ar(4), ray(4), and sr(4) following removal of these
non-MPSAFE device drivers.
2009-04-16 11:09:59 +00:00
Edwin Groothuis 9a338160ba MFV of tzdata2009f
Correct DST information for Pakistan for 2009.
2009-04-14 08:15:39 +00:00
Edwin Groothuis 49ba1deb12 MFV of tzdata2009e
- Jordan went into DST in the last Thursday in March instead of the
  last Friday in March.
- Palestine has extended the DST time with one week before and one
  month after.

MFC after:	1 week
2009-04-13 09:17:40 +00:00
Gabor Pali 2983091e25 - Add myself to the ports committers' graph
Approved by:	gabor (mentor)
2009-04-12 21:06:11 +00:00
Tim Kientzle 7970a63721 Any tar program should work here; the explicit
reference to bsdtar is misleading.
2009-04-11 22:39:38 +00:00
Edward Tomasz Napierala d0d7c39c72 Remove 'IMPLEMENTATION NOTES' section from acl(9); it was just a copy/paste
from <sys/acl.h> and it would get out-of-date pretty soon.
2009-04-11 10:37:04 +00:00
Warner Losh a2910806e5 Updates based on my testing of the cards. 2009-04-10 15:01:48 +00:00
Robert Watson cd5213b94b Remove VOP_LEASE(9) man page, as we no longer have a VOP_LEASE() in the
kernel.
2009-04-10 10:59:48 +00:00
Ed Schouten 11c39fb4a3 Add C++ operators to operator(7) manual page.
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
2009-04-08 20:20:19 +00:00
Xin LI 358b0d9003 Add the following media types as supported by bce(4):
- 1000BaseSX
 - 2500BaseSX

While I'm there, correct 1000BaseTX as more standard 1000BaseT.

MFC after:	3 days
2009-04-07 22:23:48 +00:00
Christian Brueffer 2469ad2e30 Remove superfluous dot. 2009-04-07 20:13:48 +00:00
Christian Brueffer b502ecac39 Reword the HARDWARE section so uath(4) can actually be recognized in
the hardware notes on the website.  While here sort SEE ALSO.
2009-04-07 20:11:02 +00:00
Christian Brueffer 5794d21c2c Mdoc cleanup.
Prompted by:	man2hwnotes.pl
MFC after:	3 days
2009-04-07 20:00:20 +00:00
Christian Brueffer e7d6c4e74e Move an "end list" macro to the right place.
Found by:	man2hwnotes.pl
MFC after:	3 days
2009-04-07 19:53:36 +00:00
Weongyo Jeong fdda6436a7 do not cause a line break in the AUTHORS section.
Pointed by:	yongari
2009-04-07 04:12:34 +00:00
Dag-Erling Smørgrav 38fb1637a3 Fix ISO8859-15 links for nb_NO / no_NO.
Submitted by:	ru
MFC after:	1 week
2009-04-06 14:12:22 +00:00
Weongyo Jeong 54a6481fd1 connect uath.4 to the build. 2009-04-06 12:47:09 +00:00
Ed Schouten 439fd52c3c Regenerate src.conf.5. 2009-04-05 22:15:35 +00:00
Ed Schouten d2a0bb0803 Remove if_ppp(4) and if_sl(4).
Not only did these two drivers depend on IFF_NEEDSGIANT, they were
broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been
replaced by ppp(8). There is no replacement for if_sl(4).

If we see regressions in for example the ports tree, we should just use
__FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are
present. Version 800045 is used to denote the import of MPSAFE TTY.

Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the
                lists.
2009-04-05 22:08:18 +00:00
Weongyo Jeong dc60165b73 Add uath(4) wireless USB driver for Atheros AR5005UG and AR5005UX
chipsets.

Reviewed by:	sam
2009-04-04 11:23:00 +00:00