]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
11 years agoMFC r243102:
pluknet [Fri, 18 Jan 2013 08:34:21 +0000 (08:34 +0000)]
MFC r243102:
 Sort SEE ALSO xrefs by the manual section number and add a missing comma.

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

11 years agoMFC r245225, r245256: Restrict use of source address selection
ume [Thu, 17 Jan 2013 17:05:54 +0000 (17:05 +0000)]
MFC r245225, r245256: Restrict use of source address selection
of getipnodebyname(1) only to IPv6 address.

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

11 years agoMFC r244975:
delphij [Wed, 16 Jan 2013 00:54:51 +0000 (00:54 +0000)]
MFC r244975:

Indicate that we are using OpenSSL with some local modifications.

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

11 years agoMFC r244974:
delphij [Wed, 16 Jan 2013 00:52:36 +0000 (00:52 +0000)]
MFC r244974:

MFV r244973:

  Integrate OpenSSL changeset 22950 (appro):

        bn_word.c: fix overflow bug in BN_add_word.

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

11 years agoMFC r236899:
kevlo [Tue, 15 Jan 2013 15:29:28 +0000 (15:29 +0000)]
MFC r236899:

Fix unloading of libiconv module.

Previously it would either loop infinitely or exit with error leaking a lock.

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

11 years agoMFC r244553,244594,244608,244639
bapt [Tue, 15 Jan 2013 09:17:07 +0000 (09:17 +0000)]
MFC r244553,244594,244608,244639

In preparation for making 'pkg -N' the one true method of determining
whether a system has been configured to use pkgng, cause /usr/sbin/pkg
recognise a -N option and exit with a failure code when the pkg port
is not installed

Submitted by: matthew

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

11 years agoMFC: r243883
bapt [Sun, 13 Jan 2013 22:36:12 +0000 (22:36 +0000)]
MFC: r243883

if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records and
use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead
of pkgbeta.FreeBSD.org

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

11 years agoMFC r244995 r244996 r244997.
markj [Sun, 13 Jan 2013 04:14:30 +0000 (04:14 +0000)]
MFC r244995 r244996 r244997.

MFC r244995:
  Fix a typo in an error message.

MFC r244996:
  Have -n imply -r, since dry-run mode obviously doesn't require root
  privileges.

MFC r244997:
  Make sure to update the mtime of a logfile after archiving it. This
  ensures that the next rotation happens at the correct time when using
  interval-based rotations.

Approved by: rstone (co-mentor)

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

11 years agoMFC r244719:
markj [Sun, 13 Jan 2013 04:13:14 +0000 (04:13 +0000)]
MFC r244719:
  Add the NO_SYNC_CACHE quirk for all Apple USB MSC devices, as they
  typically do not handle the SYNCHRONIZE_CACHE command - they either
  return an error or the firmware enters a reset loop.

Approved by: rstone (co-mentor)

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

11 years agoMFC r245236:
gjb [Sat, 12 Jan 2013 00:59:41 +0000 (00:59 +0000)]
MFC r245236:
 - Update where porters handbook lives.

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

11 years agoMFC 244756 + 244757:
delphij [Fri, 11 Jan 2013 00:41:16 +0000 (00:41 +0000)]
MFC 244756 + 244757:

Add Simplified Chinese catalogs.

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

11 years agoMFC r245012:
wblock [Thu, 10 Jan 2013 23:39:28 +0000 (23:39 +0000)]
MFC r245012:

Document the output of the show command.  Modified version of patch
provided by Bas Smeelen <b.smeelen@ose.nl>.  Use of 'gpart list'
suggested by by Andrey V. Elsukov <ae@FreeBSD.org>.

PR: docs/174270
Submitted by: Ronald F.Guilmette <rfg@tristatelogic.com>
Reviewed by: ae (block sizes)

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

11 years agoMFC r245034
erwin [Tue, 8 Jan 2013 08:58:23 +0000 (08:58 +0000)]
MFC r245034
        Update with new IPv4 address for D root.

        Approved by:    delphij (mentor)

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

11 years agoMFC r244341:
yongari [Tue, 8 Jan 2013 05:35:18 +0000 (05:35 +0000)]
MFC r244341:
  Make sure to stop both TX and RX MACs in ale_stop_mac(). Previously
  it used to stop TX MAC only such that MAC reconfiguration after
  getting a link didn't work as expected.

  PR: kern/173652

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

11 years agoMFC r243686:
yongari [Tue, 8 Jan 2013 05:30:45 +0000 (05:30 +0000)]
MFC r243686:
  Add preliminary support for BCM57766 ASIC.
  While I'm here add BCM57762 device id which is found on Apple
  Thunderbolt ethernet.

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

