]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoNew errata notes: SCTP needs INET6, kldxref(8) warnings on source
bmah [Fri, 7 Mar 2008 16:32:42 +0000 (16:32 +0000)]
New errata notes:  SCTP needs INET6, kldxref(8) warnings on source
upgrade, device crypto problems on powerpc.

16 years agoMFC rev 1.162 umass.c
remko [Fri, 7 Mar 2008 15:54:41 +0000 (15:54 +0000)]
MFC rev 1.162 umass.c
MFC rev 1.338 usbdevs

  Add support for the VIA USB2IDE bridge [1].

  PR: usb/95173
  Submitted by: Goegele Hannes <diazepam@gmx.net>
  Ben Kelly <bkelly at vadev dot org>
  Tested by: blackend
  Approved by: imp (mentor, blanket for simple patches)
  X-MFC-After: 1 week

Approved by: imp (mentor, implicit)

16 years agoMFC rev 1.340 usbdevs
remko [Fri, 7 Mar 2008 15:26:41 +0000 (15:26 +0000)]
MFC rev 1.340 usbdevs
MFC rev 1.90 uscanner.c

  Add support for the EPSON CX5400 scanner

  PR: usb/120980
  Submitted by: Christophe Etcheverry <cetcheve at gmail dot com>
  MFC after: 3 days
  Approved by: imp (mentor, implicit for trivial changes)

Approved by: imp (mentor, implicit)

16 years agoMFC libfetch from HEAD to RELENG_7
remko [Fri, 7 Mar 2008 15:01:52 +0000 (15:01 +0000)]
MFC libfetch from HEAD to RELENG_7

Approved by: imp (mentor, implicit), DES
Glanced at by: des

16 years agoMFC rev 1.8 drm_pciids.h
remko [Fri, 7 Mar 2008 14:58:50 +0000 (14:58 +0000)]
MFC rev 1.8 drm_pciids.h

   Add support for the 965GM.

   PR:             kern/120978
   Submitted by:   Dominic Fandrey <kamikaze at bsdforen dot de>
   Approved by:    imp (mentor, implicit), anholt (drm maintainer)
   MFC after:      3 days

Approved by: imp (mentor, implicit)

16 years agoMFC:
scf [Thu, 6 Mar 2008 15:14:36 +0000 (15:14 +0000)]
MFC:
Replace the use of warnx() with direct output to stderr using _write().
This reduces the size of a statically-linked binary by approximately 100KB
in a trivial "return (0)" test application.  readelf -S was used to verify
that the .text section was reduced and that using strlen() saved a few
more bytes over using sizeof().  Since the section of code is only called
when environ is corrupt (program bug), I went with fewer bytes over fewer
cycles.

I made minor edits to the submitted patch to make the output resemble
warnx().

    src/lib/libc/stdlib/getenv.c: rev 1.12 -> 1.13

Submitted by: kib bz
Approved by: wes (mentor)

16 years agoMFH: 1.30
ghelmer [Thu, 6 Mar 2008 15:02:05 +0000 (15:02 +0000)]
MFH: 1.30

Fix truncation of lines at LINE_MAX characters by dynamically
extending line buffers.

PR: bin/76578

16 years agoMFC: rev. 1.32
mtm [Thu, 6 Mar 2008 14:13:11 +0000 (14:13 +0000)]
MFC: rev. 1.32
Add the -M command-line option, which will set home directory
permissions. Works both in interactive or batch mode. This is
a heavily modified version of the patch submitted in the PR.

PR: bin/105060

16 years agoMFC: rev. 1.17
brueffer [Thu, 6 Mar 2008 07:20:53 +0000 (07:20 +0000)]
MFC: rev. 1.17

The Sony i.LINK (CXD1947) is _not_ supported.

16 years agoMFC revision 1.269: Fix sending trailers in sendfile(2).
cperciva [Thu, 6 Mar 2008 05:41:45 +0000 (05:41 +0000)]
MFC revision 1.269: Fix sending trailers in sendfile(2).

16 years agoMFC revision 1.5
delphij [Thu, 6 Mar 2008 01:05:30 +0000 (01:05 +0000)]
MFC revision 1.5
date: 2008/02/16 00:16:49;  author: delphij;  state: Exp;  lines: +2 -1
Allow underscore in domain names while resolving.  While having underscore
is a violation of RFC 1034 [STD 13], it is accepted by certain name servers
as well as other popular operating systems' resolver library.

Bugs are mine.

Obtained from:  ume

