]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
11 years agoMFC r242136:
eadler [Mon, 29 Oct 2012 04:21:16 +0000 (04:21 +0000)]
MFC r242136:
Prefer an example users born after myself might use.

Approved by: cperciva (implicit)

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

11 years agoMFC r241841:
eadler [Mon, 29 Oct 2012 04:18:33 +0000 (04:18 +0000)]
MFC r241841:
Implement HTTP 305 redirect handling.

PR: 172452
Approved by: cperciva (implicit)

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

11 years agoMFC r241840:
eadler [Mon, 29 Oct 2012 04:16:52 +0000 (04:16 +0000)]
MFC r241840:
Don't deny non-temporary redirects if the -A option is set (per
the man page) [0]

While here add support for draft-reschke-http-status-308-07

PR: 172451 [0]
Approved by: cperciva (implicit)

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

11 years agoMFC r241858:
eadler [Mon, 29 Oct 2012 04:09:20 +0000 (04:09 +0000)]
MFC r241858:
Remove unused code since the 5.x days

Approved by: cperciva (implicit)

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

11 years agoMFC r241855,r241859:
eadler [Mon, 29 Oct 2012 03:52:18 +0000 (03:52 +0000)]
MFC r241855,r241859:
Update the kill(2) and killpg(2) man pages to the modern permission
checks. Also indicate killpg(2) is POSIX compliant.

Correct the killpg(2) return values:

Return EPERM if processes were found but they
were unable to be signaled.

Return the first error from p_cansignal if no signal was successful.

Discussed with: jilles
Approved by: cperciva (implicit)

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

11 years agoMFC r241843:
eadler [Mon, 29 Oct 2012 03:48:24 +0000 (03:48 +0000)]
MFC r241843:
Make uhid attach to devices that look like keyboards
or mice if the quirk which prevents higher level
drivers from attaching is set.

PR: usb/172458
Approved by: cperciva (implicit)

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

11 years agoMFC r241793:
eadler [Mon, 29 Oct 2012 03:45:38 +0000 (03:45 +0000)]
MFC r241793:
Add support for iPhone 5 tethering.

PR: usb/172172
Approved by: cperciva (implicit)

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

11 years agoMFC r241281: ktrace/kern_exec: check p_tracecred instead of p_cred
avg [Sun, 28 Oct 2012 16:14:19 +0000 (16:14 +0000)]
MFC r241281: ktrace/kern_exec: check p_tracecred instead of p_cred

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

11 years agoMFC r241294: zfsboot: simplify probe_drive() a little bit
avg [Sun, 28 Oct 2012 16:12:12 +0000 (16:12 +0000)]
MFC r241294: zfsboot: simplify probe_drive() a little bit

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

11 years agoMFC r241293: zfs boot: export boot/primary pool and vdev guid all the
avg [Sun, 28 Oct 2012 16:10:18 +0000 (16:10 +0000)]
MFC r241293: zfs boot: export boot/primary pool and vdev guid all the
way to kenv

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

11 years agoMFC r241772: document acpi_cpu devd notification about _CST change
avg [Sun, 28 Oct 2012 15:59:30 +0000 (15:59 +0000)]
MFC r241772: document acpi_cpu devd notification about _CST change

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

11 years agoMFC r241537: acpi_wmi: move wmi_info_list into sc
avg [Sun, 28 Oct 2012 15:56:53 +0000 (15:56 +0000)]
MFC r241537: acpi_wmi: move wmi_info_list into sc

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

11 years agoMFC r241292: zfs loader: treat plain pool name as a name of its root
avg [Sun, 28 Oct 2012 15:54:15 +0000 (15:54 +0000)]
MFC r241292: zfs loader: treat plain pool name as a name of its root
dataset

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

11 years agoMFC r241284: zfs boot: add lszfs command to i386 loader
avg [Sun, 28 Oct 2012 15:51:15 +0000 (15:51 +0000)]
MFC r241284: zfs boot: add lszfs command to i386 loader

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