11 years agoMFC r244601:
mm [Mon, 7 Jan 2013 11:12:09 +0000 (11:12 +0000)]
MFC r244601:
Update contrib/xz to version 5.0.4

Fix mergeinfo.

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

11 years agoMFC 245107: use full domain name
peter [Sun, 6 Jan 2013 19:26:39 +0000 (19:26 +0000)]
MFC 245107: use full domain name

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

11 years agoMFC: r244331
rmacklem [Sun, 6 Jan 2013 01:17:58 +0000 (01:17 +0000)]
MFC: r244331
Fix the gssd daemon so that it uses syslog() to report
an error instead of calling err() when it is daemonized,
so that the error gets logged.

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

11 years agoMFC: r244226
rmacklem [Sun, 6 Jan 2013 01:11:45 +0000 (01:11 +0000)]
MFC: r244226
The group list for a non-default export entry (a host/subnet one)
was being copied from the wrong place. This patch fixes that.
This could cause access failures for mapped users, when the group
permissions were needed.

Submitted by: Christopher Key

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

11 years ago- Add IFT_L2VLAN (vlan(4)) support.
markj [Sat, 5 Jan 2013 22:55:34 +0000 (22:55 +0000)]
- Add IFT_L2VLAN (vlan(4)) support.
- Add a -P option to support PID files. When -a is specified
  /var/run/rarpd.pid is used by default, and when an interface is
  specified /var/run/rarpd.<ifname>.pid is used by default.

Approved by: hrs, emaste (co-mentor)

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

11 years agoUpdate to 9.6-ESV-R8.
erwin [Fri, 4 Jan 2013 13:36:31 +0000 (13:36 +0000)]
Update to 9.6-ESV-R8.

All security fixes were previously merged.
Release notes: https://kb.isc.org/article/AA-00795

Approved by: delphij (mentor)

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

11 years agoMFC r244941:
pfg [Fri, 4 Jan 2013 04:03:39 +0000 (04:03 +0000)]
MFC r244941:

libedit: bind the correct command when using "bind -k".

"ed-argument-digit" (i. e. command 0) was incorrectly used
instead.
This bug comes from the original sources imported in 1994
and has been confirmed in upstream NetBSD.

Reported by: Yamagi Burmeister
Submitted by: Christoph Mallon

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

11 years agoMFC 244776, 244792:
pfg [Fri, 4 Jan 2013 03:54:22 +0000 (03:54 +0000)]
MFC 244776, 244792:

gcc: avoid generating negative values to DW_AT_byte_size.

There is a bug in gcc (GCC/35998) where dwarf reports
sizes of unsigned -1 (0xffffffff).

On NetBSD this generated a faulty CTF entry which then
caused a segfault in ctfmerge. The issue was worked
around in NetBSD's Dtrace but since the issue originated
in gcc, it seems reasonable to fix it here.

Thanks to Christoph Mallon for pointing out a correct fix.

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

11 years agoMFC r242697,r242704:
wblock [Thu, 3 Jan 2013 21:35:25 +0000 (21:35 +0000)]
MFC r242697,r242704:

r242697:
Add devd.conf(5) and devd(8) to SEE ALSO xrefs.  Give users a pointer to
seemingly mysterious actions that are not done by ifconfig itself, but
by devd triggering on events caused by ifconfig.

r242704:
Remove fifteen-year-old notes on media selection (suggested by simon@).
Add commas after "e.g." and "i.e.".

PR: docs/173405

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

11 years agoRemove bad svn:mergeinfo properties.
gshapiro [Thu, 3 Jan 2013 20:59:09 +0000 (20:59 +0000)]
Remove bad svn:mergeinfo properties.

Approved by: jhb

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

11 years agoMFC r244405:
dumbbell [Wed, 2 Jan 2013 22:14:18 +0000 (22:14 +0000)]
MFC r244405:
psm: Support detection of Synaptics touchpad v7.5 and above

Starting with firmware v7.5, the "Read TouchPad Modes" ($01) and "Read
Capabilities" ($02) commands changed: previously constant bytes now
carry variable information.

We now compare those bytes to expected constants only for firmware prior
to v7.5.

Tested by: Zeus Panchenko <zeus@gnu.org.ua>

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

11 years agoMFC: Minor changes to force commit these files so new freebsd*.cf files are
gshapiro [Tue, 1 Jan 2013 18:54:55 +0000 (18:54 +0000)]
MFC: Minor changes to force commit these files so new freebsd*.cf files are
     built to use the new sendmail-8.14.6/cf tree.

     While here, update DNSBL link once again.

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

11 years agoMFC: Update import info based on recent experiences and sendmail 8.14.6 import.
gshapiro [Tue, 1 Jan 2013 18:45:22 +0000 (18:45 +0000)]
MFC: Update import info based on recent experiences and sendmail 8.14.6 import.

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