16 years agoMFC: Make netstat -rn more resilient to having the routing table change out
jhb [Wed, 5 Mar 2008 21:19:25 +0000 (21:19 +0000)]
MFC: Make netstat -rn more resilient to having the routing table change out
from under it while running.

16 years agoMFC: Mark the syscons video spin mutex as recursable.
jhb [Wed, 5 Mar 2008 21:14:06 +0000 (21:14 +0000)]
MFC: Mark the syscons video spin mutex as recursable.

16 years agoMFC: Mark sleepqueue chain spin mutexes as recursable.
jhb [Wed, 5 Mar 2008 21:12:49 +0000 (21:12 +0000)]
MFC: Mark sleepqueue chain spin mutexes as recursable.

16 years agoMFC: Add a couple of assertions and KTR logging to thread_lock_flags().
jhb [Wed, 5 Mar 2008 21:11:54 +0000 (21:11 +0000)]
MFC: Add a couple of assertions and KTR logging to thread_lock_flags().

16 years agoMFC: Use RTFREE_LOCKED() instead of rtfree() when releasing a reference on
jhb [Wed, 5 Mar 2008 20:33:46 +0000 (20:33 +0000)]
MFC: Use RTFREE_LOCKED() instead of rtfree() when releasing a reference on
the 'rt' route in rtredirect().

16 years agoMFC: Consolidate the code to generate a new XID for a NFS request.
jhb [Wed, 5 Mar 2008 19:58:07 +0000 (19:58 +0000)]
MFC: Consolidate the code to generate a new XID for a NFS request.

16 years agoMFC rev. 1.63-1.68
mav [Tue, 4 Mar 2008 12:45:48 +0000 (12:45 +0000)]
MFC rev. 1.63-1.68
Document -instance and -globalport options.
Note that the punch_fw option does not work in securelevel 3.

16 years agoMFC:
piso [Tue, 4 Mar 2008 12:07:34 +0000 (12:07 +0000)]
MFC:

Add table/tablearg support to ipfw's nat.
Fix display of nat range.
Fix display of multiple nat rules.
Whitespace elimination.

sbin/ipfw/ipfw2.c: rev. 1.115, 1.116 and 1.117
sbin/ipfw/ipfw.8: rev. 1.210
sys/netinet/ip_fw2.c: rev. 1.181

16 years agoMFC: rev. 1.5
brueffer [Tue, 4 Mar 2008 06:09:13 +0000 (06:09 +0000)]
MFC: rev. 1.5

Move the HARDWARE section below the DESCRIPTION section, like it is
everywhere else.

16 years agoMFC: 1.51 - better recover from unknown encoding found
ache [Mon, 3 Mar 2008 11:51:30 +0000 (11:51 +0000)]
MFC: 1.51 - better recover from unknown encoding found
(not by core dump)

16 years agoMFC: rev 1.65.
akiyama [Sun, 2 Mar 2008 13:07:03 +0000 (13:07 +0000)]
MFC: rev 1.65.
o Add module event handler.
o Update copyright year.

16 years agoMFC r1.174:
philip [Sun, 2 Mar 2008 11:33:54 +0000 (11:33 +0000)]
MFC r1.174:

    Zero sc->vnode if mdsetcred() fails.

    This fixes the panic which happens when mdcreate_vnode() calls vn_close()
    and mddestroy() calls it again further down the error handling path.

16 years agoMFC: Note, as required by our agreement with IEEE/The Open Group, that
philip [Sat, 1 Mar 2008 16:17:30 +0000 (16:17 +0000)]
MFC: Note, as required by our agreement with IEEE/The Open Group, that
     the message queue manual pages excerpt the POSIX standard.

16 years agoMerge TODO:1.6 from HEAD to RELENG_7:
rwatson [Sat, 1 Mar 2008 15:43:00 +0000 (15:43 +0000)]
Merge TODO:1.6 from HEAD to RELENG_7:

  Add "Make MPSAFE" to the Coda todo list.

16 years agoMerge _bus.h:1.2 from HEAD to RELENG_7:
rwatson [Sat, 1 Mar 2008 15:42:23 +0000 (15:42 +0000)]
Merge _bus.h:1.2 from HEAD to RELENG_7:

  Remove errant % in license comment.

16 years agoMerge ixp425.c:1.9 from HEAD to RELENG_7:
rwatson [Sat, 1 Mar 2008 15:42:01 +0000 (15:42 +0000)]
Merge ixp425.c:1.9 from HEAD to RELENG_7:

  On the ixp425, when we fail to initialize the memory rman instance, the
  panic message should read "memory", not "IRQ".