11 years agoMFC r241289: boot/zfs: call zfs_spa_init for all found pools
avg [Sun, 28 Oct 2012 15:48:15 +0000 (15:48 +0000)]
MFC r241289: boot/zfs: call zfs_spa_init for all found pools

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

11 years agoMFC r241283: zfs boot: add code for listing child datasets of a given
avg [Sun, 28 Oct 2012 15:45:15 +0000 (15:45 +0000)]
MFC r241283: zfs boot: add code for listing child datasets of a given
dataset

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

11 years agoMFC r241296: g_part_taste: directly destroy consumer and geom here, no
avg [Sun, 28 Oct 2012 15:43:13 +0000 (15:43 +0000)]
MFC r241296:  g_part_taste: directly destroy consumer and geom here, no
need for withering

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

11 years agoMFC r241288: zfsboot: use the same zfs dataset naming format as loader
avg [Sun, 28 Oct 2012 15:37:47 +0000 (15:37 +0000)]
MFC r241288: zfsboot: use the same zfs dataset naming format as loader

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

11 years agoMFC: r242090
rmacklem [Sun, 28 Oct 2012 12:28:04 +0000 (12:28 +0000)]
MFC: r242090
Modify the comment to take out the names and URL.

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

11 years agoMFC r242086:
delphij [Sun, 28 Oct 2012 10:57:24 +0000 (10:57 +0000)]
MFC r242086:

Update hptiop(4) to version 1.8, which added support for HighPoint
RocketRAID 4500 series.

Many thanks to HighPoint Technologies for their continued support
of FreeBSD!

Submitted by: HighPoint Technologies

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

11 years agoMerge of current of tzdata2012h, r242208
edwin [Sun, 28 Oct 2012 09:17:33 +0000 (09:17 +0000)]
Merge of current of tzdata2012h, r242208

- Bahia no longer has DST.
- Tocantins has DST.
- Israel has new DST rules next year.
- Jordan stays on DST this winter.

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

11 years agoMFC r238925:
davide [Sat, 27 Oct 2012 23:34:18 +0000 (23:34 +0000)]
MFC r238925:
Until now KTR_ENTRIES, which defines the size of circular buffer used in
ktr(4), was constrained to be a power of two. Remove this constraint and
update sys/conf/NOTES accordingly.

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

11 years agoMFC r239110:
davide [Sat, 27 Oct 2012 23:17:22 +0000 (23:17 +0000)]
MFC r239110:
Remove a spurious brace which causes build fail in case BCE_DEBUG option
is turned on.

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

11 years agoMFC r241784:
eadler [Sat, 27 Oct 2012 01:24:24 +0000 (01:24 +0000)]
MFC r241784:
Adds 4K quirks for the some SSD's which all perform better when 4K
aligned and only except 4K deletes (TRIM).

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

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

11 years agoMFC r241848:
eadler [Sat, 27 Oct 2012 01:20:48 +0000 (01:20 +0000)]
MFC r241848:
Check the return error of set[e][ug]id. While this can never fail in the
current version of FreeBSD, this isn't guarenteed by the API.
Custom security modules, or future implementations of the setuid and
setgid may fail.

Approved by: cperciva (implicit)

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

11 years agoMFC 241555:
n_hibma [Fri, 26 Oct 2012 12:24:38 +0000 (12:24 +0000)]
MFC 241555:

Implement modem control in u3g. Tested on Option GTM382W, Huawei
E220, and Sierra Wireless MC8790V. Also implement the .ucom_poll
method.

Note: It resolves ppp hanging during the PPp> phase.

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

11 years agoMFC r241828,r241891:
eadler [Fri, 26 Oct 2012 00:44:34 +0000 (00:44 +0000)]
MFC r241828,r241891:
Finish migration of MAINTAINER entries

Approved by: cperciva (implicit)

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

11 years agoMFC r241845,r241934:
eadler [Fri, 26 Oct 2012 00:35:28 +0000 (00:35 +0000)]
MFC r241845,r241934:
Sysinstall has been removed from base.

MFC farther back to maintain consistency

Approved by: cperciva (implicit)

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

11 years agoMFC r240210:
delphij [Fri, 26 Oct 2012 00:30:44 +0000 (00:30 +0000)]
MFC r240210:

It seems that what the code really meant is that when a write is completed,
do a BUS_DMASYNC_POSTWRITE over the DMA map.  The way it currently is would
only do POSTREAD for read transactions.

Submitted by: Sascha Wildner

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

11 years agoMFC 241496:
n_hibma [Thu, 25 Oct 2012 21:08:31 +0000 (21:08 +0000)]
MFC 241496:

Some 3G modems return the wrong signature in echo packets and make it
impossible to use LQR/ECHO. They return want_magic instead.

With this change it is now possible to use

enable lqr
set lqrperiod 5
enable echo
set echoperiod 5

in your ppp.conf file.

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

11 years agoMerge r239382:
kuriyama [Thu, 25 Oct 2012 15:25:17 +0000 (15:25 +0000)]
Merge r239382:

- Allow to pass extra parameters for each jails.
- To achieve above, convert jail(8) invocation to use new style
  command line "-c" flag.

Thanks to: lstewart

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

11 years agoMerge r240680 from head:
gavin [Thu, 25 Oct 2012 10:29:15 +0000 (10:29 +0000)]
Merge r240680 from head:

  Align the PCI Express #defines with the style used for the PCI-X
  #defines.  This has the advantage that it makes the names more
  compact, and also allows us to correct the non-uniform naming of
  the PCIM_LINK_* defines, making them all consistent amongst themselves.

  This is a mostly mechanical rename:
    s/PCIR_EXPRESS_/PCIER_/g
    s/PCIM_EXP_/PCIEM_/g
    s/PCIM_LINK_/PCIEM_LINK_/g

  In this MFC, #defines have been added for the old names to assist
  merges and out-of-tree drivers.

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

11 years agoMFC r241827:
eadler [Thu, 25 Oct 2012 03:30:16 +0000 (03:30 +0000)]
MFC r241827:
Mark bsdar_errc as __dead2 to help code analysis tools.

PR: bin/172636
Approved by: cperciva (implicit)

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

11 years agoMFC r241825:
eadler [Thu, 25 Oct 2012 03:29:08 +0000 (03:29 +0000)]
MFC r241825:
Print flags as hex instead of an integer.

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

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

11 years agoMFC r241847:
eadler [Thu, 25 Oct 2012 03:27:53 +0000 (03:27 +0000)]
MFC r241847:
Free buf when its no longer used. This helps eliminate a static analysis
warning.

PR: ports/172566
Approved by: cperciva (implicit)

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

11 years agoMFC r241837:
eadler [Thu, 25 Oct 2012 03:21:46 +0000 (03:21 +0000)]
MFC r241837:
Fix build if COMPAT_43 is defined without one of
COMPAT_FREEBSD[4567]

Approved by: cperciva (implicit)

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

11 years agoMFC r241846:
eadler [Thu, 25 Oct 2012 03:20:00 +0000 (03:20 +0000)]
MFC r241846:
bcd isn't installed setuid.
caesar isn't installed setuid.

For the archaeologists:
it seems this call originally came from NetBSD PR 5970 and 5945

PR: 172566
Approved by: cperciva (implicit)

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

11 years agoMFC r241893:
eadler [Thu, 25 Oct 2012 03:17:02 +0000 (03:17 +0000)]
MFC r241893:
Update re members to reality

Approved by: cperciva (implicit)

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

11 years agoMFC r241832:
eadler [Thu, 25 Oct 2012 03:15:33 +0000 (03:15 +0000)]
MFC r241832:
Covert regression test to python 3

Approved by: cperciva (implicit)

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

11 years agoMFC r241849:
eadler [Thu, 25 Oct 2012 03:14:17 +0000 (03:14 +0000)]
MFC r241849:
Fix typo in error when unable to create TCP socket

PR: bin/172490
Approved by: cperciva (implicit)

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

11 years agoMFC r241834:
eadler [Thu, 25 Oct 2012 03:12:31 +0000 (03:12 +0000)]
MFC r241834:
Make do_uniq work with python3

Approved by: cperciva (implicit)

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