11 years agoMFC: Merge sendmail 8.14.6
gshapiro [Tue, 1 Jan 2013 18:29:04 +0000 (18:29 +0000)]
MFC: Merge sendmail 8.14.6

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

11 years agoMFC r244406:
delphij [Tue, 1 Jan 2013 07:06:17 +0000 (07:06 +0000)]
MFC r244406:

Update arcmsr(4) to vendor version 1.20.00.26, this adds
support for their new RAID adapter ARC-1214.

Many thanks to Areca for continuing to support FreeBSD.

Submitted by: 黃清隆 Ching-Lung Huang <ching2048 areca com tw>

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

11 years agoMFC r244369 (jimharris):
delphij [Tue, 1 Jan 2013 07:04:25 +0000 (07:04 +0000)]
MFC r244369 (jimharris):

Use CAM_DEV_NOT_THERE instead of CAM_SEL_TIMEOUT to report nonexistent
LUNs for the virtual processor device.  This removes lots of CAM warnings,
and follows similar recent changes to tws(4) and twa(4) drivers.

Also fix case where CAM_REQ_CMP was getting OR'd with CAM_DEV_NOT_THERE
in the nonexistent LUN case, resulting in different CAM status (CAM_UA_TERMIO)
getting reported to CAM.  This issue existing previously, but was more subtle
because it changed CAM_SEL_TIMEOUT to CAM_CMD_TIMEOUT.

Sponsored by: Intel
Reported and tested by: Willem Jan Withagen <wjw@digiware.nl>

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

11 years agoMFC r244600:
dim [Mon, 31 Dec 2012 14:21:41 +0000 (14:21 +0000)]
MFC r244600:

Fix a bug in ld --gc-sections: it strips out .note sections, while it
should never do so.  This can cause global constructors and destructors
to not be executed at run-time, resulting in crashes and other strange
behaviour.

Reported by: rene

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

11 years agoMFC r244900:
bz [Mon, 31 Dec 2012 12:05:34 +0000 (12:05 +0000)]
MFC r244900:

  Happy New Year 2013!

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

11 years agoAdd mergeinfo that I accidentally omitted in my last commit.
markj [Mon, 31 Dec 2012 03:48:23 +0000 (03:48 +0000)]
Add mergeinfo that I accidentally omitted in my last commit.

Approved by: emaste (co-mentor)

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

11 years agoAdd mergeinfo that I accidentally omitted in my last commit.
markj [Mon, 31 Dec 2012 03:47:50 +0000 (03:47 +0000)]
Add mergeinfo that I accidentally omitted in my last commit.

Approved by: emaste (co-mentor)

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

11 years agoMFC 244523:
markj [Mon, 31 Dec 2012 03:35:01 +0000 (03:35 +0000)]
MFC 244523:
- Make sure that errno isn't modified before calling logerror() in error
  conditions.
- Don't check for AF_INET6 when compiled without INET6 support.

Approved by: emaste (co-mentor)

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

11 years agoMFC r244522: Don't reload syslogd after rotating sendmail.st.
markj [Mon, 31 Dec 2012 03:34:23 +0000 (03:34 +0000)]
MFC r244522: Don't reload syslogd after rotating sendmail.st.

Approved by: emaste (co-mentor)

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

11 years agoMFC r244791:
gjb [Mon, 31 Dec 2012 00:52:16 +0000 (00:52 +0000)]
MFC r244791:
 - Fix wording nit.

PR: 174787
Submitted by: Cody Rank

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

11 years agoMFC: Add missing closing quote on commented out example
gshapiro [Sun, 30 Dec 2012 15:37:38 +0000 (15:37 +0000)]
MFC: Add missing closing quote on commented out example

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

11 years agoMFC: Properly define true/false when defining __bool_true_false_are_defined
gshapiro [Sat, 29 Dec 2012 19:12:38 +0000 (19:12 +0000)]
MFC: Properly define true/false when defining __bool_true_false_are_defined
     for filters which pull in mfapi.h before stdbool.h.  Issue reported by
     Petr Rehor, maintainer of amavisd-milter port.

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

11 years agoMFC r239055 and r239567:
hselasky [Sat, 29 Dec 2012 12:51:52 +0000 (12:51 +0000)]
MFC r239055 and r239567:

Add more USB ID's to FTDI driver.

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

11 years agoCopy sys/dev/usbdevs from head @ r244719 to simplify merging.
hselasky [Sat, 29 Dec 2012 12:48:03 +0000 (12:48 +0000)]
Copy sys/dev/usbdevs from head @ r244719 to simplify merging.

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

11 years agoMFC r235725, r239056, r241089, r243661 and r244252:
hselasky [Sat, 29 Dec 2012 12:33:32 +0000 (12:33 +0000)]
MFC r235725, r239056, r241089, r243661 and r244252:

Regenerate usb.conf

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

11 years agoMFC r244567:
hselasky [Sat, 29 Dec 2012 12:20:49 +0000 (12:20 +0000)]
MFC r244567:

Reduce stack usage in the USB audio driver by moving some large stack
elements to the USB audio softc structure.

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

11 years agoMFC r244237:
kib [Sat, 29 Dec 2012 02:36:08 +0000 (02:36 +0000)]
MFC r244237:
Remove a special case for XEN.

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

11 years agoMFC r244145:
mav [Wed, 26 Dec 2012 18:51:37 +0000 (18:51 +0000)]
MFC r244145:
Add quirks for AD1984A codec and Lenovo X300 laptop.

PR: kern/148741

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

11 years agoMFC r244104:
delphij [Tue, 25 Dec 2012 00:25:22 +0000 (00:25 +0000)]
MFC r244104:

In parse():

 - Only operate on copy, don't operate on source.
 - Eliminate home-rolled strsep().
 - Constify the parameter.

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

11 years agoMFC r244096:
delphij [Mon, 24 Dec 2012 00:46:34 +0000 (00:46 +0000)]
MFC r244096:

Sync pf.os with OpenBSD.

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

11 years agoMFC r244635: zfs: solaris doesn't have KM_ZERO, kmem_zalloc should be used instead
avg [Sun, 23 Dec 2012 20:03:53 +0000 (20:03 +0000)]
MFC r244635: zfs: solaris doesn't have KM_ZERO, kmem_zalloc should be used instead

This should fix build failure caused by r244623.

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

11 years agofix r243760 by accounting for cpuset vs cpumask differences
avg [Sun, 23 Dec 2012 16:11:43 +0000 (16:11 +0000)]
fix r243760 by accounting for cpuset vs cpumask differences

This is a direct commit.

Pointyhat to: avg

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

11 years agoMFC r242567: zfs_mount: drop vfs.zfs.rootpool.prefer_cached_config tunable
avg [Sun, 23 Dec 2012 12:19:22 +0000 (12:19 +0000)]
MFC r242567: zfs_mount: drop vfs.zfs.rootpool.prefer_cached_config tunable

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

11 years agoMFC r243502: zfs roopool: add support for multi-vdev configurations
avg [Sun, 23 Dec 2012 12:16:24 +0000 (12:16 +0000)]
MFC r243502: zfs roopool: add support for multi-vdev configurations

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

11 years agoMFC r243762: gfs_file_inactive: replace bad code with ugly code
avg [Sun, 23 Dec 2012 12:13:07 +0000 (12:13 +0000)]
MFC r243762: gfs_file_inactive: replace bad code with ugly code

PR: kern/151111

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

11 years agoMFC r243404: acpi_cpu: use fixed resource ids for cx state i/o resources
avg [Sun, 23 Dec 2012 12:09:52 +0000 (12:09 +0000)]
MFC r243404: acpi_cpu: use fixed resource ids for cx state i/o resources

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

11 years agoMFC r243761: acpi_cpu_notify: disable acpi_cpu_idle while updating
avg [Sun, 23 Dec 2012 12:07:52 +0000 (12:07 +0000)]
MFC r243761: acpi_cpu_notify: disable acpi_cpu_idle while updating
C-state data

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

11 years agoMFC r243760: acpi_cpu: change cpu_disable_idle to be a per-cpu flag
avg [Sun, 23 Dec 2012 12:06:12 +0000 (12:06 +0000)]
MFC r243760: acpi_cpu: change cpu_disable_idle to be a per-cpu flag

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

11 years agoMFC r243497: zfs: create devices/geoms from zvols after receiveing them
avg [Sun, 23 Dec 2012 11:56:28 +0000 (11:56 +0000)]
MFC r243497: zfs: create devices/geoms from zvols after receiveing them

PR: kern/167066

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

11 years agoMFC r243272,243499: assert_vop_locked should treat LK_EXCLOTHER as the
avg [Sun, 23 Dec 2012 11:52:46 +0000 (11:52 +0000)]
MFC r243272,243499: assert_vop_locked should treat LK_EXCLOTHER as the
not locked case

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

11 years agoMFC r244246:
mm [Sat, 22 Dec 2012 22:27:57 +0000 (22:27 +0000)]
MFC r244246:

illumos-gate 13894:f4af77f6bbd2
3397 zdb <pool> <objnum> output is too verbose
3398 zdb can't dump feature flags zap objects

References:
https://www.illumos.org/issues/3397
https://www.illumos.org/issues/3398

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

11 years agoMFC r244037:
eadler [Thu, 20 Dec 2012 18:13:04 +0000 (18:13 +0000)]
MFC r244037:
Add check for failure of mkstemp and setenv.

Approved by: cperciva (implicit)

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