16 years agoMerge uipc_sockbuf.c:1.176, uipc_socket.c:1.305, socketvar.h:1.162 from
rwatson [Sat, 1 Mar 2008 15:40:53 +0000 (15:40 +0000)]
Merge uipc_sockbuf.c:1.176, uipc_socket.c:1.305, socketvar.h:1.162 from
HEAD to RELENG_7:

  Further clean up sorflush:

  - Expose sbrelease_internal(), a variant of sbrelease() with no
    expectations about the validity of locks in the socket buffer.
  - Use sbrelease_internel() in sorflush(), and as a result avoid
    initializing and destroying a socket buffer lock for the temporary
    stack copy of the actual buffer, asb.
  - Add a comment indicating why we do what we do, and remove an XXX
    since things have gotten less ugly in sorflush() lately.

  This makes socket close cleaner, and possibly also marginally faster.

16 years agoMerge mac_mls.c:1.99 from HEAD to RELENG_7:
rwatson [Sat, 1 Mar 2008 11:55:11 +0000 (11:55 +0000)]
Merge mac_mls.c:1.99 from HEAD to RELENG_7:

  Properly return the error from mls_subject_privileged() in the ifnet
  relabel check for MLS rather than returning 0 directly.

  This problem didn't result in a vulnerability currently as the central
  implementation of ifnet relabeling also checks for UNIX privilege, and
  we currently don't guarantee containment for the root user in mac_mls,
  but we should be using the MLS definition of privilege as well as the
  UNIX definition in anticipation of supporting root containment at some
  point.

  Submitted by:   Zhouyi Zhou <zhouzhouyi at gmail dot com>
  Sponsored by:   Google SoC 2007

16 years agoMerge uipc_usrreq.c:1.212 from HEAD to RELENG_7:
rwatson [Sat, 1 Mar 2008 11:51:12 +0000 (11:51 +0000)]
Merge uipc_usrreq.c:1.212 from HEAD to RELENG_7:

  Remove "lock pushdown" todo item in comment -- I did that for 7.0.

16 years agoMerge uipc_usrreq.c:1.211 from HEAD to RELENG_7:
rwatson [Sat, 1 Mar 2008 11:50:45 +0000 (11:50 +0000)]
Merge uipc_usrreq.c:1.211 from HEAD to RELENG_7:

  Correct typos in comments.

16 years agoMerge tcp_usrreq.c:1.166 from HEAD to RELENG_7:
rwatson [Sat, 1 Mar 2008 11:50:00 +0000 (11:50 +0000)]
Merge tcp_usrreq.c:1.166 from HEAD to RELENG_7:

  In tcp_ctloutput(), don't hold the inpcb lock over sooptcopyin(), rather,
  drop the lock and then re-acquire it, revalidating TCP connection state
  assumptions when we do so.  This avoids a potential lock order reversal
  (and potential deadlock, although none have been reported) due to the
  inpcb lock being held over a page fault.

  PR:             102752
  Reviewed by:    bz
  Reported by:    Václav Haisman <v dot haisman at sh dot cvut dot cz>

16 years agoMerge netisr.h:1.34 from HEAD to RELENG_7:
rwatson [Sat, 1 Mar 2008 11:44:30 +0000 (11:44 +0000)]
Merge netisr.h:1.34 from HEAD to RELENG_7:

  Update netisr comment for the SMPng world order: netisr is no longer
  implemented using the ISR facility, and cannot be triggered by calling
  splnet()/splx().

16 years agoBreak up a long sentence to make more grammatical sense and be easier
bmah [Sat, 1 Mar 2008 04:10:20 +0000 (04:10 +0000)]
Break up a long sentence to make more grammatical sense and be easier
to read.

Problem pointed out by: ceri

16 years agoNew 7.0 post-release errata: tcpdump(1) TX/RX printing issue,
bmah [Fri, 29 Feb 2008 23:09:41 +0000 (23:09 +0000)]
New 7.0 post-release errata:  tcpdump(1) TX/RX printing issue,
Linuxulator mmap(2) issue, re(4) data corruption issue, TCP options
issue, page footer in release documentation, wrong KDE version number.

Reviewed by: kensmith
Submitted by: a cast of several

16 years agoSet release type entities consistently.
bmah [Fri, 29 Feb 2008 19:01:06 +0000 (19:01 +0000)]
Set release type entities consistently.

16 years agoMFC
kib [Fri, 29 Feb 2008 14:58:08 +0000 (14:58 +0000)]
MFC
rev. 1.3 of linux_misc.h,
rev. 1.217 of linux_misc.c:

Sanitize arguments to linux_mremap().
Check that only MREMAP_FIXED and MREMAP_MAYMOVE flags are specified.
Check for the page alignment of the addr argument.

16 years agoMFC 1.4: unbreak printing 802.11 tx/rx rates
sam [Thu, 28 Feb 2008 17:00:17 +0000 (17:00 +0000)]
MFC 1.4: unbreak printing 802.11 tx/rx rates

16 years agoMFC: rev 1.16: install as awk.
obrien [Thu, 28 Feb 2008 16:45:38 +0000 (16:45 +0000)]
MFC: rev 1.16: install as awk.

16 years agoMFC: rev. 1.25
brueffer [Thu, 28 Feb 2008 06:09:23 +0000 (06:09 +0000)]
MFC: rev. 1.25

Add missing words.

16 years agoPoint RELENG_7 users at stable@ rather than current@.
bmah [Thu, 28 Feb 2008 06:01:48 +0000 (06:01 +0000)]
Point RELENG_7 users at stable@ rather than current@.

Reminded by: cnst

16 years agoMFC:
scf [Thu, 28 Feb 2008 04:25:03 +0000 (04:25 +0000)]
MFC:
Add the groupmod '-d' option to pw to allow the deletion of existing users
from a group without the need to perform the same operation by replacing
the existing list via the '-M' option.  The '-M' option requires someone
to fetch the existing members with pw, deleting the undesired members from
the list and sending the altered list back to pw.

    src/usr.sbin/pw/pw.c: rev 1.32 -> 1.33
    src/usr.sbin/pw/pw_group.c: rev 1.15 -> 1.16
    src/usr.sbin/pw/pw.8: rev 1.42 -> 1.43

Approved by: wes (mentor)

16 years agoMFC:
scf [Thu, 28 Feb 2008 04:19:47 +0000 (04:19 +0000)]
MFC:
style(9) (verified no object changes)

    src/usr.sbin/pw/pw.c: rev 1.31 -> 1.32
    src/usr.sbin/pw/pw_group.c: rev 1.14 -> 1.15

Approved by: wes (mentor)

16 years ago7.0-RELEASE is announced, start calling RELENG_7 -STABLE.
kensmith [Wed, 27 Feb 2008 22:27:35 +0000 (22:27 +0000)]
7.0-RELEASE is announced, start calling RELENG_7 -STABLE.

16 years agoMFC rev 1.131 if_ti.c
remko [Tue, 26 Feb 2008 19:29:32 +0000 (19:29 +0000)]
MFC rev 1.131 if_ti.c

  Set the baudrate for if_ti.

  PR: kern/40516
  Submitted by: "Jin Guojun[VFF]" <jin at adsl-63-198-35-122 dot dsl dot snfc21 dot pacbell dot net>
  Approved by: imp (mentor, implicit for minor changes)
  MFC After: 1 week

Approved by: imp (mentor, implicit)

16 years ago- Fix patching error ... opps. (missing ;)
rrs [Tue, 26 Feb 2008 13:29:05 +0000 (13:29 +0000)]
- Fix patching error ... opps. (missing ;)

16 years agoMFC rev. 1.147
mav [Tue, 26 Feb 2008 12:40:06 +0000 (12:40 +0000)]
MFC rev. 1.147
Fix incorrect constant used in rev. 1.146 that broke node writer locking.

16 years ago- Fix a bug in the connect() routine. A ref count was incremented
rrs [Tue, 26 Feb 2008 11:33:12 +0000 (11:33 +0000)]
- Fix a bug in the connect() routine. A ref count was incremented
  in the wrong place, which could cause a incorrect accounting undre
  certain error conditions. And worse when we have a duplicate
  connect we called TCB_LOCK() not TCB_UNLOCK().... which will
  lead to a system lockup (escalting lock wait scenario).

16 years ago- For VRF enabled platforms, fix a memory leak when a VRF
rrs [Tue, 26 Feb 2008 11:31:12 +0000 (11:31 +0000)]
- For VRF enabled platforms, fix a memory leak when a VRF
  is deleted
Obtained from: snprasad@cisco.com

16 years agoPurge a stray #ifdef __NETBSD__ from the file.
rrs [Tue, 26 Feb 2008 11:30:10 +0000 (11:30 +0000)]
Purge a stray #ifdef __NETBSD__ from the file.

16 years agoMFC rev. 1.11: allow setkey(8) to recognize esp as a protocol
maxim [Tue, 26 Feb 2008 09:44:36 +0000 (09:44 +0000)]
MFC rev. 1.11: allow setkey(8) to recognize esp as a protocol
name for spdadd.