11 years agoMFC r241839:
eadler [Thu, 25 Oct 2012 03:11:18 +0000 (03:11 +0000)]
MFC r241839:
Be a bit more lenient in the maximum number of redirects allowed.
Chrome and Firefox have a limit of 20. IE has a limit of 8.

Approved by: cperciva (implicit)

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

11 years agoMFC r241833:
eadler [Thu, 25 Oct 2012 01:27:01 +0000 (01:27 +0000)]
MFC r241833:
Make xen python scripts work with python3

Approved by: cperciva (implicit)

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

11 years agoMFC r241838:
eadler [Thu, 25 Oct 2012 01:23:41 +0000 (01:23 +0000)]
MFC r241838:
Remove unused variable. Newer versions of gcc care.

Approved by: cperciva (implicit)

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

11 years agoMFC r241829:
eadler [Thu, 25 Oct 2012 01:20:19 +0000 (01:20 +0000)]
MFC r241829:
Fix conditional expression: previously a bit vector was being operated
on by a logical not instead of the entire expression.

Approved by: cperciva (implicit)

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

11 years agoMFC r241835:
eadler [Thu, 25 Oct 2012 01:19:03 +0000 (01:19 +0000)]
MFC r241835:
Fix conditional expression: previously a bitvector would be operated
on by a logical not.

Approved by: cperciva (implicit)

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

11 years agoMFC: r241582
rmacklem [Thu, 25 Oct 2012 00:50:14 +0000 (00:50 +0000)]
MFC: r241582
Add a comment describing why r241097 was done.

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

11 years agoMFC r241976: Add the release package directory for 9.1-RELEASE.
kensmith [Wed, 24 Oct 2012 02:07:02 +0000 (02:07 +0000)]
MFC r241976: Add the release package directory for 9.1-RELEASE.

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

11 years agoMFC r228120:
brooks [Tue, 23 Oct 2012 21:20:05 +0000 (21:20 +0000)]
MFC r228120:

Allow NO_FOO to override WITH_FOO that could be specified in /etc/src.conf.

This is required to override knobs (e.g. WITH_PROFILE) during buildworld
stages in Makefile.inc1 (otherwise the build is stopped due to both WITH_FOO
and WITHOUT_FOO defined).

PR: misc/172873

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

11 years agoRemove attempt to use an empty NORMAL_CTFCONVERT and always fall back to
jhb [Tue, 23 Oct 2012 19:04:49 +0000 (19:04 +0000)]
Remove attempt to use an empty NORMAL_CTFCONVERT and always fall back to
using a the null "@:" command if CTF is disabled.

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

11 years agoRemove attempt to use an empty CTFCONVERT_CMD and always fall back to using
jhb [Tue, 23 Oct 2012 12:39:17 +0000 (12:39 +0000)]
Remove attempt to use an empty CTFCONVERT_CMD and always fall back to using
a the null "@:" command if CTF is disabled.

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

11 years agoMFC: r241740
marius [Mon, 22 Oct 2012 11:10:15 +0000 (11:10 +0000)]
MFC: r241740

- Remove an unused header.
- Don't waste a delay slot.

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

11 years agoMerge of 241869
edwin [Mon, 22 Oct 2012 10:30:43 +0000 (10:30 +0000)]
Merge of 241869

Import of tzdata2012g

 - Fix end of DST in Gaza and Hebron
 - Western Samoa: DST start at 30 Septembet 2012 and finished at 7 April 2013.

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

11 years agoMFC: r241679
marius [Sun, 21 Oct 2012 11:43:47 +0000 (11:43 +0000)]
MFC: r241679

It turns out that as documented, PCF8563_R_SECOND_VL (i.e. battery low)
doesn't automatically clear when VDD rises above Vlow again and needs to be
cleared manually. However, apparently this needs all of the time registers
to be set, i.e. pcf8563_settime(), and not just PCF8563_R_SECOND in order
for PCF8563_R_SECOND_VL to stick. Thus, we just issue a warning during
pcf8563_attach() rather than failing with ENXIO in case it is set.

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