11 years agoMFC r242996:
eadler [Thu, 20 Dec 2012 04:16:25 +0000 (04:16 +0000)]
MFC r242996:
Add support for CIR1000 - Cirrus Logic V34 to the sio driver

PR: kern/44267
Approved by: cperciva (implicit)

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

11 years agoMFC r243793:
eadler [Thu, 20 Dec 2012 00:40:59 +0000 (00:40 +0000)]
MFC r243793:
Add support for hdmi hda codec onboard nvidia gt 440 graphics card

PR: kern/174059
Approved by: cperciva (implicit)

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

11 years agoMFC r243890:
eadler [Thu, 20 Dec 2012 00:35:08 +0000 (00:35 +0000)]
MFC r243890:
Connect organization.dot to the build

Approved by: cperciva (implicit)

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

11 years agoMFC r244318:
eadler [Thu, 20 Dec 2012 00:32:43 +0000 (00:32 +0000)]
MFC r244318:
Minor wording improvments to some manual pages

Approved by: cperciva (implicit)

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

11 years agoMFC r243891:
eadler [Thu, 20 Dec 2012 00:30:48 +0000 (00:30 +0000)]
MFC r243891:
Add ability to mergemaster to permit the user to type
the absolute path to PAGER if mergemaster can not find
the one already set.

Approved by: cperciva (implicit)

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

11 years agoMFC r243894:
eadler [Thu, 20 Dec 2012 00:28:51 +0000 (00:28 +0000)]
MFC r243894:
Remove useless check for NULL prior to free.

Approved by: cperciva (implicit)

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

11 years agoMFC r243892:
eadler [Thu, 20 Dec 2012 00:26:46 +0000 (00:26 +0000)]
MFC r243892:
Remove pointless check for the existence of /usr/bin/less which exists
in all configurations.

Approved by: cperciva (implicit)

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

11 years agoMFC r243907:
dim [Wed, 19 Dec 2012 12:19:56 +0000 (12:19 +0000)]
MFC r243907:

Fix an old bug in devd, where it uses std::sort() to sort the various
lists it reads from its configuration files on the priority field.

Because some items in the lists have the same priority, and std::sort()
is not stable, the exact order in which the items are enumerated does
not have to correspond to the order they appear in the configuration
files.

Apparently this was never noticed with libstdc++, but with libc++ it
could cause the "uhid" entry from /etc/devd/usb.conf to be used instead
of the "ums" entry (which is earlier in the file).  This caused the
problem described in the PR: the USB mouse module was never loaded, and
the other actions (such as starting moused) were not executed.

To fix the problem, make devd use std:stable_sort() instead.

Reported by: Jan Beich <jbeich@tormail.org>
PR: bin/172958

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

11 years agoMFC r243807:
delphij [Mon, 17 Dec 2012 06:44:16 +0000 (06:44 +0000)]
MFC r243807:

Use SA_ZPL_CRTIME instead of SA_ZPL_CTIME for creation time.

Submitted by: phil.stone at gmx.com

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

11 years agoMFC r243834:
delphij [Mon, 17 Dec 2012 06:38:22 +0000 (06:38 +0000)]
MFC r243834:

Note that the manual page of less(1) says:

  Note  that  a preprocessor cannot output an empty file, since that
  is interpreted as meaning there is no replacement, and the  origi-
  nal file is used.  To avoid this, if LESSOPEN starts with two ver-
  tical bars, the exit status of the script becomes meaningful.   If
  the  exit  status is zero, the output is considered to be replace-
  ment text, even if it empty.  If the exit status is  nonzero,  any
  output  is ignored and the original file is used.  For compatibil-
  ity with previous versions of less, if LESSOPEN starts  with  only
  one vertical bar, the exit status of the preprocessor is ignored.

Use two pipe symbols for zless, so that zless'ing a compressed empty
file will give output rather than being interpreted as its compressed
form, which is typically a binary.

Thanks Mark Nudelman for pointing out this difference and the
suggested solution.

Reported by:  Matthias Meyser <meyser xenet.de>
PR:           bin/168839

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

11 years agoMFC r243320,r243474:
eadler [Sun, 16 Dec 2012 17:01:23 +0000 (17:01 +0000)]
MFC r243320,r243474:

Add 'w' flag to:

Use whitespace (spaces and tabs) as the delimiter.
Consecutive spaces and tabs count as one single field
separator.
Approved by: cperciva (implicit)

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

11 years agoMFC r227162:
eadler [Sun, 16 Dec 2012 16:59:59 +0000 (16:59 +0000)]
MFC r227162:
Add missing static keywords to cut(1)

Approved by: ed
Approved by: cperciva (implicit)

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