16 years agoMFC rev. 1.226: correct EasyMP3 EM732X usb 2.0 flash mp3 player revision.
maxim [Tue, 26 Feb 2008 09:38:09 +0000 (09:38 +0000)]
MFC rev. 1.226: correct EasyMP3 EM732X usb 2.0 flash mp3 player revision.

16 years agoMFC rev. 1.60: add Moxa Technologies CP-104EL PCI Express 4 port Serial card.
maxim [Tue, 26 Feb 2008 09:33:57 +0000 (09:33 +0000)]
MFC rev. 1.60: add Moxa Technologies CP-104EL PCI Express 4 port Serial card.

16 years agoMFC rev. 1.112: fix command line parser bug: "ipfw nat 1 config if"
maxim [Tue, 26 Feb 2008 09:31:13 +0000 (09:31 +0000)]
MFC rev. 1.112: fix command line parser bug: "ipfw nat 1 config if"
requires an argument.

16 years agoMFC: Mostly sync kgdb with HEAD including the following changes:
jhb [Mon, 25 Feb 2008 22:20:13 +0000 (22:20 +0000)]
MFC: Mostly sync kgdb with HEAD including the following changes:
- Add a new 'add-kld <kld>' command to locate a kld and load its symbols.
- If the quiet flag is specified, don't dump the unread portion of the
  message buffer on startup.
- Remove the warnx() from kgdb_lookup() and add it in callers where a
  failed lookup is warning worthy.
- Add a shared library backend for kernel files that treats klds as shared
  libraries and auto-load symbols for klds on startup.
- Build a section table from the kernel file so that 'info files' output
  looks sane.

16 years agoMFC 1.69: Create a thread to handle passive cooling for 1st zone
ume [Mon, 25 Feb 2008 15:34:46 +0000 (15:34 +0000)]
MFC 1.69: Create a thread to handle passive cooling for 1st zone
which has _PSV, _TSP, _TC1 and _TC2.

16 years agoMFC rev 1.11 100.chksetuid
remko [Sun, 24 Feb 2008 20:09:52 +0000 (20:09 +0000)]
MFC rev 1.11 100.chksetuid

  Eliminate xargs in favor of find -exec {} +

Requested by: ceri
Approved by: imp (mentor, implicit trivial changes)

16 years agoMFC rev. 1.35
mav [Sun, 24 Feb 2008 18:31:16 +0000 (18:31 +0000)]
MFC rev. 1.35
Fix shutdown bug made by previous commit.

16 years agoMFC rev 1.597 to 1.598 Makefile.inc1
remko [Sun, 24 Feb 2008 14:31:41 +0000 (14:31 +0000)]
MFC rev 1.597 to 1.598 Makefile.inc1

  rev 1.597
  Give usr.bin/kdump/kdump_subr.c the same treatment as usr.bin/kdump/ioctl.c
  and usr.bin/truss/ioctl.c.  This is the correct way to address the problem
  that arises when doing an incremental build after a header used by kdump
  has been removed (cf. i4b disconnect a while ago)

  Explained by: ru
  MFC after: 2 weeks

  rev 1.598
  Satisfy a particularly obstinate nit-picker :)