11 years agoMFC r241297: zvol: set mediasize in geom provider right upon its creation
avg [Sat, 20 Oct 2012 09:25:51 +0000 (09:25 +0000)]
MFC r241297: zvol: set mediasize in geom provider right upon its creation

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

11 years agoMFC r241280: make: report :M or :N pattern in debug mode
avg [Sat, 20 Oct 2012 09:23:13 +0000 (09:23 +0000)]
MFC r241280: make: report :M or :N pattern in debug mode

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

11 years agoMFC r241753:
delphij [Sat, 20 Oct 2012 07:39:11 +0000 (07:39 +0000)]
MFC r241753:

Integrate changes from LSI vendor driver 10.80.00.005 to FreeBSD.

PR: kern/172833
Submitted by: "Charles O'Donnell" <cao bus net>

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

11 years agoMFC r241375:
mav [Fri, 19 Oct 2012 17:45:56 +0000 (17:45 +0000)]
MFC r241375:
Cast vendor-specific spell on VIA VT1818S codecs alike to VT1708S to
make analog input loopback and dual-stream playback work by enabling
signal mixing by nid 22, as it should be according to info returned by
the CODEC.  Otherwise pin nid 28 receives only signal from DAC nid 16.

PR:             kern/169124

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

11 years agoMFC 206082,206179,207056,207057,210612,210636,210656,212423,212426,228121,
jhb [Fri, 19 Oct 2012 11:01:39 +0000 (11:01 +0000)]
MFC 206082,206179,207056,207057,210612,210636,210656,212423,212426,228121,
228124,228137,228140,228141,228147,228153,228158,228311,241395,241396:
Convert WITH_CTF into a normal build option where MK_CTF is set to yes/no
depending on WITH_CTF/WITHOUT_CTF.  In addition, WITH_CTF can now be
specified in src.conf (not recommended, there are some problems with
static executables), make.conf (would also affect ports which do not use
GNU make and do not override the compile targets) or in the kernel config
(via "makeoptions WITH_CTF=yes").

Eyeballed by: netchild, fjoe

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

11 years ago- Rename .sgml files to .xml to track the recent doc changes.
gjb [Fri, 19 Oct 2012 03:01:25 +0000 (03:01 +0000)]
- Rename .sgml files to .xml to track the recent doc changes.
- Fix Makefiles and entities where necessary to get build to
  complete without errors.

*** NOTE: This is _NOT_ an MFC, but direct commit to stable/8. ***

Hat: doceng

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

11 years agoMFC r241613:
eadler [Fri, 19 Oct 2012 00:32:19 +0000 (00:32 +0000)]
MFC r241613:
Add support for samsung HM250JI

PR: usb/121474
Approved by: cperciva (implicit)

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

11 years agoMFC r241602:
eadler [Fri, 19 Oct 2012 00:26:22 +0000 (00:26 +0000)]
MFC r241602:

Add a bunch more example completions.
Approved by: cperciva (implicit)

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

11 years agoConvert installation article to XML stanards.
gjb [Thu, 18 Oct 2012 22:21:18 +0000 (22:21 +0000)]
Convert installation article to XML stanards.

This is a direct commit to stable/8.

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

11 years agoClose colspec tags to conform to XML standards.
gjb [Thu, 18 Oct 2012 22:19:00 +0000 (22:19 +0000)]
Close colspec tags to conform to XML standards.
This commit should fix more 8-STABLE release build problems.

This is a direct commit to stable/8.

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

11 years agoMFC r240508, r240516, r240519 (gabor):
gjb [Thu, 18 Oct 2012 22:16:52 +0000 (22:16 +0000)]
MFC r240508, r240516, r240519 (gabor):

 Update stable/8/release/doc files post-XML conversion.
 This commit fixes most of the 8-STABLE release build problems.

NOTE:  stable/8 release notes are still broken with this commit, and
should be fixed with the commits that follow.

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

11 years agoMFC: r239941
marius [Thu, 18 Oct 2012 15:24:58 +0000 (15:24 +0000)]
MFC: r239941

Add a global MD macro for the VIS block size instead of duplicating
it and using magic values all over the place.

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

