]>
CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
mav [Fri, 16 Nov 2012 02:55:03 +0000 (02:55 +0000)]
MFC r232380:
Fix names of some Marvell SATA chips. It looks like chips with proprietary
interface supported by mvs(4) are 88SX, while AHCI-like chips are 88SE.
PR: kern/165271
git-svn-id: svn://svn.freebsd.org/base/stable/8@243120
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
bapt [Thu, 15 Nov 2012 18:05:34 +0000 (18:05 +0000)]
MFC r243022:
small style fix
git-svn-id: svn://svn.freebsd.org/base/stable/8@243093
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
n_hibma [Thu, 15 Nov 2012 15:49:37 +0000 (15:49 +0000)]
MFC 242784:
Not only load pccard_ether settings, also load network settings. This
is only a problem when a /etc/rc.conf.d/network file is being used.
PR: conf/160373
Submitted by: n_hibma
git-svn-id: svn://svn.freebsd.org/base/stable/8@243087
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Thu, 15 Nov 2012 06:04:39 +0000 (06:04 +0000)]
MFC r242417:
ASUS EeePC 1001px has strange variant of ALC269 CODEC, that mutes speaker
if unused in that configuration mixer at NID 15 is muted. Probably CODEC
incorrectly reports its internal connections. Hide that muter from the
driver to avoid muting and make built-in speaker work.
There are several different CODECs sharing this ID and I have not enough
information about them and the bug to implement more universal solution.
git-svn-id: svn://svn.freebsd.org/base/stable/8@243065
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Thu, 15 Nov 2012 05:58:37 +0000 (05:58 +0000)]
MFC r242357:
Set all pins initial connection status to unknown (2) and then update it
with the real value in regular way if sensing is supported. This fixes
minor inconsistency when playback redirection appeared in undefined state
on boot if headphones were not connected.
git-svn-id: svn://svn.freebsd.org/base/stable/8@243063
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Thu, 15 Nov 2012 05:55:30 +0000 (05:55 +0000)]
MFC r242352:
Print card and subsystem IDs in verbose logs to help to identify system.
Hide some less useful messages under debug.
git-svn-id: svn://svn.freebsd.org/base/stable/8@243061
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Thu, 15 Nov 2012 05:46:02 +0000 (05:46 +0000)]
MFC r240762:
Restore handling of the third argument (id) of hid_start_parse(), same as
it is done in NetBSD/OpenBSD, and as it was here before r205728.
I personally think this API or its implementation is incorrect, as it is not
correct to filter collections based on report ID, as they are orthogonal
in general case, but I see no harm from supporting this feature.
PR: usb/171810
git-svn-id: svn://svn.freebsd.org/base/stable/8@243059
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Thu, 15 Nov 2012 05:34:14 +0000 (05:34 +0000)]
MFC r242314:
Make GEOM RAID more aggressive in marking volumes as clean on shutdown
and move that action from shutdown_pre_sync to shutdown_post_sync stage
to avoid extra flapping.
ZFS tends to not close devices on shutdown, that doesn't allow GEOM RAID
to shutdown gracefully. To handle that, mark volume as clean just when
shutdown time comes and there are no active writes.
git-svn-id: svn://svn.freebsd.org/base/stable/8@243057
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
eadler [Wed, 14 Nov 2012 00:34:10 +0000 (00:34 +0000)]
MFC r242814:
Add support for Advantech PCI-1602 RS-485/RS-422 serial card
PR: kern/169726
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@243009
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
edwin [Tue, 13 Nov 2012 21:20:30 +0000 (21:20 +0000)]
Merge of current of tzdata2012j
- Libya went to Standard Time on 10 November 2012
git-svn-id: svn://svn.freebsd.org/base/stable/8@243006
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mjg [Tue, 13 Nov 2012 19:20:57 +0000 (19:20 +0000)]
MFC r242372:
atrun(8): scale default load average limit with the number of CPUs
Previously atrun refused to run jobs if load average was not below fixed limit of 1.5.
PR: 173175
Approved by: trasz (mentor)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242991
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
hselasky [Tue, 13 Nov 2012 17:16:03 +0000 (17:16 +0000)]
MFC 228304:
Correct some bInterval USB template descriptor values.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242987
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
hselasky [Tue, 13 Nov 2012 17:11:36 +0000 (17:11 +0000)]
MFC r240750, r241987 and r242126:
Add missing CTLFLAG_TUN flag to tunable sysctls in the USB stack.
Adjust timing parameters of FULL/LOW/HIGH speed USB enumeration
and make these timing parameters tunable. This patch will fix
enumeration with some USB devices.
Fix a typo.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242986
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
hselasky [Tue, 13 Nov 2012 17:04:44 +0000 (17:04 +0000)]
MFC r238551 and r239617:
Add support for Intel Panther/Lynx Point XHCI port routing.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242985
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
hselasky [Tue, 13 Nov 2012 17:01:58 +0000 (17:01 +0000)]
MFC r238466 and r242777:
Implement non-PHY support in the udav driver.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242984
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
hselasky [Tue, 13 Nov 2012 16:59:42 +0000 (16:59 +0000)]
MFC r242127, r240078, r240609, r241988, r242129, r242223, r242438,
r242453, r242455 and r242458:
Add full support for Fast Track Ultra 8R from M-audio.
Implement support for USB Audio v2.0.
Remove some redundant USB audio v1.0 debug data. Use lsusb instead.
Implement support for the so-called USB feedback endpoint for USB
audio devices.
Export all mixer nodes into dev.pcm.X.mixer.Y sysctl nodes.
Fix a memory leak of mixer data at USB audio device detach.
PR: usb/171254
git-svn-id: svn://svn.freebsd.org/base/stable/8@242983
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
obrien [Tue, 13 Nov 2012 06:12:26 +0000 (06:12 +0000)]
MF9: MFC: r242137: Iterate rather than use recursion.
We can blow out the kernel stack if there is a long chain of fork(2)s.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242950
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
edwin [Mon, 12 Nov 2012 20:48:52 +0000 (20:48 +0000)]
Merge of current of 242925, tzdata2012i
- Cuba is changing back to Standard Time on 4 November 2012.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242930
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
bapt [Mon, 12 Nov 2012 14:14:01 +0000 (14:14 +0000)]
Remove useless atoi(3), previous strspn(3) makes sure that a_name->val is a
number.
This also allow pw user show to work as expected.
PR: bin/172112
Submitted by: Ilya A. Arkhipov <rum1cro@yandex.ru>
git-svn-id: svn://svn.freebsd.org/base/stable/8@242917
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
bapt [Mon, 12 Nov 2012 14:05:40 +0000 (14:05 +0000)]
add support for newer Lenovo ThinkPads to acpi_ibm
PR: kern/164538
Submitted by: Pierre Imai <pierre@imai.at>
git-svn-id: svn://svn.freebsd.org/base/stable/8@242915
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
dim [Mon, 12 Nov 2012 07:47:19 +0000 (07:47 +0000)]
MFC r242625:
Remove duplicate const specifiers in many drivers (I hope I got all of
them, please let me know if not). Most of these are of the form:
static const struct bzzt_type {
[...list of members...]
} const bzzt_devs[] = {
[...list of initializers...]
};
The second const is unnecessary, as arrays cannot be modified anyway,
and if the elements are const, the whole thing is const automatically
(e.g. it is placed in .rodata).
I have verified this does not change the binary output of a full kernel
build (except for build timestamps embedded in the object files).
Reviewed by: yongari, marius
git-svn-id: svn://svn.freebsd.org/base/stable/8@242909
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
eadler [Sun, 11 Nov 2012 04:07:09 +0000 (04:07 +0000)]
MFC r242583:
Add support for a few more devices:
PNP0510 and FUJ02E5 for a "Wacom Tablet at FuS Lifebook T"
PNP0502 and PNP0511 for some other generic devices.
PR: kern/173357
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242883
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sat, 10 Nov 2012 12:08:18 +0000 (12:08 +0000)]
MFC r242565: cpuctl_do_cpuid: explicitly use ecx=0 for cpuid call
git-svn-id: svn://svn.freebsd.org/base/stable/8@242861
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sat, 10 Nov 2012 12:06:36 +0000 (12:06 +0000)]
MFC r241773: zfs: wait in arc_lowmem only if curproc == pageproc
git-svn-id: svn://svn.freebsd.org/base/stable/8@242859
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sat, 10 Nov 2012 12:04:22 +0000 (12:04 +0000)]
MFC r241540: pciereg_cfg*: use assembly to access the mem-mapped cfg space
git-svn-id: svn://svn.freebsd.org/base/stable/8@242857
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mjg [Fri, 9 Nov 2012 19:45:17 +0000 (19:45 +0000)]
MFC r242680:
Fix possible spurious sbunlock in sctp_sorecvmsg.
Approved by: trasz (mentor)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242839
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
eadler [Fri, 9 Nov 2012 00:35:54 +0000 (00:35 +0000)]
MFC r242462:
10 years too late add support for "2.88MB 3.5in Extra High Density"
floppies.
Its unlikely that anyone actually uses these or cares about these
anymore, since we support other floppy types and this change doesn't
hurt - just add it.
PR: conf/40777
Arrival-Date: Fri Jul 19 08:50:02 PDT 2002
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242809
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jilles [Thu, 8 Nov 2012 13:50:33 +0000 (13:50 +0000)]
MFC r242460: fopen(3): Mention that the "x" mode option is from C11.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242773
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jilles [Thu, 8 Nov 2012 13:43:20 +0000 (13:43 +0000)]
MFC r242429: fcntl(2): Fix typos in name of constant "F_DUP2FD_CLOEXEC".
git-svn-id: svn://svn.freebsd.org/base/stable/8@242770
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
yongari [Thu, 8 Nov 2012 02:08:42 +0000 (02:08 +0000)]
MFC r242425:
Remove TCP/UDP checksum offloading feature for IP fragmented
datagrams. Traditionally upper stack fragmented packets without
computing TCP/UDP checksum and these datagrams were passed to
driver. But there are chances that other packets slip into the
interface queue in SMP world. If this happens firmware running on
MIPS 4000 processor in the controller would see mixed packets and
it shall send out corrupted packets.
While I'm here simplify checksum offloading setup.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242740
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
yongari [Tue, 6 Nov 2012 02:20:44 +0000 (02:20 +0000)]
MFC r241340:
Fix typo. Check against number of allocated MSI-X vectors.
There is no ale(4) controller that supports MSI-X so this is not
real issue.
PR: kern/171825
git-svn-id: svn://svn.freebsd.org/base/stable/8@242653
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Tue, 6 Nov 2012 02:08:09 +0000 (02:08 +0000)]
MFC r241329:
Make graid command line a bit more friendly by allowing volume name or
provider name to be specified instead of geom name (first argument in all
subcommands except label). In most cases there is only one array used
any way, so it is not really useful to make user type ugly geom names like
Intel-
f0bdf223 or SiI-
732c2b9448cf . Though they can be used in some cases.
Sponsored by: iXsystems, Inc.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242651
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
yongari [Tue, 6 Nov 2012 01:04:46 +0000 (01:04 +0000)]
MFC r242348:
TSO engine of L1 requires a separate DMA descriptor for TCP
payload. This means driver has to split a TX buffer into two
pieces of TX buffers when the TX buffer contains both
ethernet/IP/TCP header and partial TCP payload. The controller
does not require all header should be in a TX buffer but driver
forced it to compute IP/TCP header size/offset which is required
parameter to configure DMA descriptor for TSO.
While here, slightly reorder DMA descriptor setup to enhance
readability and remove unnecessary code for TSO(upper stack never
requests TSO when the frame length is less than or equal to MTU).
Reported by: Yamagi Burmeister <lists <> yamagi dot org>
Tested by: Yamagi Burmeister <lists <> yamagi dot org>
git-svn-id: svn://svn.freebsd.org/base/stable/8@242645
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
eadler [Tue, 6 Nov 2012 00:55:43 +0000 (00:55 +0000)]
MFC r242514,r242541:
Revert the change that makes less default.
Since I've committed this I've receieved roughly an equal
amount of email thanking me for making this change
and asking me to revert it.
I've resisted making this change because
new users tend to prefer less over more
and these users are the least likely to know
how to change the PAGER on their own.
Requested by: many
Objected to: just as many
Decision made by: core
====
Change default prompt to show ~ again for the home directory
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242642
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
des [Mon, 5 Nov 2012 12:57:07 +0000 (12:57 +0000)]
MFH r225815 (partial): adjust copyright statement
git-svn-id: svn://svn.freebsd.org/base/stable/8@242613
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
des [Mon, 5 Nov 2012 12:42:02 +0000 (12:42 +0000)]
MFH r240496: use libmd if and only if OpenSSL is not available
git-svn-id: svn://svn.freebsd.org/base/stable/8@242610
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
des [Mon, 5 Nov 2012 10:45:37 +0000 (10:45 +0000)]
MFH r225813, r233648: man page fixes
MFH r234837: avoid busy-loop on slow connections
MFH r234838: don't reuse credentials when redirected to another host
MFH r240496: use libmd if and only if OpenSSL is not available
git-svn-id: svn://svn.freebsd.org/base/stable/8@242607
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 4 Nov 2012 13:42:34 +0000 (13:42 +0000)]
MFC r241538: acpi_thermal: when _ACx is tripped, all _ALi i>= x should be on
git-svn-id: svn://svn.freebsd.org/base/stable/8@242564
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 4 Nov 2012 13:32:26 +0000 (13:32 +0000)]
MFC r241299: boot/console: handle consoles that fail to probe
git-svn-id: svn://svn.freebsd.org/base/stable/8@242558
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 4 Nov 2012 13:30:04 +0000 (13:30 +0000)]
MFC r241286,r242135: zfs_mount: taste geom providers for root pool config
git-svn-id: svn://svn.freebsd.org/base/stable/8@242555
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
eadler [Sun, 4 Nov 2012 01:20:57 +0000 (01:20 +0000)]
MFC r241844:
remove duplicate semicolons where possible.
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242543
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
eadler [Sun, 4 Nov 2012 00:30:42 +0000 (00:30 +0000)]
MFC r242452:
The test fails with "exit 1" if /usr/games/fortune doesn't actually
exist. Fix that.
PR: conf/71994
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242537
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jamie [Fri, 2 Nov 2012 01:32:22 +0000 (01:32 +0000)]
MFC r225191:
Delay the recursive decrement of pr_uref when jails are made invisible
but not removed; decrement it instead when the child jail actually
goes away. This avoids letting the counter go below zero in the case
where dying (pr_uref==0) jails are "resurrected", and an associated
KASSERT panic.
PR: kern/173120
Submitted by: Steven Hartland
git-svn-id: svn://svn.freebsd.org/base/stable/8@242464
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jimharris [Thu, 1 Nov 2012 20:47:18 +0000 (20:47 +0000)]
MFC r242085:
For PCI Express capability, if max link width is greater than zero, print
the current and max link speed.
Sponsored by: Intel
git-svn-id: svn://svn.freebsd.org/base/stable/8@242457
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jh [Wed, 31 Oct 2012 17:01:56 +0000 (17:01 +0000)]
MFC r238653: Use proper error message when fstat(2) fails on stdout.
PR: bin/159746
git-svn-id: svn://svn.freebsd.org/base/stable/8@242400
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jh [Wed, 31 Oct 2012 17:00:36 +0000 (17:00 +0000)]
MFC r238652: style(9).
git-svn-id: svn://svn.freebsd.org/base/stable/8@242399
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
zont [Tue, 30 Oct 2012 21:05:06 +0000 (21:05 +0000)]
MFC r241735:
- Update cachelimit after hashsize and bucketlimit were set.
Approved by: kib (mentor)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242377
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
np [Tue, 30 Oct 2012 19:24:05 +0000 (19:24 +0000)]
MFC r242087:
Initialize the response queue mutex a bit earlier to avoid a panic that
occurs if t3_sge_alloc_qset fails and then t3_free_qset attempts to
destroy an uninitialized mutex.
git-svn-id: svn://svn.freebsd.org/base/stable/8@242370
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mdf [Tue, 30 Oct 2012 17:05:28 +0000 (17:05 +0000)]
MFC r242152:
Const-ify the zone name argument to uma_zcreate(9).
git-svn-id: svn://svn.freebsd.org/base/stable/8@242366
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
eadler [Tue, 30 Oct 2012 15:25:23 +0000 (15:25 +0000)]
MFC r241917:
Now that device disabling is generic, remove extraneous code from the
device drivers that used to provide this feature.
Approved by: cperciva (implicit)
git-svn-id: svn://svn.freebsd.org/base/stable/8@242363
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
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