]>
CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
eadler [Tue, 30 Oct 2012 03:30:00 +0000 (03:30 +0000)]
MFC r241851:
Add Danish keyboard model for macbooks to syscons.
(not verified to be accurate)
PR: conf/146793
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242338
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
eadler [Tue, 30 Oct 2012 03:21:28 +0000 (03:21 +0000)]
MFC r241857:
Add support for the "&" character in usernames.
Charlie & finally has his last name.
PR: gnu/37910
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242336
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
hselasky [Mon, 29 Oct 2012 08:16:31 +0000 (08:16 +0000)]
MFC r240615:
Add UQ_UMS_IGNORE quirk.
Wrap two long lines.
Some minor spelling correction.
This fixes build of 8-stable.
PR: usb/171721
git-svn-id: svn://svn.freebsd.org/base/stable/8@242303
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
eadler [Mon, 29 Oct 2012 04:51:50 +0000 (04:51 +0000)]
MFC r241855:
Update the kill(2) and killpg(2) man pages to the modern permission
checks. Also indicate killpg(2) is POSIX compliant.
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242297
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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