11 years agoMFC: r239864
marius [Thu, 18 Oct 2012 14:57:11 +0000 (14:57 +0000)]
MFC: r239864

- Unlike cache invalidation and TLB demapping IPIs, reading registers from
  other CPUs doesn't require locking so get rid of it. As the latter is used
  for the timecounter on certain machine models, using a spin lock in this
  case can lead to a deadlock with the upcoming callout(9) rework.
- Merge r134227/r167250 from x86:
  Avoid cross-IPI SMP deadlock by using the smp_ipi_mtx spin lock not only
  for smp_rendezvous_cpus() but also for the MD cache invalidation and TLB
  demapping IPIs.
- Mark some unused function arguments as such.

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

11 years agoMFC r241581:
eadler [Thu, 18 Oct 2012 01:14:22 +0000 (01:14 +0000)]
MFC r241581:

Fix minor nits:
use a comma after "i.e."
sentences begin on new lines.

No .Dd bump for trivial modification.

Approved by: cperciva (implicit)

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

11 years agoMFC r241580:
eadler [Thu, 18 Oct 2012 01:12:15 +0000 (01:12 +0000)]
MFC r241580:
Add support for the USB DISK Pro PMAP.

This patch has sit for 6 years in the PR database.

PR: usb/96381
Approved by: cperciva (implicit)

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

11 years agoMFC r241295: cngetc: use cpu_spinwait to ease the cncheckc loop a tiny bit
avg [Wed, 17 Oct 2012 11:30:25 +0000 (11:30 +0000)]
MFC r241295: cngetc: use cpu_spinwait to ease the cncheckc loop a tiny bit

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

11 years agoMFC r240831: zfs: allow a zvol to be used as a pool vdev, again
avg [Wed, 17 Oct 2012 11:28:44 +0000 (11:28 +0000)]
MFC r240831: zfs: allow a zvol to be used as a pool vdev, again

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

11 years agoMFC r241303: kvm_getprocs: gracefully handle errors from kvm_deadprocs
avg [Wed, 17 Oct 2012 11:26:48 +0000 (11:26 +0000)]
MFC r241303: kvm_getprocs: gracefully handle errors from kvm_deadprocs

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

11 years agoMFC r241291: zfs boot spa_status: print bootfs for each reported pool
avg [Wed, 17 Oct 2012 11:24:19 +0000 (11:24 +0000)]
MFC r241291: zfs boot spa_status: print bootfs for each reported pool

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

11 years agoMFC r241552:
eadler [Wed, 17 Oct 2012 00:33:10 +0000 (00:33 +0000)]
MFC r241552:
Add support for  Feiya Elango USB MicroSD

PR: usb/153599
Approved by: cperciva (implicit)

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

11 years agoMFC r241551:
eadler [Wed, 17 Oct 2012 00:30:33 +0000 (00:30 +0000)]
MFC r241551:
Add support for the Buffalo RUF2 flash drive.

PR: usb/166848
Approved by: cperciva (implicit)

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

11 years agoMFC r240955 (partial):
mm [Tue, 16 Oct 2012 19:59:13 +0000 (19:59 +0000)]
MFC r240955 (partial):
Remove unsupported "-r" option from zfs send.

Illumos issued covered:
2811 missing implementation: zfs send -r

PR: kern/171761

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

11 years agomx1 -> smarthost.ysv
peter [Mon, 15 Oct 2012 14:15:15 +0000 (14:15 +0000)]
mx1 -> smarthost.ysv

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

11 years agoMFC: r241097
rmacklem [Mon, 15 Oct 2012 01:13:36 +0000 (01:13 +0000)]
MFC: r241097
Attila Bogar and Herbert Poeckl both reported similar problems
w.r.t. a Linux NFS client doing a krb5 NFS mount against the
FreeBSD server. We determined this was a Linux bug:
http://www.spinics.net/lists/linux-nfs/msg32466.html, however
the mount failed to work, because the Destroy operation with a
bogus encrypted checksum destroyed the authenticator handle.
This patch changes the rpcsec_gss code so that it doesn't
Destroy the authenticator handle for this case and, as such,
the Linux mount will work.

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