Approved by: imp (mentor, implicit for trivial changes), des
(I am doing several MFC's for him)

16 years agoMFC rev 1.10 100.chksetuid
remko [Sun, 24 Feb 2008 14:26:44 +0000 (14:26 +0000)]
MFC rev 1.10 100.chksetuid

  rev 1.10
  Rewrite to consume significantly less memory, by using find -s instead of
  find | sort.  As a bonus, this simplifies the logic considerably.  Also
  remove the bogus "overruning the args to ls" comment and the corresponding
  "-n 20" argument to xargs; the whole point with xargs is precisely that it
  knows how large the argument list can safely get.

  Note that the first run of the updated script may hypotheticall produce
  false positives due to differences between find's and sort's sorting
  algorithm.  I haven't seen this during testing, but others might.

  MFC after: 2 weeks

Approved by: imp (mentor, implicit for trivial changes), des
(doing some MFC's for him)

16 years agoMFC rev 1.12 to 1.14 for ichwd.c
remko [Sun, 24 Feb 2008 14:01:09 +0000 (14:01 +0000)]
MFC rev 1.12 to 1.14 for ichwd.c

  rev 1.12
  Tabify

  rev 1.13
  Add device IDs for the ICH9 family.

  PR: i386/119126
  Submitted by: Dan Lukes <dan@obluda.cz>
  MFC after: 1 week

  rev 1.14
  Add support for ICH8M.

  PR: kern/119351
  Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
  MFC after: 1 week

MFC rev 1.6 to 1.8 for ichwd.h

  rev 1.6
  Tabify.

  rev 1.7
  Add device IDs for the ICH9 family.

  PR: i386/119126
  Submitted by: Dan Lukes <dan@obluda.cz>
  MFC after: 1 week

  rev 1.8
  Add support for ICH8M.

  PR: kern/119351
  Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
  MFC after: 1 week

Approved by: imp (mentor, implicit for trivial changes), des
( I am doing some MFC's for him)

16 years agoSpeculate on the release date for FreeBSD 7.0.
kensmith [Sun, 24 Feb 2008 05:16:55 +0000 (05:16 +0000)]
Speculate on the release date for FreeBSD 7.0.

16 years agoMFC: Fix quoting for the dnsbl example -- m4 misparses quoted strings with
gshapiro [Sun, 24 Feb 2008 01:03:33 +0000 (01:03 +0000)]
MFC: Fix quoting for the dnsbl example -- m4 misparses quoted strings with
     commas due to our deconstruction of the line in cf/feature/dnsbl.m4.

     PR:             120038
     Submitted by:   mattijs vreeling

     Revision  Changes    Path
     1.36      +1 -1      src/etc/sendmail/freebsd.mc

16 years agoMFC: Use better examples (and comment them out for safety).
gshapiro [Sun, 24 Feb 2008 01:00:07 +0000 (01:00 +0000)]
MFC: Use better examples (and comment them out for safety).

     PR:             118837
     Submitted by:   Matthew Seaman

     Revision  Changes    Path
     1.4       +13 -6     src/etc/mail/access.sample

16 years agoMFC: rev. 1.4
brueffer [Thu, 21 Feb 2008 23:04:43 +0000 (23:04 +0000)]
MFC: rev. 1.4

Add some missing Xrefs to drivers.

16 years agoMFC r1.6
rpaulo [Wed, 20 Feb 2008 23:52:04 +0000 (23:52 +0000)]
MFC r1.6
 Don't attach to non Core CPUs. This is needed because on the PIII,
 querying the number of sensors returns > 0.

PR:             120541
Approved by:    njl (mentor)

16 years agoMFC r1.70
rpaulo [Wed, 20 Feb 2008 15:51:54 +0000 (15:51 +0000)]
MFC r1.70
 Skip validation of the C3 state if we disabled C3 by software (i.e.,
 via quirk).

Approved by: njl (mentor)

16 years agoMFC r1.68
rpaulo [Wed, 20 Feb 2008 15:49:50 +0000 (15:49 +0000)]
MFC r1.68
 Allow the user to override the current active cooling state if state
 is currently TZ_ACTIVE_NONE

Approved by:  njl (mentor)

16 years agoMFC rev 1.15 pf.conf.5
remko [Wed, 20 Feb 2008 10:45:03 +0000 (10:45 +0000)]
MFC rev 1.15 pf.conf.5

  MFOpenBSD rev 1.393 pf.conf.5

    do not describe `/' as solidus; from Allen (freebsd pr120484);

  PR: 120484
  Submitted by: Allen <alandsidel at 1001islington dot com>
  MFC After: 3 days

16 years agoMFC the following revisions:
rafan [Wed, 20 Feb 2008 01:39:04 +0000 (01:39 +0000)]
MFC the following revisions:

src/etc/defaults/rc.conf 1.323
src/etc/rc.firewall 1.54
src/share/man/man5/rc.conf.5 1.333 (by chinsan)

Original log:

  Improve kernel NAT support in rc.firewall

  - Allow IP in firewall_nat_interface, just like natd_interface
  - Allow additional configuration parameters passed to ipfw via
    firewall_nat_flags
  - Document firewall_nat_* in defaults/rc.conf

  Tested by:      Albert B. Wang <abwang at gmail.com>                            MFC after:      1 month

16 years agoBack out the update to 1.2 due to problems encountered during testing
kensmith [Tue, 19 Feb 2008 17:23:11 +0000 (17:23 +0000)]
Back out the update to 1.2 due to problems encountered during testing
of 7.0-RC2.

Reviewed by: rwatson
X-MFC-after: about 12 hours so we can proceed with 7.0-RELEASE.

16 years agoMFC: Properly advertise U320 transport capabilities to CAM.
gibbs [Mon, 18 Feb 2008 17:37:03 +0000 (17:37 +0000)]
MFC: Properly advertise U320 transport capabilities to CAM.
MFC: Quiet sense data logging behind AHD_DEBUG/AHD_SHOW_SENSE.

Approved by: scottl

16 years agoMFC version 1.3
dds [Mon, 18 Feb 2008 09:17:12 +0000 (09:17 +0000)]
MFC version 1.3
Fix collation order for accented characters.

16 years agoMerge priv.h:1.18 from HEAD to RELENG_7:
rwatson [Sat, 16 Feb 2008 16:31:32 +0000 (16:31 +0000)]
Merge priv.h:1.18 from HEAD to RELENG_7:

  Introduce a new privilege allowing to set certain IP header options
  (hop-by-hop, routing headers).

  Leave a few comments to be addressed later.

(Note: This does not MFC the use of the privilege, only the definition of
the privilege.)

16 years agoMFC rev. 1.50:
markus [Sat, 16 Feb 2008 16:21:17 +0000 (16:21 +0000)]
MFC rev. 1.50:

  Fix calculation of descriptor tag checksums. According to ECMA-167, Part 4,
  7.2.3, bytes 0-3 and 5-15 are used to calculate the checksum of a descriptor
  tag.

Approved by: emax (mentor)

16 years agoMFC: AMD 6.1.5, awk 20071023, OpenPAM Hydrangea.
bmah [Sat, 16 Feb 2008 15:56:43 +0000 (15:56 +0000)]
MFC:  AMD 6.1.5, awk 20071023, OpenPAM Hydrangea.

Remove definition and use of &merged; marker...we don't use this on
STABLE branches.

16 years agoMFC 1.66: Add sysctl mibs for _TSP, _TC1 and _TC2 which is user
ume [Sat, 16 Feb 2008 12:45:26 +0000 (12:45 +0000)]
MFC 1.66: Add sysctl mibs for _TSP, _TC1 and _TC2 which is user
overridable but is blocked on user_override mib.
Not a few people want to use a passive cooling without their ACPI
BIOS support.

16 years agoMerge priv.h:1.19 from HEAD to RELENG_7:
rwatson [Sat, 16 Feb 2008 12:02:30 +0000 (12:02 +0000)]
Merge priv.h:1.19 from HEAD to RELENG_7:

  Add privilege PRIV_NNPFS_DEBUG for use with Arla/nnpfs.  This privilege
  will authorize debugging system calls.

(Slightly sooner than the 1 month MFC time I specified, but it's just a
privilege definition, not a use of the privilege).

16 years agoMerge priv.h:1.17 from HEAD to RELENG_7:
rwatson [Sat, 16 Feb 2008 11:59:56 +0000 (11:59 +0000)]
Merge priv.h:1.17 from HEAD to RELENG_7:

  Add a new privilage category for DDB(4), and add PRIV_DDB_CAPTURE to
  control access to the DDB capture buffer.

16 years agoMerge priv.h:1.16 from HEAD to RELENG_7:
rwatson [Sat, 16 Feb 2008 11:59:23 +0000 (11:59 +0000)]
Merge priv.h:1.16 from HEAD to RELENG_7:

  date: 2007/10/21 22:50:11;  author: rwatson;  state: Exp;  lines: +1 -0
  Add PRIV_VFS_STAT privilege, which will allow overriding policy limits on
  the right to stat() a file, such as in mac_bsdextended.

  Obtained from:  TrustedBSD Project

16 years agoMFC: rev. 1.3
brueffer [Sat, 16 Feb 2008 09:00:02 +0000 (09:00 +0000)]
MFC: rev. 1.3

The hptrr driver first appeared in 6.3, not 5.3.

16 years agoMFC rev 1.96
rafan [Sat, 16 Feb 2008 05:36:22 +0000 (05:36 +0000)]
MFC rev 1.96

- Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove
  the one links to curs_terminfo.

Submitted by:   David Naylor <blackdragon at highveldmail.co.za>

16 years agoMFC: Fix a typo when testing for the NO_C3 quirk.
jhb [Fri, 15 Feb 2008 17:05:39 +0000 (17:05 +0000)]
MFC: Fix a typo when testing for the NO_C3 quirk.

16 years agoMFC: Turn most ffs 'DIAGNOSTIC's into INVARIANTS.
obrien [Fri, 15 Feb 2008 16:43:03 +0000 (16:43 +0000)]
MFC: Turn most ffs 'DIAGNOSTIC's into INVARIANTS.

16 years agoMFC rev.1.13: Use case-insensitive comparisons for HTTP header keywords.
cperciva [Fri, 15 Feb 2008 16:16:21 +0000 (16:16 +0000)]
MFC rev.1.13: Use case-insensitive comparisons for HTTP header keywords.

16 years agoMFC: rev. 1.325
brueffer [Fri, 15 Feb 2008 10:29:40 +0000 (10:29 +0000)]
MFC: rev. 1.325

Remove dublicate MLINK.

16 years agoMFC:
kevlo [Fri, 15 Feb 2008 05:29:18 +0000 (05:29 +0000)]
MFC:
- sys/dev/usb/usbdevs (revision 1.337)
- sys/dev/usb/if_rum.c (revision 1.16)

Add the SparkLAN RT2573, found in HP s3200n

Obtained from: OpenBSD

16 years agoMFC: 1.87
marius [Thu, 14 Feb 2008 21:24:43 +0000 (21:24 +0000)]
MFC: 1.87

Change another argument and a variable both related to netname() to
be also 32-bit on all archs.

16 years agoMFC: rev. 1.26
brueffer [Thu, 14 Feb 2008 20:20:06 +0000 (20:20 +0000)]
MFC: rev. 1.26

Add missing \n.

Approved by: rwatson (mentor), aradford@amcc.com

16 years agoInsta MFC: machdep.c:1.230, pmap.c:1.197
marcel [Thu, 14 Feb 2008 19:15:46 +0000 (19:15 +0000)]
Insta MFC: machdep.c:1.230, pmap.c:1.197

On Montecito processors, the instruction cache is in fact not
coherent with the data caches. Implement a quick fix to allow
us to boot on Montecito, while I'm working on a better fix in
the mean time.

Commit made on Montecito-based Itanium...

16 years agoMFC: sys/amd64/linux32/linux32_machdep.c 1.46
jkim [Thu, 14 Feb 2008 18:41:00 +0000 (18:41 +0000)]
MFC: sys/amd64/linux32/linux32_machdep.c 1.46
sys/i386/linux/linux_machdep.c 1.80

Fix Linux mmap with MAP_GROWSDOWN flag.

16 years agoMFC: Merge the MSI-X, "multi-slice" version of the mxge driver
gallatin [Thu, 14 Feb 2008 18:33:50 +0000 (18:33 +0000)]
MFC: Merge the MSI-X, "multi-slice" version of the mxge driver
and firmware.

16 years agoMFC: share/man/man4/ciss.4:1.15, sys/dev/ciss/ciss.c:1.87
iwasaki [Thu, 14 Feb 2008 17:01:32 +0000 (17:01 +0000)]
MFC: share/man/man4/ciss.4:1.15, sys/dev/ciss/ciss.c:1.87

Add `hw.ciss.nop_message_heartbeat' tunable (default disabled) for
NOP-message polling in ciss_periodic().
Note that setting the tunable to non-zero can be workaround only for
`ADAPTER HEARTBEAT FAILED' problem, and may freeze the system w/o
the problem.

16 years agoFix sendfile(2) write-only file permission bypass.
simon [Thu, 14 Feb 2008 11:46:08 +0000 (11:46 +0000)]
Fix sendfile(2) write-only file permission bypass.

Security: FreeBSD-SA-08:03.sendfile

16 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_7'.
cvs2svn [Wed, 13 Feb 2008 21:58:48 +0000 (21:58 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_7'.

16 years agoMFC 1.108 and 1.109: Sync filesystem types with NetBSD and add a type for
jhb [Wed, 13 Feb 2008 15:23:31 +0000 (15:23 +0000)]
MFC 1.108 and 1.109: Sync filesystem types with NetBSD and add a type for
ZFS.

This should fix the build of gpt(8).

Pointy hat: jhb

16 years agoMFC: Add ZFS support.
jhb [Tue, 12 Feb 2008 20:27:33 +0000 (20:27 +0000)]
MFC: Add ZFS support.

16 years agoMFC: Use cpu_spinwait() in DELAY().
jhb [Tue, 12 Feb 2008 20:22:29 +0000 (20:22 +0000)]
MFC: Use cpu_spinwait() in DELAY().

16 years agoMFC: Relax the check for a PCI-express chipset.
jhb [Tue, 12 Feb 2008 20:21:35 +0000 (20:21 +0000)]
MFC: Relax the check for a PCI-express chipset.

16 years agoMFC: Add a note pointing to build(7) for more info.
jhb [Tue, 12 Feb 2008 20:19:34 +0000 (20:19 +0000)]
MFC: Add a note pointing to build(7) for more info.