11 years agoMFC r236866,r236867:
eadler [Sun, 16 Dec 2012 16:55:40 +0000 (16:55 +0000)]
MFC r236866,r236867:
- Consistenly mention columns and fields
- Add -b to short error messages

Approved by: kevlo
Approved by: cperciva (implicit)

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

11 years agoMFC r244017:
eadler [Sat, 15 Dec 2012 14:36:40 +0000 (14:36 +0000)]
MFC r244017:
Sync with Library of Congress list.

Approved by: cperciva (implicit)

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

11 years agoMFC r243899:
eadler [Sat, 15 Dec 2012 14:34:32 +0000 (14:34 +0000)]
MFC r243899:
Use Bernard Baruch's full name.

The words "old than" seem to be quoted as "older than" by some sources,
so use the more likely and grammatically correct text.

PR: docs/173868
Approved by: cperciva (implicit)

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

11 years agoMFC r244027:
hselasky [Sat, 15 Dec 2012 10:30:06 +0000 (10:30 +0000)]
MFC r244027:
Add support for various Yamaha keyboards.

MFC after: 1 week
PR: usb/174254

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

11 years agoMRC r243021:
bapt [Fri, 14 Dec 2012 08:53:25 +0000 (08:53 +0000)]
MRC r243021:

return ERANGE if the buffer is too small to contain the login as documented in
the manpage

Reviewed by: cognet, kib

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

11 years agoMFC r232639
remko [Wed, 12 Dec 2012 07:22:50 +0000 (07:22 +0000)]
MFC r232639

Original commit:
Add support for the MosChip MCS9904 four serial ports
controller.

PR:  165804
Submitted by: Eugene Grosbein
MFC after: 1 week

Modified:
head/sys/dev/uart/uart_bus_pci.c

Modified: head/sys/dev/uart/uart_bus_pci.c
==============================================================================
--- head/sys/dev/uart/uart_bus_pci.c Wed Mar 7 06:25:17 2012 (r232638)
+++ head/sys/dev/uart/uart_bus_pci.c Wed Mar 7 06:42:21 2012 (r232639)
@@ -126,6 +126,8 @@ static struct pci_id pci_ns8250_ids[] =
"MosChip MCS9900 PCIe to Peripheral Controller", 0x10 },
{ 0x9710, 0x9901, 0xa000, 0x1000,
"MosChip MCS9901 PCIe to Peripheral Controller", 0x10 },
+{ 0x9710, 0x9904, 0xa000, 0x1000,
+ "MosChip MCS9904 PCIe to Peripheral Controller", 0x10 },
{ 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 },
{ 0xffff, 0, 0xffff, 0, NULL, 0, 0}
};

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

11 years agoMFC r243904:
jimharris [Wed, 12 Dec 2012 00:39:32 +0000 (00:39 +0000)]
MFC r243904:

Don't call bus_dmamap_load in CAM_DIR_NONE case, since there is nothing
to map, and technically this isn't allowed.

Functionally, it works OK (at least on x86) to call bus_dmamap_load with
a NULL data pointer and zero length, so this is primarily for correctness
and consistency with other drivers.

While here, remove check in isci_io_request_construct for nseg==0.
Previously, bus_dmamap_load would pass nseg==1, even for case where
buffer is NULL and length = 0, which allowed CAM_DIR_NONE CCBs
to get processed.  This check is not correct though, and needed to be
removed both for the changes elsewhere in this patch, as well as jeff's
preliminary bus_dmamap_load_ccb patch (which uncovered all of this in
the first place).

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

11 years agoMFC r217749: Use string literal format strings to quiet clang warnings.
emaste [Tue, 11 Dec 2012 13:03:33 +0000 (13:03 +0000)]
MFC r217749: Use string literal format strings to quiet clang warnings.

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

