]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
14 years agoMFC r200796:
trasz [Sun, 18 Apr 2010 19:21:08 +0000 (19:21 +0000)]
MFC r200796:

Implement NFSv4 ACL support for UFS.

Reviewed by: rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@206804 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197867:
trasz [Sun, 18 Apr 2010 16:37:38 +0000 (16:37 +0000)]
MFC r197867:

Properly mark ZFS properties which are not changeable under FreeBSD.

Reviewed by: pjd

git-svn-id: svn://svn.freebsd.org/base/stable/8@206800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197859:
trasz [Sun, 18 Apr 2010 16:36:38 +0000 (16:36 +0000)]
MFC r197859:

'aclmode' and 'aclinherit' properties should work as advertised; don't
refuse to set them.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206799 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201118:
trasz [Sun, 18 Apr 2010 10:42:42 +0000 (10:42 +0000)]
MFC r201118:

Bump manual page dates.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206791 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201114:
trasz [Sun, 18 Apr 2010 10:38:17 +0000 (10:38 +0000)]
MFC r201114:

Add references to termios-related stuff.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206790 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201115:
trasz [Sun, 18 Apr 2010 10:36:49 +0000 (10:36 +0000)]
MFC r201115:

Line discipline support is gone; update tty(4) manual page to reflect this.

Reviewed by: ed

git-svn-id: svn://svn.freebsd.org/base/stable/8@206789 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205846:
trasz [Sun, 18 Apr 2010 10:29:26 +0000 (10:29 +0000)]
MFC r205846:

Fix references.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206788 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206671:
kib [Sun, 18 Apr 2010 04:35:16 +0000 (04:35 +0000)]
MFC r206671:
Fix typo.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206786 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206156, r206159, r206163: services_mkdb; generate db file
ume [Sun, 18 Apr 2010 04:15:21 +0000 (04:15 +0000)]
MFC r206156, r206159, r206163: services_mkdb; generate db file
from services(5) to increase speed of getserv*()