11 years agoMFC r241302: kvm_proclist: ignore processes in larvae state
avg [Sun, 14 Oct 2012 07:55:14 +0000 (07:55 +0000)]
MFC r241302: kvm_proclist: ignore processes in larvae state

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

11 years agoMFC r241282: zfs boot: chose a "first" pool if none is explicitly requested
avg [Sun, 14 Oct 2012 07:52:38 +0000 (07:52 +0000)]
MFC r241282: zfs boot: chose a "first" pool if none is explicitly requested

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

11 years agoMFC r241290: boot/zfs: a small whitespace cleanup
avg [Sun, 14 Oct 2012 07:45:46 +0000 (07:45 +0000)]
MFC r241290: boot/zfs: a small whitespace cleanup

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

11 years agoMFC r240339: openssl: change SHLIB_VERSION_NUMBER to reflect the reality
avg [Sun, 14 Oct 2012 07:28:42 +0000 (07:28 +0000)]
MFC r240339: openssl: change SHLIB_VERSION_NUMBER to reflect the reality

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

11 years agoMFC r240634: acpi_cpu: explicitly notify userland about c-state changes
avg [Sun, 14 Oct 2012 07:18:32 +0000 (07:18 +0000)]
MFC r240634: acpi_cpu: explicitly notify userland about c-state changes

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

11 years agoMFC r241373:
eadler [Fri, 12 Oct 2012 02:12:52 +0000 (02:12 +0000)]
MFC r241373:
Remove undefined behavior from sranddev() and
srandomdev(). This doesn't actually work
with any modern C compiler:

In particular, both clang and modern gcc
verisons silently elide any xor operation
with 'junk'.

Approved by: cperciva (implicit)

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

11 years agoMFC r240389,r240409:
eadler [Fri, 12 Oct 2012 02:10:26 +0000 (02:10 +0000)]
MFC r240389,r240409:
-  Add support for ipv6 addresses as destination
-  Add documentation for IPv6 support

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

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

11 years agoSwitch freebsd.org nullhost cluster machines from hub to mx1.
peter [Thu, 11 Oct 2012 20:50:59 +0000 (20:50 +0000)]
Switch freebsd.org nullhost cluster machines from hub to mx1.

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

11 years agoRecord mergeinfo for r241443 to ease future imports.
delphij [Thu, 11 Oct 2012 18:11:38 +0000 (18:11 +0000)]
Record mergeinfo for r241443 to ease future imports.

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

11 years agoUpdate to 9.6-ESV-R7-P4
erwin [Thu, 11 Oct 2012 13:25:09 +0000 (13:25 +0000)]
Update to 9.6-ESV-R7-P4

Prevents a lockup when queried a deliberately constructed combination
of records. [CVE-2012-5166]

For more information: https://kb.isc.org/article/AA-00801

Approved by: bz

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

11 years agoMFC r241134:
eadler [Wed, 10 Oct 2012 21:30:26 +0000 (21:30 +0000)]
MFC r241134:
Fix alignment related warnings reported by gcc
Switch from old style arguments to modern C
remove WARNS as a result

tested with "make universe"

Approved by: cperciva (implicit)

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

11 years agoMFC r241119:
eadler [Wed, 10 Oct 2012 21:27:29 +0000 (21:27 +0000)]
MFC r241119:
Provide a generic way to disable devices at boot time

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

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

11 years agoMFC r241118:
eadler [Wed, 10 Oct 2012 21:21:53 +0000 (21:21 +0000)]
MFC r241118:
Implement the Sun/GNU extension of using a default
prefix when no arguments are supplied.

Approved by: cperciva (implicit)

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

11 years agoMFC r241117:
eadler [Wed, 10 Oct 2012 21:20:34 +0000 (21:20 +0000)]
MFC r241117:
add SG state type

PR: bin/171664
Approved by: cperciva (implicit)

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

11 years agoMFC r240695:
jimharris [Tue, 9 Oct 2012 20:06:16 +0000 (20:06 +0000)]
MFC r240695:

Add constants for programming interfaces for NVM/solid state storage
controller sub-class code.

Reference:  PCI Code and ID Assignment Specification Rev 1.2

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

11 years agoMFC r240901:
jimharris [Tue, 9 Oct 2012 19:59:22 +0000 (19:59 +0000)]
MFC r240901:

Use CAM_SEL_TIMEOUT and CAM_DEV_NOT_THERE to report missing targets or
LUNs respectively.  This removes a huge number of error messages
from CAM during bus scans.

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

11 years agoMFC r240900:
jimharris [Tue, 9 Oct 2012 19:57:18 +0000 (19:57 +0000)]
MFC r240900:

Specify MTX_RECURSE for the controller's io_lock.  Without it, tws(4)
immediately panics on boot with INVARIANTS enabled.  The driver already
clearly expects to be able to recurse on this mutex - the main I/O path
is always recursing on this lock.

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

11 years agoMFC 201279,201280,201286,213907,214146,220195,222753,223371,225515,235833:
jhb [Tue, 9 Oct 2012 18:45:08 +0000 (18:45 +0000)]
MFC 201279,201280,201286,213907,214146,220195,222753,223371,225515,235833:
Various fixes to managing PCI BARs including proper support for managing
PCI ROM BARs:
- Teach the PCI bus driver to handle PCIR_BIOS BARs properly and remove
  special handling for the PCIR_BIOS decoding enable bit from the cardbus
  driver.  The PCIR_BIOS BAR does include type bits like other BARs.
  Instead, it is always a 32-bit non-prefetchable memory BAR where the low
  bit is used as a flag to enable decoding.
- Explicitly track the state of all known BARs for each PCI device.  The PCI
  bus driver will now remember the size of a BAR obtained during the initial
  bus scan and use that size when doing lazy resource allocation rather than
  resizing the BAR.  The bus driver will now also report unallocated BARs to
  userland for display by 'pciconf -lb'.
- Add a constant for the offset of the ROM BIOS BAR in PCI-PCI bridges and
  properly handle ROM BIOS BARs in PCI-PCI bridges.  The PCI bus now also
  properly handles the lack of a ROM BIOS BAR in a PCI-Cardbus bridge.

Tested by: John Kozubik  john kozubik com

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

11 years agoMFC r240879
sbruno [Tue, 9 Oct 2012 18:02:05 +0000 (18:02 +0000)]
MFC r240879

This patch fixes a nit in the em, lem, and igb driver statistics.  Increment
adapter->dropped_pkts instead of if_ierrors because if_ierrors is
overwritten by hw stats collection.

Submitted by: Andrew Boyer <aboyer@averesystems.com>
Reviewed by:  Jack F Vogel <jfv@freebsd.org>

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

11 years agoMF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977
obrien [Tue, 9 Oct 2012 05:06:30 +0000 (05:06 +0000)]
MF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977
  * Deprecate the FreeBSD 10's make's ":U" (to-upper case) and ":L"
    (to-lower case) modifiers for ":tu" and ":tl".
  * make it easier to test newly-built make.
  * Add "-V '${VAR}'" variable expansion from Portable Berkeley Make.
  * regression test for '-V' command line option and the :t[lu] modifiers.

MF9: r241364: Update MAKE_VERSION for r237100.

MFC: r201225: add missing `void' keyword.

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

11 years agoMFC r240973: find: Do not pass fd to save current directory to child
jilles [Mon, 8 Oct 2012 16:00:33 +0000 (16:00 +0000)]
MFC r240973: find: Do not pass fd to save current directory to child
processes.

This removes one of the two wrongly passed file descriptors. The other one
appears to be from fts(3).

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

11 years agoMFC r240974: atrun: Do not assume that MAXLOGNAME <= 100.
jilles [Mon, 8 Oct 2012 14:05:00 +0000 (14:05 +0000)]
MFC r240974: atrun: Do not assume that MAXLOGNAME <= 100.

The reserved space for fmt was exactly sufficient for a two-digit value of
MAXLOGNAME - 1.

PR: bin/171815
Submitted by: Jeremy Huddleston Sequoia

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