11 years agoMFC r242943: Do not unwind past a zero PC frame.
emaste [Tue, 11 Dec 2012 12:58:27 +0000 (12:58 +0000)]
MFC r242943: Do not unwind past a zero PC frame.

  This improves GDB usability when debugging code compiled with
  optimization.

  Upstream GDB revision f0031b6d3ae9b164b3747986ab898190bd4dcf8c (prior
  to GDB's switch to GPLv3), with frame_debug_got_null_frame expanded
  inline.

  | 2004-12-12  Andrew Cagney  <cagney@gnu.org>
  |
  | * frame.c (get_prev_frame): When unwinding normal frames, check
  | that the PC isn't zero.

Sponsored by: ADARA Networks

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

11 years agoMFC r242936: Set optimized_out instead of reporting an error.
emaste [Tue, 11 Dec 2012 12:57:08 +0000 (12:57 +0000)]
MFC r242936: Set optimized_out instead of reporting an error.

  This provides a better display when debugging code compiled with
  optimization on.

  GDB git revision e8395b4efd184f745070afb953f451f99e922be7 (prior to
  GDB's switch to GPLv3), modified for the interfaces provided by
  GDB 6.1.1.

  2005-02-28  Daniel Jacobowitz  <dan@codesourcery.com>

   * dwarf2loc.c (loclist_read_variable): Set optimized_out
   instead of reporting an error.
   * valprint.c (value_check_printable): New function.
   (common_val_print): New function.  Use value_check_printable.
   (value_print): Use value_check_printable.
   * value.h (common_val_print): Add prototype.
   * c-valprint.c (c_val_print): Use common_val_print.
   * cp-valprint.c (cp_print_value_fields): Likewise.
   (cp_print_hpacc_virtual_table_entries): Likewise.
   * f-valprint.c (f_val_print): Likewise.
   * jv-valprint.c (java_value_print, java_print_value_fields):
   Likewise.
   * scm-valprint.c (scm_value_print): Likewise.
   * stack.c (print_frame_args): Likewise.
   * varobj.c (c_value_of_variable): Likewise.
   * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
   (pascal_object_print_value_fields): Likewise.  Update call to
   pascal_object_print_static_field.
   (pascal_object_print_static_field): Remove TYPE argument.  Use
   common_val_print.

Sponsored by: ADARA Networks

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

11 years agoMFC recent ZFS changes from illumos:
mm [Mon, 10 Dec 2012 14:37:18 +0000 (14:37 +0000)]
MFC recent ZFS changes from illumos:
243503, 243524, 243525, 243560, 243561

MFC r243503:
Illumos 13879:4eac7a87eff2
3329 spa_sync() spends 10-20% of its time in spa_free_sync_cb()
3330 space_seg_t should have its own kmem_cache
3331 deferred frees should happen after sync_pass 1
3335 make SYNC_PASS_* constants tunable

New loader-only tunables:
vfs.zfs.sync_pass_deferred_free
vfs.zfs.sync_pass_dont_compress
vfs.zfs.sync_pass_rewrite

References:
https://www.illumos.org/issues/3329
https://www.illumos.org/issues/3330
https://www.illumos.org/issues/3331
https://www.illumos.org/issues/3335

MFC r243524:
Import the zio nop-write improvement from Illumos. To reduce I/O,
nop-write omits overwriting data if the checksum (cryptographically
secure) of new data matches the checksum of existing data.
It also saves space if snapshots are in use.

It currently works only on datasets with enabled compression, disabled
deduplication and sha256 checksums.

IllumOS 13887:196932ec9e6a and 13888:7204b3392a58
3236 zio nop-write

References:
https://www.illumos.org/issues/3236

MFC r243525:
Add loader(8) tunable to enable/disable nopwrite functionality:
vfs.zfs.nopwrite_enabled

MFC r243560:
Introduce a new dataset aclmode setting "restricted" to protect ACL's
being destroyed or corrupted by a drive-by chmod.

illumos-gate 13889:a67716f16746
3254 add support in zfs for aclmode=restricted

MFC r243561:
Update manpage dates in zfs.8 and zpool.8

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

11 years agoMFC r243238:
eadler [Mon, 10 Dec 2012 02:44:46 +0000 (02:44 +0000)]
MFC r243238:
Standardize EXIT STATUS instructions in man pages when possible.

Approved by: cperciva (implicit)

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

11 years agoMFC r243101:
eadler [Mon, 10 Dec 2012 02:40:06 +0000 (02:40 +0000)]
MFC r243101:
Using set -x produces output on stderr instead of stdout.
It also doesn't work with make -s.
Prefer the use of builtin make features.

PR: misc/126312
Approved by: cperciva (implicit)

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

11 years agoMFC r243077:
eadler [Mon, 10 Dec 2012 02:35:20 +0000 (02:35 +0000)]
MFC r243077:
Fix error code if file isn't readable.

Approved by: cperciva (implicit)

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

11 years agoMFC r243084:
eadler [Mon, 10 Dec 2012 02:33:16 +0000 (02:33 +0000)]
MFC r243084:
Add support for a -q flag.  While here make the custom argument parsing
use getopt instead of hacking on it more.  This change also fixes the
method of silencing the compiler warning about gfn being used
uninitialized.

Approved by: cperciva (implicit)

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

11 years agoMFC r240885:
mav [Sat, 8 Dec 2012 07:34:57 +0000 (07:34 +0000)]
MFC r240885:
Document ipv6 hook, present there for ages.

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

11 years agoMFC r243893:
eadler [Sat, 8 Dec 2012 00:28:16 +0000 (00:28 +0000)]
MFC r243893:
Remove hack to emulate effective uid and just use the EUID's name in the
first place.  I was unaware of this option when originally committing
this change.

I accidently merged this to only one directory last time :(

Approved by: cperciva (implicit)

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

11 years agoMFC r243893:
eadler [Sat, 8 Dec 2012 00:25:51 +0000 (00:25 +0000)]
MFC r243893:
Remove hack to emulate effective uid and just use the EUID's name in the
first place.  I was unaware of this option when originally committing
this change.

Approved by: cperciva (implicit)

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

11 years agoFix merge of r240605 (done in r243684).
melifaro [Thu, 6 Dec 2012 19:43:48 +0000 (19:43 +0000)]
Fix merge of r240605 (done in r243684).

Spotted by: Terry Kennedy<TERRY@tmk.com>

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

11 years agoMFC r239007:
mav [Thu, 6 Dec 2012 18:41:53 +0000 (18:41 +0000)]
MFC r239007:
Remove duplicate check.

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

11 years agoEarly MFC of portions of r243752 adding an auditdistd user to stable/8
rwatson [Thu, 6 Dec 2012 11:54:25 +0000 (11:54 +0000)]
Early MFC of portions of r243752 adding an auditdistd user to stable/8
in order to ease future upgrades; the remainder of r243752 is left for
a future MFC of the OpenBSM upgrade:

  Merge a number of changes required to hook up OpenBSM 1.2-alpha2's
  auditdistd (distributed audit daemon) to the build:

  - Manual cross references
  - Makefile for auditdistd
  - rc.d script, rc.conf entrie
  - New group and user for auditdistd; associated aliases, etc.

  The audit trail distribution daemon provides reliable,
  cryptographically protected (and sandboxed) delivery of audit tails
  from live clients to audit server hosts in order to both allow
  centralised analysis, and improve resilience in the event of client
  compromises: clients are not permitted to change trail contents
  after submission.

  Submitted by:   pjd
  Sponsored by:   The FreeBSD Foundation (auditdistd)

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

11 years agoMFC r242511: Print a newline after the error message.
jh [Thu, 6 Dec 2012 08:36:30 +0000 (08:36 +0000)]
MFC r242511: Print a newline after the error message.

PR: bin/168447

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

11 years agoMFC r242681 (ambrisko):
delphij [Mon, 3 Dec 2012 18:47:25 +0000 (18:47 +0000)]
MFC r242681 (ambrisko):

- Extend the prior commit to use the generic SCSI command building
  function use that for JBOD and Thunderbolt disk write command.  Now
  we only have one implementation in mfi.
- Fix dumping on Thunderbolt cards.  Polled IO commands do not seem to
  be normally acknowledged by changing cmd_status to MFI_STAT_OK.
  In order to get acknowledgement of the IO is complete, the Thunderbolt
  command queue needs to be run through.  I added a flag MFI_CMD_SCSI
  to indicate this command is being polled and to complete the
  Thunderbolt wrapper and indicate the result.  This flag needs to be
  set in the JBOD case in case if that us using Thunderbolt card.
  When in the polling loop check for completed commands.
- Remove mfi_tbolt_is_ldio and just do the check when needed.
- Fix an issue when attaching of disk device happens when a device is
  already scheduled to be attached but hasn't attached.
- add a tunable to allow raw disk attachment to CAM via:
        hw.mfi.allow_cam_disk_passthrough=1
- fixup aborting of commands (AEN and LD state change).  Use a generic
  abort function and only wait the command being aborted not both.
  Thunderbolt cards don't seem to abort commands so the abort times
  out.

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

11 years agoMFC r242497:
delphij [Mon, 3 Dec 2012 18:39:29 +0000 (18:39 +0000)]
MFC r242497:

Copy code from scsi_read_write() as mfi_build_syspd_cdb() to build SCSI
command properly.  Without this change, mfi(4) always sends 10 byte READ
and WRITE commands, which will cause data corruption when device is
larger than 2^32 sectors.

PR: kern/173291
Submitted by: Steven Hartland <steven.hartland multiplay.co.uk>
Reviewed by: mav

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

11 years agoMFC r242519:
delphij [Mon, 3 Dec 2012 18:30:52 +0000 (18:30 +0000)]
MFC r242519:

Replace log(3) with flsll(3) for watchdogd(8) and drop libm dependency.

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

11 years agoMFC r235038,241906:
delphij [Mon, 3 Dec 2012 18:28:54 +0000 (18:28 +0000)]
MFC r235038,241906:

netcat from OpenBSD 5.2.

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

11 years agoMFC r242728:
delphij [Mon, 3 Dec 2012 18:20:52 +0000 (18:20 +0000)]
MFC r242728:

ICMPV6_FILTER should read ICMP6_FILTER.

Submitted by: Frédéric Perrin <frederic.perrin resel.fr>

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

11 years agoMFC r242507:
delphij [Mon, 3 Dec 2012 18:10:30 +0000 (18:10 +0000)]
MFC r242507:

Sync strlcpy with userland version.

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