git-svn-id: svn://svn.freebsd.org/base/stable/8@206785 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206155, r206267: Add capability to use a db version of
ume [Sun, 18 Apr 2010 04:07:32 +0000 (04:07 +0000)]
MFC r206155, r206267: Add capability to use a db version of
services.  It is enabled by specifying `db' as source of
services in /etc/nsswitch.conf.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206784 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC ir206152, r206153, r206154:
ume [Sun, 18 Apr 2010 03:52:41 +0000 (03:52 +0000)]
MFC ir206152, r206153, r206154:
- Stop adding trailing '\n'.  The servent_unpack() doesn't expect
  lines terminated with '\n'.
- Treat '+' as special only when in compat mode, and simplify
  the logic bit.
- Reduce duplicate code.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206783 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoRemap COMPAT_IA32 to COMPAT_FREEBSD32 to ease the transition of this
imp [Sun, 18 Apr 2010 01:15:47 +0000 (01:15 +0000)]
Remap COMPAT_IA32 to COMPAT_FREEBSD32 to ease the transition of this
option and not break 8.0 config files later in the 8.x branch.

# Yes, this is a direct commit, since this is not relevant to head.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206782 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206664:
imp [Sun, 18 Apr 2010 00:57:30 +0000 (00:57 +0000)]
MFC r206664:
  Allow option aliasing.  Lines of the form:

  OLD_OPT = NEW_OPT

  in options* files will now map OLD_OPT to NEW_OPT with a friendly
  message.  This is indented for situations where we need to preserve an
  interface in the config file in an upwards compatible fashion on a
  stable branch.

  Reviewed by: nwhitehorn@
  MFC after: 3 days

git-svn-id: svn://svn.freebsd.org/base/stable/8@206781 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205140:
weongyo [Sat, 17 Apr 2010 23:48:07 +0000 (23:48 +0000)]
MFC r205140:
  fixes a broken software beacon miss handler.  There is a race to check
  vap->iv_bmiss_count == 0 in ieee80211_swbmiss because iv_swbmiss_task
  is enqueued by taskqueue.

  Reviewed by:  rpaulo

git-svn-id: svn://svn.freebsd.org/base/stable/8@206780 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202610:
weongyo [Sat, 17 Apr 2010 23:14:06 +0000 (23:14 +0000)]
MFC r202610:
  adds a hardware specific configuration file for uath(4).

  Pointed by:   sam
  Reviewed by:  imp, thompsa

git-svn-id: svn://svn.freebsd.org/base/stable/8@206779 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202607:
weongyo [Sat, 17 Apr 2010 23:04:42 +0000 (23:04 +0000)]
MFC r202607:
  Fixes a firmware bug that in some devices (e.g. Netgear WG111T or
  TRENDnet TEW-504UB/EU) idProduct didn't be decreased after loading the
  firmware.

  Pointed by: Steven Friedrich <freebsd at insightbb.com>
  Submitted by: sam

git-svn-id: svn://svn.freebsd.org/base/stable/8@206777 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198195:
weongyo [Sat, 17 Apr 2010 22:57:07 +0000 (22:57 +0000)]
MFC r198195:
  adds devices supportted by urtw(4) and bumps date.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206776 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197724:
weongyo [Sat, 17 Apr 2010 22:52:33 +0000 (22:52 +0000)]
MFC r197724:
  TRENDnet TEW-424UB has multiple revisions so clarify zyd(4) man page and
  adds a device to urtw(4).  The revision informations are as follows:

      rev A       ZD1211
      V2          SiS163U
      V2.1R       SiS163U
      V3.xR       RTL8187B

  and bump date.

  Obtained from: OpenBSD
  Reported by: Albert Shih <Albert.Shih at obspm.fr>

git-svn-id: svn://svn.freebsd.org/base/stable/8@206775 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206456:
rpaulo [Sat, 17 Apr 2010 17:40:12 +0000 (17:40 +0000)]
MFC r206456:
 Honor the CE bit even when the CWR bit is set.

 PR: 145600
 Submitted by: Richard Scheffenegger <rs at netapp.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@206762 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206130: g_vfs_open: allow only one mount per device vnode
avg [Sat, 17 Apr 2010 11:57:41 +0000 (11:57 +0000)]
MFC r206130: g_vfs_open: allow only one mount per device vnode

git-svn-id: svn://svn.freebsd.org/base/stable/8@206756 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206129: vn_stat: use va_blocksize when setting st_blksize
avg [Sat, 17 Apr 2010 11:25:30 +0000 (11:25 +0000)]
MFC r206129: vn_stat: use va_blocksize when setting st_blksize

git-svn-id: svn://svn.freebsd.org/base/stable/8@206753 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205860,206097: correctly set b_offset for getblk(devvp)
avg [Sat, 17 Apr 2010 11:06:42 +0000 (11:06 +0000)]
MFC r205860,206097: correctly set b_offset for getblk(devvp)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206751 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206623:
kib [Sat, 17 Apr 2010 09:37:08 +0000 (09:37 +0000)]
MFC r206623:
ld_gs_base is executing with stack containing only the frame,
temporary pushed %rflags has been popped already.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206748 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206557: Nuke the descriptions about ipv6_firewall_* as they
ume [Sat, 17 Apr 2010 04:54:38 +0000 (04:54 +0000)]
MFC r206557: Nuke the descriptions about ipv6_firewall_* as they
were unified into firewall_*.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206745 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 206281
rrs [Sat, 17 Apr 2010 04:19:18 +0000 (04:19 +0000)]
MFC of  206281

Final MFC of all the IETF hack a-thon.. head and stable are
now in sync ;-)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206744 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 206151
rrs [Sat, 17 Apr 2010 04:17:17 +0000 (04:17 +0000)]
MFC of  206151

git-svn-id: svn://svn.freebsd.org/base/stable/8@206743 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 206137
rrs [Sat, 17 Apr 2010 04:15:46 +0000 (04:15 +0000)]
MFC of 206137

This is Part III of the great IETF hack-a-thon to fix
the NR-Sack code. (the last one on the cpu options
was a lull.. i.e MFC 205629).. still 2 more to go.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206742 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 205629
rrs [Sat, 17 Apr 2010 04:13:52 +0000 (04:13 +0000)]
MFC of 205629

Adds the option of seperating out the sctp stats per
processor. This will be refined further and is definetly
exploratory (which is why its an option) i.e. making it
allocate the actual number of processors is coming ;-D.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206741 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 205628
rrs [Sat, 17 Apr 2010 04:11:45 +0000 (04:11 +0000)]
MFC of 205628

Out goes the nr_mapping_array expand.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206740 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 205627
rrs [Sat, 17 Apr 2010 04:10:29 +0000 (04:10 +0000)]
MFC of 205627

Part II (more to follow) of the great IETF hack-a-thon to
fix the NR-Sack code.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206739 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 204141
rrs [Sat, 17 Apr 2010 04:08:51 +0000 (04:08 +0000)]
MFC of 204141

Cleans up so we can have a vtag reflected argument.
One of Michaels fixes ;-)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206738 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 204096
rrs [Sat, 17 Apr 2010 04:06:40 +0000 (04:06 +0000)]
MFC of 204096

One of Michaels changes to fix some sign issues and
some minor locking.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFD 204040
rrs [Sat, 17 Apr 2010 04:02:27 +0000 (04:02 +0000)]
MFD 204040

Fixes some argument calsl (u_long vs uint32_t).

git-svn-id: svn://svn.freebsd.org/base/stable/8@206735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 203847
rrs [Sat, 17 Apr 2010 04:00:57 +0000 (04:00 +0000)]
MFC of 203847

Puts in missing packed declarations (from Michael). It worked
only because it was properly aligned anyway ;-)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206734 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 203503
rrs [Sat, 17 Apr 2010 03:58:56 +0000 (03:58 +0000)]
MFC of  203503

A fix to how the checksum code works that Michael put in.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 202782
rrs [Sat, 17 Apr 2010 03:57:16 +0000 (03:57 +0000)]
MFC of 202782

Michaels changes that took out [0] -> for []

git-svn-id: svn://svn.freebsd.org/base/stable/8@206732 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 202526
rrs [Sat, 17 Apr 2010 03:55:49 +0000 (03:55 +0000)]
MFC of 202526

The first round of some of Michael's changes to
get the sack processing in better shape.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206731 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 205502
rrs [Sat, 17 Apr 2010 03:53:44 +0000 (03:53 +0000)]
MFC of 205502

The firste of Michael and my long fight at the IETF to
get the NR sack code fixed and aligned.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206730 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 202523
rrs [Sat, 17 Apr 2010 03:51:13 +0000 (03:51 +0000)]
MFC of  202523

This fixes a closing race condition that is unlikely
to ever happen.. but good to fix ;-)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206729 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 202521
rrs [Sat, 17 Apr 2010 03:49:21 +0000 (03:49 +0000)]
MFC 202521

More stray ifdef's that had worked their way into the
code base somehow (yes thats ifdef Windows going out.. our
stack runs on windows .. big thanks for that goes to
Kozuka-san and Bruce Cran ;-D)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 202520
rrs [Sat, 17 Apr 2010 03:47:04 +0000 (03:47 +0000)]
MFC of 202520

This aligns us to the socket api of the stream
reset with proper naming.. and a define for backward
compatibility.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206727 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 202518
rrs [Sat, 17 Apr 2010 03:44:28 +0000 (03:44 +0000)]
MFC of 202518
More ifdefs that should not be present...

git-svn-id: svn://svn.freebsd.org/base/stable/8@206726 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 202517
rrs [Sat, 17 Apr 2010 03:43:02 +0000 (03:43 +0000)]
MFC of 202517

Again gets rid of some rather strange ifdef's for
APPLE/USERSPACE that drifted in through our scrubber
programs.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206725 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 202516
rrs [Sat, 17 Apr 2010 03:40:48 +0000 (03:40 +0000)]
MFC 202516

This gets rid of some stray #ifdef APPLE that drifted in
some how.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206724 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMerge of SVN 196507.
rrs [Sat, 17 Apr 2010 03:38:26 +0000 (03:38 +0000)]
Merge of SVN 196507.

This optimizes the sack handling a bit and
restructures it so its much more readable ;-)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206723 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC bug fixes to em and igb from HEAD.
jfv [Fri, 16 Apr 2010 17:27:20 +0000 (17:27 +0000)]
MFC bug fixes to em and igb from HEAD.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206707 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206089, r206684:
fabient [Fri, 16 Apr 2010 15:45:09 +0000 (15:45 +0000)]
MFC r206089, r206684:

- Support for uncore counting events: one fixed PMC with the uncore
   domain clock, 8 programmable PMC.
- Westmere based CPU (Xeon 5600, Corei7 980X) support.
- New man pages with events list for core and uncore.
- Updated Corei7 events with Intel 253669-033US December 2009 doc.
  There is some removed events in the documentation, they have been
  kept in the code but documented in the man page as obsolete.
- Offcore response events can be setup with rsp token.

Sponsored by: NETASQ

git-svn-id: svn://svn.freebsd.org/base/stable/8@206702 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206089, r206684:
fabient [Fri, 16 Apr 2010 15:43:24 +0000 (15:43 +0000)]
MFC r206089, r206684:

- Support for uncore counting events: one fixed PMC with the uncore
   domain clock, 8 programmable PMC.
- Westmere based CPU (Xeon 5600, Corei7 980X) support.
- New man pages with events list for core and uncore.
- Updated Corei7 events with Intel 253669-033US December 2009 doc.
  There is some removed events in the documentation, they have been
  kept in the code but documented in the man page as obsolete.
- Offcore response events can be setup with rsp token.

Sponsored by: NETASQ

git-svn-id: svn://svn.freebsd.org/base/stable/8@206701 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206420:
rpaulo [Fri, 16 Apr 2010 09:08:19 +0000 (09:08 +0000)]
MFC r206420:
 Setup the correct RX/TX chainmask when we play with the antenna
 settings.

Sponsored by: iXsystems, inc

git-svn-id: svn://svn.freebsd.org/base/stable/8@206700 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206546:
kib [Fri, 16 Apr 2010 08:32:08 +0000 (08:32 +0000)]
MFC r206546:
Remove XXX comment. Add another comment, describing why f_vnode assignment
is useful.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206699 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r206063
rmacklem [Fri, 16 Apr 2010 02:16:58 +0000 (02:16 +0000)]
MFC: r206063
For the experimental NFS server, add a call to free the lookup
path buffer for one case where it was missing when doing mkdir.
This could have conceivably resulted in a leak of a buffer, but
a leak was never observed during testing, so I suspect it would
have occurred rarely, if ever, in practice.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206694 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206595
kevlo [Fri, 16 Apr 2010 01:54:47 +0000 (01:54 +0000)]
MFC r206595

Eliminate duplicate comment

git-svn-id: svn://svn.freebsd.org/base/stable/8@206693 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206544
kevlo [Fri, 16 Apr 2010 01:53:19 +0000 (01:53 +0000)]
MFC r206544

The Quanta Q101 modem has a different type of cdrom driver disk,
add the product id and use a standard scsi eject.

Reviewed by: thompsa

git-svn-id: svn://svn.freebsd.org/base/stable/8@206692 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r206061
rmacklem [Fri, 16 Apr 2010 01:39:30 +0000 (01:39 +0000)]
MFC: r206061
Add SAVENAME to the cn_flags for all cases in the experimental
NFS server for the CREATE cn_nameiop where SAVESTART isn't set.
I was not aware that this needed to be done by the caller until
recently.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206691 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206268
yongari [Thu, 15 Apr 2010 19:29:56 +0000 (19:29 +0000)]
MFC r206268
  - Fixed 5708S 2.5G support broken in last commit.
  - Added some new debug helper routines to systcl.
  - Fixed many of the style(9) violations that have crept into the code
    due to my use of a "smart" editor.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206682 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205300:
yongari [Thu, 15 Apr 2010 19:26:28 +0000 (19:26 +0000)]
MFC r205300:
  - Added support for 5709S/5716S PHYs.
  - Update copyright to 2010.
  - Add new debug code for RV2P block.
  - Improve output formatting for various debug functions.

  PR: kern/134658, kern/136417, kern/139761, kern/140970

git-svn-id: svn://svn.freebsd.org/base/stable/8@206680 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205299:
yongari [Thu, 15 Apr 2010 19:19:59 +0000 (19:19 +0000)]
MFC r205299:
  - Added support for 5709S/5716S PHYs.

  Submitted by: pyunyh
  PR: kern/134658, kern/136417, kern/139761, kern/140970

git-svn-id: svn://svn.freebsd.org/base/stable/8@206678 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206021, r206032, r206049, r206050:
mav [Thu, 15 Apr 2010 12:46:16 +0000 (12:46 +0000)]
MFC r206021, r206032, r206049, r206050:
Remove some more alignment constraints.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206661 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206017:
mav [Thu, 15 Apr 2010 12:41:36 +0000 (12:41 +0000)]
MFC r206017:
Make ng_ksocket fulfill lower protocol stack layers alignment requirements
on platforms with strict alignment constraints.
This fixes kernel panics on arm and probably other architectures.

PR:             sparc64/80410, sparc/118932, sparc/113556

git-svn-id: svn://svn.freebsd.org/base/stable/8@206660 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206015:
mav [Thu, 15 Apr 2010 12:40:02 +0000 (12:40 +0000)]
MFC r206015:
Make ng_l2tp irrelevant to data alignment.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206658 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoNFC r206000:
mav [Thu, 15 Apr 2010 12:38:55 +0000 (12:38 +0000)]
NFC r206000:
Make ng_ppp fulfill upper protocol stack layers alignment requirements
on platforms with strict alignment constraints.
This fixes kernel panics on arm and probably other architectures.

PR:             sparc64/80410, sparc/118932, sparc/113556

git-svn-id: svn://svn.freebsd.org/base/stable/8@206657 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206053, r206054:
mav [Thu, 15 Apr 2010 12:30:46 +0000 (12:30 +0000)]
MFC r206053, r206054:
Fill extended ATA command registers in cPRD to support 48bit commands.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206656 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205967:
mav [Thu, 15 Apr 2010 12:26:24 +0000 (12:26 +0000)]
MFC r205967:
Include opt_ata.h, as some structures here depending on ATA_CAM option.
This fixes ATA_CAM with atamvsata and probably some other drivers.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206655 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205680:
mav [Thu, 15 Apr 2010 12:20:13 +0000 (12:20 +0000)]
MFC r205680:
Use last 16 bytes of serial number in metadata instead of first ones,
same as Intel MatrixRAID does.

PR:             kern/124064

git-svn-id: svn://svn.freebsd.org/base/stable/8@206653 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206397:
kib [Thu, 15 Apr 2010 08:20:57 +0000 (08:20 +0000)]
MFC r206397:
Enhance r199804 by marking the daemonised child as immune to OOM instead
of short-living parent. Only mark the master process that accepts
connections, do not protect connection handlers spawned from inetd.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206647 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206395:
kib [Thu, 15 Apr 2010 08:17:28 +0000 (08:17 +0000)]
MFC r206395:
Do not leak master pty or ptmx vnode.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206646 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205200 + r206199
delphij [Thu, 15 Apr 2010 01:25:17 +0000 (01:25 +0000)]
MFC r205200 + r206199

Merge OpenSolaris revision 9396:f41cf682d0d3:

6830813 zfs list -t all fails assertion

*Note that this is only a partial merge of this revision addressing only
this one issue.*

PR: bin/144720
Submitted by: mm

git-svn-id: svn://svn.freebsd.org/base/stable/8@206642 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205199:
delphij [Thu, 15 Apr 2010 01:22:38 +0000 (01:22 +0000)]
MFC r205199:

Merge OpenSolaris revision 9365:7838a22eccd6:

PSARC/2009/171 zfs list -d and zfs get -d
6762432 zfs list --depth

PR: bin/144720
Submitted by: mm

git-svn-id: svn://svn.freebsd.org/base/stable/8@206641 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205198:
delphij [Thu, 15 Apr 2010 01:20:30 +0000 (01:20 +0000)]
MFC r205198:

Merge OpenSolaris revision 8802:010b31dd4c53:

6773366 "zfs list" memory consumption can be further reduced

PR: bin/144720
Submitted by: mm

git-svn-id: svn://svn.freebsd.org/base/stable/8@206640 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 205900:
jhb [Wed, 14 Apr 2010 17:17:06 +0000 (17:17 +0000)]
MFC 205900:
Use panic() (which the environment is required to provide to libstand) to
implement assert() instead of relying on a non-required exit().  The exit()
invocation also did not match the semantics of the exit() routine that
current boot environments happen to require.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206611 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 204214:
gibbs [Wed, 14 Apr 2010 17:01:29 +0000 (17:01 +0000)]
MFC 204214:
Enforce stronger bus-dma alignment semantics so bus-dma operates correctly
with Xen's blkfront driver.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206610 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC revision 205781:
gibbs [Wed, 14 Apr 2010 16:37:34 +0000 (16:37 +0000)]
MFC revision 205781:
Use standard types in preference to BSD types so that these header files
can be used in applications compiled with only POSIX types visible.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206409
alc [Wed, 14 Apr 2010 16:31:59 +0000 (16:31 +0000)]
MFC r206409
  Introduce the function kmem_alloc_attr(), which allocates kernel virtual
  memory with the specified physical attributes.

  Correct an error in the prototype for kmem_malloc().

git-svn-id: svn://svn.freebsd.org/base/stable/8@206607 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 205886:
jhb [Wed, 14 Apr 2010 15:33:15 +0000 (15:33 +0000)]
MFC 205886:
Defer freeing a kevent list until after dropping kqueue locks.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206605 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 205536:
jhb [Wed, 14 Apr 2010 15:22:58 +0000 (15:22 +0000)]
MFC 205536:
Reject attempts to create a MAP_ANON mapping with a non-zero offset.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206602 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206399, r206479: Disambiguate `IPs' to a more specific term.
ume [Wed, 14 Apr 2010 15:03:58 +0000 (15:03 +0000)]
MFC r206399, r206479: Disambiguate `IPs' to a more specific term.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206600 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 205851:
jhb [Wed, 14 Apr 2010 15:00:46 +0000 (15:00 +0000)]
MFC 205851:
Add a handler for the local APIC error interrupt.  For now it just prints
out the current value of the local APIC error register when the interrupt
fires.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206598 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r205941
rmacklem [Wed, 14 Apr 2010 03:13:02 +0000 (03:13 +0000)]
MFC: r205941
This patch should fix handling of byte range locks locally
on the server for the experimental nfs server. When enabled
by setting vfs.newnfs.locallocks_enable to non-zero, the
experimental nfs server will now acquire byte range locks
on the file on behalf of NFSv4 clients, such that lock
conflicts between the NFSv4 clients and processes running
locally on the server, will be recognized and handled correctly.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206585 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206436:
yongari [Wed, 14 Apr 2010 01:22:33 +0000 (01:22 +0000)]
MFC r206436:
  Consistently use capital letters.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206579 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206433:
yongari [Wed, 14 Apr 2010 01:12:24 +0000 (01:12 +0000)]
MFC r206433:
  Add preliminary support for 8168E/8111E PCIe controller.
  While I'm here simplify device description string.

  Tested by: Michael Beckmann < michael <> apfel dot de >

git-svn-id: svn://svn.freebsd.org/base/stable/8@206577 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206364:
yongari [Wed, 14 Apr 2010 00:50:18 +0000 (00:50 +0000)]
MFC r206364:
  Partial revert r204545.
  Just relying on status LE ownership of status block seems to cause
  poor performance. Always read current status index register first
  and then check status ownership as we had before. Accessing status
  index register seems to trigger immediate status update if
  controller have pending status updates.

  Reported by: Andre Albsmeier <Andre.Albsmeier <> siemens dot com>
  Tested by: Andre Albsmeier <Andre.Albsmeier <> siemens dot com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@206575 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205995:
dougb [Tue, 13 Apr 2010 20:44:16 +0000 (20:44 +0000)]
MFC r205995:

Massive cleanup and synchronization with other *BSDs

git-svn-id: svn://svn.freebsd.org/base/stable/8@206566 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206248:
dougb [Tue, 13 Apr 2010 20:36:54 +0000 (20:36 +0000)]
MFC r206248:

Change where we nap so that if pwait(1) returns but kill -0 still sees
a zombie we don't print an endless string of the same pid number until
the zombie exits.

While I'm here, local'ize the variables that this function uses.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206565 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoPull mergeinfo from r201203 up into the etc directory
dougb [Tue, 13 Apr 2010 20:33:34 +0000 (20:33 +0000)]
Pull mergeinfo from r201203 up into the etc directory

git-svn-id: svn://svn.freebsd.org/base/stable/8@206564 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205880 by ru:
emaste [Tue, 13 Apr 2010 18:46:18 +0000 (18:46 +0000)]
MFC r205880 by ru:

  - Handle calloc() allocation failures.
  - Fixed a comment.
  - 2 -> EXIT_FAILURE in some places.
  - errx() -> err() where appropriate.

PR: 144644
Submitted by: Garrett Cooper

Also fix endinclude() prototype to avoid compiler warning.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206559 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206459:
kib [Tue, 13 Apr 2010 10:23:03 +0000 (10:23 +0000)]
MFC r206459:
Handle a case when non-canonical address is loaded into the fsbase or
gsbase MSR.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206554 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205853:
trasz [Tue, 13 Apr 2010 06:05:15 +0000 (06:05 +0000)]
MFC r205853:

Add myself.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206543 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205796:
trasz [Tue, 13 Apr 2010 06:01:24 +0000 (06:01 +0000)]
MFC r205796:

Make acl_to_text_np(3) not crash on long group or user names in NFSv4 ACLs.

PR: amd64/145091

git-svn-id: svn://svn.freebsd.org/base/stable/8@206542 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: 205994
imp [Tue, 13 Apr 2010 01:04:11 +0000 (01:04 +0000)]
MFC: 205994

  Two fixes:

  (1) We don't need a custom install_kernel.  We can install without
  symbols by adding INSTALL_NODEBUG (which likely should be
  WITHOUT_KERNEL_SYMBOLS_FILE, or something shorter) to CONF_INSTALL
  (2) for make buildenv stage, use NANO_MAKE_CONF_BUILD rather than the
  non-existant NANO_MAKE_CONF.

  MFC after: 7 days

git-svn-id: svn://svn.freebsd.org/base/stable/8@206539 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: 205992
imp [Tue, 13 Apr 2010 01:02:20 +0000 (01:02 +0000)]
MFC: 205992

  Make -r mean exactly the same thing as -E for increased compatibility
  with GNU sed.

  MFC after: 7 days

git-svn-id: svn://svn.freebsd.org/base/stable/8@206538 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 205980:
imp [Tue, 13 Apr 2010 00:57:54 +0000 (00:57 +0000)]
MFC 205980:

  Stop hard coding i386 as the arch for the build.  Instead, default to the
  processor we're running on.  Also, supply amd64 version of create_diskimage
  that's the same as i386's.

  # didn't fix the confusion between using the processor for this and using
  # the machine (which would be more appropriate).  NANO_ARCH smashes the two
  # together right now.

  MFC after: 7 days

git-svn-id: svn://svn.freebsd.org/base/stable/8@206537 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 205838:
imp [Tue, 13 Apr 2010 00:55:11 +0000 (00:55 +0000)]
MFC 205838:

  Mark the vtoc.h structure as packed so that it is the right size and
  layout on arm.

  MFC after: 7 days

git-svn-id: svn://svn.freebsd.org/base/stable/8@206536 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203710:
imp [Tue, 13 Apr 2010 00:48:54 +0000 (00:48 +0000)]
MFC r203710:

  When you have multiple addresses on the same network on different
  interfaces (such as when you are part of a carp pool), and you run
  rpcbind -h to restrict which interfaces have rpc services, rpcbind can
  none-the-less return addresses that aren't in the -h list.  This patch
  enforces the rule that when you specify -h on the command line, then
  services returned from rpcbind must be to one of the addresses listed
  in -h, or be a loopback address (since localhost is implicit when
  running -h).

  The root cause of this is the assumption in addrmerge that there can
  be only one interface that matches a given network IP address.  This
  turns out not to be the case.  To retain historical behavior, I didn't
  try to fix the routine to prefer the address that the request came
  into, since I didn't know the side effects that might cause in the
  normal case.  My quick analysis suggests that it wouldn't be a
  problem, but since this code is tricky I opted for the more
  conservative patch of only restricting the reply when -h is in effect.

  Hence, this change will have no effect when you are running rpcbind
  without -h.

  Reviewed by: alfred@
  Sponsored by: iX Systems
  MFC after: 2 weeks

git-svn-id: svn://svn.freebsd.org/base/stable/8@206535 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206090:
fabient [Mon, 12 Apr 2010 21:37:28 +0000 (21:37 +0000)]
MFC r206090:
Improve "top" header by:
- Display sample received per PMCs (or merged PMCs).
- Display percentage vs all samples

git-svn-id: svn://svn.freebsd.org/base/stable/8@206513 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206102,206103,206175,206176: add example indent.pro file
avg [Mon, 12 Apr 2010 21:18:58 +0000 (21:18 +0000)]
MFC r206102,206103,206175,206176: add example indent.pro file

git-svn-id: svn://svn.freebsd.org/base/stable/8@206510 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206178: ibc/db/hash: cap auto-tuned block size
avg [Mon, 12 Apr 2010 21:12:03 +0000 (21:12 +0000)]
MFC r206178: ibc/db/hash: cap auto-tuned block size

git-svn-id: svn://svn.freebsd.org/base/stable/8@206508 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206128: ffs_mount: remove redundant assignment of to devvp.v_bufobj
avg [Mon, 12 Apr 2010 21:07:58 +0000 (21:07 +0000)]
MFC r206128: ffs_mount: remove redundant assignment of to devvp.v_bufobj

git-svn-id: svn://svn.freebsd.org/base/stable/8@206506 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205989: indent(1): new option, -ta, to treat all *_t identifiers as types
avg [Mon, 12 Apr 2010 21:04:35 +0000 (21:04 +0000)]
MFC r205989: indent(1): new option, -ta, to treat all *_t identifiers as types

git-svn-id: svn://svn.freebsd.org/base/stable/8@206504 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206098: mountmsdosfs: reject too high value of bytes per cluster
avg [Mon, 12 Apr 2010 20:53:17 +0000 (20:53 +0000)]
MFC r206098: mountmsdosfs: reject too high value of bytes per cluster

git-svn-id: svn://svn.freebsd.org/base/stable/8@206502 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206266: Set net.inet6.ip6.fw.enable as well.
ume [Sun, 11 Apr 2010 15:17:52 +0000 (15:17 +0000)]
MFC r206266: Set net.inet6.ip6.fw.enable as well.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206478 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f