]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
10 years agoMFC r227183,r229905,r250432,r250451,r250882:
eadler [Thu, 13 Jun 2013 21:06:17 +0000 (21:06 +0000)]
MFC r227183,r229905,r250432,r250451,r250882:

- Add missing static keywords to split(1)

- Fix warning when compiling with gcc46:
 error: variable 'defname' set but not use

- Implement 'split -d' which allows a numeric suffix instead of an
alphabetic one.

- Bump .Dd for recent content change.
Avoid signed overflow in error handling code.

PR: bin/116209

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

10 years agoMFC 249766: Use a higher TTL (128) for DHCP packets.
jhb [Thu, 13 Jun 2013 21:03:23 +0000 (21:03 +0000)]
MFC 249766: Use a higher TTL (128) for DHCP packets.

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

10 years agoMFC 249315:
jhb [Thu, 13 Jun 2013 21:01:33 +0000 (21:01 +0000)]
MFC 249315:
Proxy allocation requests for the PCI ROM BAR from child devices similar
to how the VGA bus driver currently proxies allocation requests for other
PCI BARs.

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

10 years agoMFC r250462:
eadler [Thu, 13 Jun 2013 20:46:30 +0000 (20:46 +0000)]
MFC r250462:
Add option to lockf to avoid creating a file if it does not exist.

PR: bin/170775

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

10 years agoMFC r251109:
eadler [Thu, 13 Jun 2013 20:41:09 +0000 (20:41 +0000)]
MFC r251109:
Add support for tethering on the iPhone 4S

PR: usb/179078

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

10 years agoMFC 249263: Fix a potential socket leak in the NFS server.
jhb [Thu, 13 Jun 2013 19:35:56 +0000 (19:35 +0000)]
MFC 249263: Fix a potential socket leak in the NFS server.

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

10 years agoDocument an issue in vtnet(4) + QEMU 1.4.1 or later.
hrs [Thu, 13 Jun 2013 05:51:59 +0000 (05:51 +0000)]
Document an issue in vtnet(4) + QEMU 1.4.1 or later.

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

10 years agoMFC r251249, r251251, r251252, r251253, r251254 and r251515:
hselasky [Tue, 11 Jun 2013 06:22:09 +0000 (06:22 +0000)]
MFC r251249, r251251, r251252, r251253, r251254 and r251515:
Correct XHCI DMA descriptor programming.
Correct maximum IRQ rate.

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

10 years agoMFC r251324:
kib [Mon, 10 Jun 2013 04:23:11 +0000 (04:23 +0000)]
MFC r251324:
Assert that interrupts are enabled in the trap handlers on x86 before
calling generic code to deliver signals.

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

10 years agoMFC r247221:
markj [Sun, 9 Jun 2013 17:47:16 +0000 (17:47 +0000)]
MFC r247221:
Merge part of r1712 from elftoolchain, making it possible to resize ELF
sections and indirectly change the layout of an ELF file when
ELF_F_LAYOUT is not set.

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

10 years ago- Remove bge(4) item [*].
hrs [Sun, 9 Jun 2013 15:08:51 +0000 (15:08 +0000)]
- Remove bge(4) item [*].
- Add jail_parameters incompatibility.

Discussed with: yongari [*]

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

10 years agoMFC r250939:
markj [Sat, 8 Jun 2013 15:48:29 +0000 (15:48 +0000)]
MFC r250939:
Correct the description of the -a option: rtsol(d) -a will in fact send out
router solicitations on multiple interfaces.

MFC r251059:
- Fix wording.
- Improve the descriptions in the FILES section.

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

10 years agoMFC r250941:
markj [Sat, 8 Jun 2013 15:47:18 +0000 (15:47 +0000)]
MFC r250941:
Include descriptions of the flags and fields printed when dumping the IPv6
prefix list.

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

10 years agoMFC r235647 for newsyslog (by gleb):
markj [Sat, 8 Jun 2013 15:46:09 +0000 (15:46 +0000)]
MFC r235647 for newsyslog (by gleb):
Hide DIR definition by making it an opaque struct typedef.

Introduce dirfd() libc exported symbol replacing macro with same name,
preserve _dirfd() macro for internal use.

Replace dirp->dd_fd with dirfd() call. Avoid using dirfd as variable
name to prevent shadowing global symbol.

MFC r250545:
Some filesystems (NFS in particular) do not fill out the d_type field when
returning directory entries through readdir(3). In this case we need to
obtain the file type ourselves; otherwise newsyslog -t will not be able to
find archived log files and will fail to both delete old log files and to
do interval-based rotations properly.

MFC r251240:
We want to stat the archived log file rather than the logfile itself.

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

10 years agoRevert the previous change and fix the tag name.
hrs [Sat, 8 Jun 2013 13:48:27 +0000 (13:48 +0000)]
Revert the previous change and fix the tag name.

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

10 years agoOne more s/RELEASE_8_4_0/RELENG_8_4_0_RELEASE/
hrs [Sat, 8 Jun 2013 13:45:43 +0000 (13:45 +0000)]
One more s/RELEASE_8_4_0/RELENG_8_4_0_RELEASE/

Spotted by: nyan

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

10 years agos/RELEASE_8_4_0/RELENG_8_4_0_RELEASE/
hrs [Sat, 8 Jun 2013 13:40:36 +0000 (13:40 +0000)]
s/RELEASE_8_4_0/RELENG_8_4_0_RELEASE/

Spotted by: nyan

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

10 years agoDocument that CVS repository is no longer supported.
hrs [Sat, 8 Jun 2013 12:10:52 +0000 (12:10 +0000)]
Document that CVS repository is no longer supported.

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

10 years agoMF9: r237968, r251504:
obrien [Fri, 7 Jun 2013 21:39:46 +0000 (21:39 +0000)]
MF9: r237968, r251504:
   MFC: r251368, r251382: Match the options of the kernel.
   MFC: r237279: install filemon.h into /usr/include for userland consumption.

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

10 years agoAdd the entry for 8.4-RELEASE.
pluknet [Fri, 7 Jun 2013 15:52:33 +0000 (15:52 +0000)]
Add the entry for 8.4-RELEASE.

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

10 years agoMFC r249895:
smh [Fri, 7 Jun 2013 13:59:41 +0000 (13:59 +0000)]
MFC r249895:
Add Host Protected Area (HPA) support to camcontrol

MFC r249904:
mdoc: remove superfluous paragraph macro.

MFC r249153: (included in r251494)
mdoc: remove superfluous paragraph macro.

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

10 years agoMFC r249115:
smh [Fri, 7 Jun 2013 13:30:59 +0000 (13:30 +0000)]
MFC r249115:
Adds security command to camcontrol which provides the ability to secure erase
SSD's

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

10 years agoMFC r251061:
smh [Fri, 7 Jun 2013 12:42:49 +0000 (12:42 +0000)]
MFC r251061:
More 4k quirks for SSD's

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

10 years agoMFC r250792:
smh [Fri, 7 Jun 2013 12:33:40 +0000 (12:33 +0000)]
MFC r250792:
Added output of device QUIRKS for CAM and AHCI devices during boot.

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

10 years agoEnhanced BIO_DELETE support for CAM SCSI to add ATA_TRIM support.
smh [Fri, 7 Jun 2013 12:24:15 +0000 (12:24 +0000)]
Enhanced BIO_DELETE support for CAM SCSI to add ATA_TRIM support.

Disable CAM BIO queue sorting for non-rotating media by default.

MFC r245253 Use sysctl tunable values for scsi_da & retry_count (stable/8 only)
MFC r249939 Added available delete methods discovery during device probe
MFC r249941 Automatically disable BIO queue sorting for non-rotating media
MFC r250033 Correct comment typo's
MFC r250179 Update probe flow so that devices with lbp can also disable disksort
MFC r250181 Check for ATA Information VPD before querying for ATA
MFC r250183 Enable CAM SCSI to choice ATA TRIM during autodetection
MFC r250967 Enforce validation on the selected delete method via sysctl

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

10 years agoDocument a bge(4) issue.
hrs [Fri, 7 Jun 2013 09:06:50 +0000 (09:06 +0000)]
Document a bge(4) issue.

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

10 years agoMFC r216088:
smh [Thu, 6 Jun 2013 22:31:52 +0000 (22:31 +0000)]
MFC r216088:
Manual partial MFC of only basic VPD support for scsi_xpt

MFC r249937:
Refactored scsi_xpt use of device_has_vpd

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

10 years agoMFC r249934:
smh [Thu, 6 Jun 2013 11:47:54 +0000 (11:47 +0000)]
MFC r249934:
Updated TRIM calculations in cam/ata to be based off ATA_DSM_* defines

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

10 years agoMFC r249933:
smh [Thu, 6 Jun 2013 11:41:22 +0000 (11:41 +0000)]
MFC r249933:
Added the ability to send ATA identify and TRIM commands via SCSI

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

10 years agoMFC r249931:
smh [Thu, 6 Jun 2013 10:27:34 +0000 (10:27 +0000)]
MFC r249931:
Added Dataset Management defines to be used by TRIM

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

10 years agoMFC r249930:
smh [Thu, 6 Jun 2013 10:25:58 +0000 (10:25 +0000)]
MFC r249930:
Added a sysctl to control the maximum size of a delete request

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

10 years agoMFC r248992:
smh [Thu, 6 Jun 2013 10:09:20 +0000 (10:09 +0000)]
MFC r248992:
Added ATA Pass-Through support to CAM

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

10 years agoMFC r248922:
smh [Thu, 6 Jun 2013 10:06:32 +0000 (10:06 +0000)]
MFC r248922:
Adds the ability to enable / disable sorting of BIO requests

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

10 years agoMFC r246146:
smh [Thu, 6 Jun 2013 10:00:22 +0000 (10:00 +0000)]
MFC r246146:
Format CDB output as 2 digit hex correcting the length

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

10 years agoMFC r245253:
smh [Thu, 6 Jun 2013 09:58:23 +0000 (09:58 +0000)]
MFC r245253:
Use sysctl tuneable values for scsi_da and retry_count

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

10 years agoMFC r245252:
smh [Thu, 6 Jun 2013 09:55:00 +0000 (09:55 +0000)]
MFC r245252:
Always maintain disk d_flags

MFC r249929:
Removed unneeded tests in dadeletemethodset

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

10 years agoMFC r245251:
smh [Thu, 6 Jun 2013 09:50:42 +0000 (09:50 +0000)]
MFC r245251:
Remove essentially unused variables from scsi_da probe setups

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

10 years agoMFC r230053:
smh [Thu, 6 Jun 2013 09:45:22 +0000 (09:45 +0000)]
MFC r230053:
BIO_DELETE for SCSI da devices

MFC r239655:
Fix scsi_da's BIO_DELETE->SCSI_UNMAP translation

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

10 years agoMFC r226737:
smh [Thu, 6 Jun 2013 09:23:21 +0000 (09:23 +0000)]
MFC r226737:
Allow upper layers to discover that BIO_DELETE / BIO_FLUSH is not supported.

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

10 years agoMFC r221855:
smh [Thu, 6 Jun 2013 09:13:07 +0000 (09:13 +0000)]
MFC r221855:
Move the ZERO_REGION_SIZE to a machine-dependent

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

10 years agoMFC r221853:
smh [Thu, 6 Jun 2013 08:57:32 +0000 (08:57 +0000)]
MFC r221853:
Global zeros region

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

10 years agoMFC r221229:
smh [Thu, 6 Jun 2013 08:48:02 +0000 (08:48 +0000)]
MFC r221229:
Implement BIO_DELETE for vnode devices

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

10 years agoUpdate errata document for 8.4R:
hrs [Thu, 6 Jun 2013 06:11:43 +0000 (06:11 +0000)]
Update errata document for 8.4R:

 - dhclient does not work on fxp(4).
 - ZFS pool interoperability issue between 8.4 and 9.[01].

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

10 years agoRemove obsolete translations.
hrs [Thu, 6 Jun 2013 05:20:05 +0000 (05:20 +0000)]
Remove obsolete translations.

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

10 years agoMFC: r250746 and r250805.
hrs [Thu, 6 Jun 2013 05:17:51 +0000 (05:17 +0000)]
MFC: r250746 and r250805.
Fix build after DocBook 4.5 conversion.

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

10 years agoMFC r250286:
mav [Wed, 5 Jun 2013 18:49:28 +0000 (18:49 +0000)]
MFC r250286:
Some fixes to snd_envy24ht(4) driver:
 - Allow DMA addresses anywhere in the lower 4GB; Envy24HT has a 32-bit DMA
engine, not 28-bit like Envy24.
 - Mark interrupt handler as MPSAFE, seems to be correctly synchronized.

PR: kern/152378
Submitted by: Jason Harmening <jason.harmening@gmail.com>

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

10 years agoMFC r245250:
smh [Wed, 5 Jun 2013 11:37:00 +0000 (11:37 +0000)]
MFC r245250:
Allow perl scripts to be used in rc.d scripts

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

10 years agoMFC r219696:
smh [Wed, 5 Jun 2013 11:28:55 +0000 (11:28 +0000)]
MFC r219696:
Add ZFS to UFS-like file systems.

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

10 years agoMFC r244194:
smh [Wed, 5 Jun 2013 11:23:10 +0000 (11:23 +0000)]
MFC r244194:
Fixe zfs receive errors caused by snapshot replication being processed in
random order.

PR: kern/172259

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

10 years agoMFC r245479:
smh [Wed, 5 Jun 2013 11:16:17 +0000 (11:16 +0000)]
MFC r245479:
Report pools which have a removed l2cache disk under zpool status -x

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

10 years agoMFC r250206:
smh [Wed, 5 Jun 2013 10:53:27 +0000 (10:53 +0000)]
MFC r250206:
Fix uninitialized warning in mps

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

10 years agoMFC r248579:
smh [Wed, 5 Jun 2013 10:37:27 +0000 (10:37 +0000)]
MFC r248579:
Add missing descriptions for ZFS sysctls

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

10 years agoMFC r247426:
smh [Wed, 5 Jun 2013 10:19:21 +0000 (10:19 +0000)]
MFC r247426:
Add hw.mfi.cmd_timeout loader / sysctl tuneable.

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

10 years agoMFC r251039:
kib [Mon, 3 Jun 2013 18:17:47 +0000 (18:17 +0000)]
MFC r251039:
Use slightly more idiomatic expression to get the address of array.

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

10 years agoMFC r251038:
kib [Mon, 3 Jun 2013 18:15:48 +0000 (18:15 +0000)]
MFC r251038:
Use _MC_IA32_HASFPXSTATE name instead of _MC_HASFPXSTATE.

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

10 years agoMFC r251037:
kib [Mon, 3 Jun 2013 18:13:25 +0000 (18:13 +0000)]
MFC r251037:
The ia32_get_mcontext() does not need to set PCB_FULL_IRET.

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

10 years agoMFC 248200: Remove fortunes-o from the base system.
jhb [Mon, 3 Jun 2013 17:34:48 +0000 (17:34 +0000)]
MFC 248200: Remove fortunes-o from the base system.

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

10 years agoMFC r251033:
kib [Mon, 3 Jun 2013 17:13:37 +0000 (17:13 +0000)]
MFC r251033:
When handling an exception from the attempt from loading the faulting
context on return from the trap handler, re-enable the interrupts on
i386 and amd64.

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

10 years agoMFC 248167:
jhb [Mon, 3 Jun 2013 17:07:57 +0000 (17:07 +0000)]
MFC 248167:
Fix the 'C' field for a running thread to match the behavior described
in the manpage by having it display the current CPU (ki_oncpu) rather
than the previously used CPU (ki_lastcpu).  ki_lastcpu is still used for
all other thread states.

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

10 years agoMFC: r251186
jkim [Mon, 3 Jun 2013 16:47:46 +0000 (16:47 +0000)]
MFC: r251186

Fix a long standing logic bug introduced in r167814.  The code was added to
get RSDP from loader(8) hint via kenv(2) but the bug nullified the new code
and we always fell back to the previous method, i. e., sysctlbyname(3).

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

10 years agoMFC r250868: Remove an extra semicolon from the DOT language output.
jh [Mon, 3 Jun 2013 16:10:30 +0000 (16:10 +0000)]
MFC r250868: Remove an extra semicolon from the DOT language output.

PR: kern/178540

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

10 years agoSince release/8.4.0 tag is created, make stable/8 -STABLE again.
gjb [Sun, 2 Jun 2013 17:03:11 +0000 (17:03 +0000)]
Since release/8.4.0 tag is created, make stable/8 -STABLE again.

Approved by: re (implicit)

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

10 years agoMFC r250050:
delphij [Thu, 30 May 2013 21:50:25 +0000 (21:50 +0000)]
MFC r250050:

Add missing braces.

Submitted by: Sascha Wildner <saw online de>
Obtained from: DragonFly

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

10 years agoMFC: less v458.
delphij [Thu, 30 May 2013 20:42:51 +0000 (20:42 +0000)]
MFC: less v458.

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

10 years agoMFC 249566-249567:
jhb [Thu, 30 May 2013 20:11:31 +0000 (20:11 +0000)]
MFC 249566-249567:
Document that sem_wait() can fail with EINTR if it is interrupted by a
signal.

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

10 years agoMFC 246417,247116,248584:
jhb [Thu, 30 May 2013 19:24:29 +0000 (19:24 +0000)]
MFC 246417,247116,248584:
Rework the handling of stop signals in the NFS client.  The changes in
195702, 195703, and 195821 prevented a thread from suspending while holding
locks inside of NFS by forcing the thread to fail sleeps with EINTR or
ERESTART but defer the thread suspension to the user boundary.  However,
this had the effect that stopping a process during an NFS request could
abort the request and trigger EINTR errors that were visible to userland
processes (previously the thread would have suspended and completed the
request once it was resumed).

This change instead effectively masks stop signals while in the NFS client.
It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot
be masked directly.  Instead of setting PBDRY on individual sleeps, change
the VFS_*() and VOP_*() methods to defer stop signals for filesystems which
request this behavior via a new VFCF_SBDRY flag.  Note that this has to be
a VFC flag rather than a MNTK flag so that it works properly with
VFS_MOUNT() when the mount is not yet fully constructed.  For now, only the
NFS clients set this new flag in VFS_SET().

A few other related changes:
- Add an assertion to ensure that TDF_SBDRY doesn't leak to userland.
- When a lookup request uses VOP_READLINK() to follow a symlink, mark
  the request as being on behalf of the thread performing the lookup
  (cnp_thread) rather than using a NULL thread pointer.  This causes
  NFS to properly handle signals during this VOP on an interruptible
  mount.
- Ignore thread suspend requests due to SIGSTOP if stop signals are
  currently deferred.  This can occur if a process is stopped via
  SIGSTOP while a thread is running or runnable but before it has set
  TDF_SBDRY.

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

10 years agoRevert my previous merge. There's a variable name difference between head
markj [Wed, 29 May 2013 22:29:33 +0000 (22:29 +0000)]
Revert my previous merge. There's a variable name difference between head
and stable (dirfd vs. dir_fd) and I managed to get it wrong again when I
did the MFC, even after I tested.

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

10 years agoMFC r250545:
markj [Wed, 29 May 2013 21:08:23 +0000 (21:08 +0000)]
MFC r250545:
  Some filesystems (NFS in particular) do not fill out the d_type field when
  returning directory entries through readdir(3). In this case we need to
  obtain the file type ourselves; otherwise newsyslog -t will not be able to
  find archived log files and will fail to both delete old log files and to
  do interval-based rotations properly.

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

10 years agoMFH r250595:
bdrewery [Wed, 29 May 2013 17:31:34 +0000 (17:31 +0000)]
MFH r250595:
  The HPN patch added a new BUG bit for SSH_BUG_LARGEWINDOW
  and the update to 6.1 added SSH_BUG_DYNAMIC_RPORT with the
  same value.

  Fix the HPN SSH_BUG_LARGEWINDOW bit so it is unique.

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

10 years agoMF9 (r248915): remove harmless duplicate entry for VersionAddendum.
des [Wed, 29 May 2013 16:55:33 +0000 (16:55 +0000)]
MF9 (r248915): remove harmless duplicate entry for VersionAddendum.

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

10 years agoMFC r250508:
mav [Wed, 29 May 2013 04:18:02 +0000 (04:18 +0000)]
MFC r250508:
Disable sending Early R_OK on SiI3726/SiI3826 port multipliers.
With "cached read" HDD testing and multiple ports busy on a SATA
host controller, 3726/3826 PMP will very rarely drop a deferred
R_OK that was intended for the host. Symptom will be all 5 drives
under test will timeout, get reset, and recover.

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

10 years agoMFC r250819:
mav [Wed, 29 May 2013 04:14:41 +0000 (04:14 +0000)]
MFC r250819:
Fix vdc->Secondary_Element_Count metadata field access from 16 to 8 bit.
In some cases it could cause kernel panic during failed drive replacement.

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

10 years agoMFC r250900:
mav [Wed, 29 May 2013 04:10:57 +0000 (04:10 +0000)]
MFC r250900:
Fix NULL-dereference kernel panic in case of mps_attach() failure.

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

10 years agoMFC 247332:
jhb [Tue, 28 May 2013 18:43:58 +0000 (18:43 +0000)]
MFC 247332:
Add a quirk to disable this driver for certain older laptops with an ICH2
southbridge and an Intel 82815_MC host bridge where the host bridge's
revision is less than 5

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

10 years agoMFC of 250708:
mckusick [Mon, 27 May 2013 22:41:43 +0000 (22:41 +0000)]
MFC of 250708:

Clean up trailing whitespace.

Submitted by: Andy Kosela

MFC of 250710: (delete addition of -k which does not exist in 8-stable)

When running the -m option to generate a newfs(8) command suitable for
recreating the filesystem, check for and output the -i, -k, and -l
options if appropriate.

Note the remaining deficiencies of the -m option in the dumpfs(8)
manual page. Specifically that newfs(8) options -E, -R, -S, and -T
options are not handled and that -p is not useful so is omitted.
Also document that newfs(8) options -n and -r are neither checked
for nor output but should be. The -r flag is needed if the filesystem
uses gjournal(8).

PR:           bin/163992
Reported by:  Dieter <freebsd@sopwith.solgatos.com>
Submitted by: Andy Kosela <akosela@andykosela.com>

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

10 years agoPreparation for MFC revs r248291 and r249741:
marck [Mon, 27 May 2013 13:51:57 +0000 (13:51 +0000)]
Preparation for MFC revs r248291 and r249741:

Add 'list' command, for now the exact equivalent of 'status',
so users of the latter could change their scripts.

This is direct commit to stable, and is temporary.

Requested by: Pete French <petefrench@ingresso.co.uk>
Approved by: trociny
2B cleaned after: 6 weeks

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

10 years agoMFC r250405:
trociny [Sun, 26 May 2013 18:54:50 +0000 (18:54 +0000)]
MFC r250405:

Move snmp_hast manual to section 3, where all other manual pages for
bsnmp modules are located.

Section 3 (Library Functions) looks wrong for this manual page, which
contains only module description, that is why initially it was located
to section 8 (System Manager's Manual).  On the other hand manual
pages for all other bsnmpd modules are already located in the section
3, and having all pages in one section looks more consistent.  Also,
currently, similarly to manuals for other modules, snmp_hast manual
contains LIBRARY section, which is not good style for section 8.

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

10 years agoMFC r250380:
trociny [Sun, 26 May 2013 18:39:33 +0000 (18:39 +0000)]
MFC r250380:

Register OID for HAST module.

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

10 years agoMFC r250379, r250503:
trociny [Sun, 26 May 2013 18:37:20 +0000 (18:37 +0000)]
MFC r250379, r250503:

HAST module for bsnmpd(1).

Reviewed by: harti, pjd

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

10 years agoMFC r250503:
trociny [Sun, 26 May 2013 18:30:07 +0000 (18:30 +0000)]
MFC r250503:

Get rid of libl dependency.  We needed it only to provide yywrap.  But
yywrap is not necessary when parsing a single hast.conf file.

Suggested by: kib
Reviewed by: pjd

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

10 years agoMFH (r230478): fix a couple of nits in r230307 (r231248)
des [Sun, 26 May 2013 17:00:15 +0000 (17:00 +0000)]
MFH (r230478): fix a couple of nits in r230307 (r231248)
MFH (r243149): fix indentation
MFH (r249431): use CONNECT to proxy HTTPS over HTTP

PR: bin/80176

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

10 years agoMFC r250763 and r250765:
hselasky [Sat, 25 May 2013 17:19:06 +0000 (17:19 +0000)]
MFC r250763 and r250765:
Fix some USB audio device issues.

PR: usb/178722

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

10 years agoMFC r250741:
kib [Fri, 24 May 2013 18:28:27 +0000 (18:28 +0000)]
MFC r250741:
Decode new HT 3.00 and 3.10 capabilities.

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

10 years agoMFC r250740:
kib [Fri, 24 May 2013 18:26:12 +0000 (18:26 +0000)]
MFC r250740:
Add new capability types encodings from HyperTransport I/O Link
Specification revisions 3.00 and 3.10.

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

10 years agoMFC 238450,250152-250153,250415:
jhb [Tue, 21 May 2013 19:25:19 +0000 (19:25 +0000)]
MFC 238450,250152-250153,250415:
- Add support for the XSAVEOPT instruction use.
- The check to ensure that xstate_bv always has XFEATURE_ENABLED_X87 and
  XFEATURE_ENABLED_SSE bits set is not needed.  CPU correctly handles
  any bitmask which is subset of the enabled bits in %XCR0.
- Partially saved extended state must be handled always, i.e. for both
  fpu-owned context, and for pcb-saved one.
- Correct the type for the literal used on the left side of the shift up
  to 63 bit positions.

  Do not fill the save area and do not set the saved bit in the xstate
  bit vector for the state which is not marked as enabled in xsave_mask.

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

10 years agoMFC r248458:
hselasky [Tue, 21 May 2013 06:09:19 +0000 (06:09 +0000)]
MFC r248458:
Add new USB ID.

PR: usb/177013

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

10 years agoMFC r248499:
hselasky [Tue, 21 May 2013 06:06:16 +0000 (06:06 +0000)]
MFC r248499:
Add new USB ID.

PR: usb/177105

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

10 years agoAdd new USB ID.
hselasky [Tue, 21 May 2013 06:03:32 +0000 (06:03 +0000)]
Add new USB ID.

PR: usb/177173

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

10 years agoMFC: r250487
hiren [Fri, 17 May 2013 17:16:29 +0000 (17:16 +0000)]
MFC: r250487

Adding a detach method to p4tcc driver.

PR: 118739
Submitted by: Dan Lukes <dan@obluda.cz> (earlier version)
Reviewed by: jhb
Approved by: sbruno (mentor)

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

10 years agoMFC r250509:
eadler [Fri, 17 May 2013 00:40:48 +0000 (00:40 +0000)]
MFC r250509:
The M_VESA_MODE_MAX is latest valid mode - not the first invalid.
Permit its use in vidcontrol -i

PR: bin/119483

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

10 years agoMFC r250459:
eadler [Thu, 16 May 2013 20:32:28 +0000 (20:32 +0000)]
MFC r250459:
Add the letter 'q' to the font iso05-8x16.fnt

PR: 72585
PR: 169797

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

10 years agoMFC r250553:
eadler [Thu, 16 May 2013 20:27:30 +0000 (20:27 +0000)]
MFC r250553:
Add the letter 'x' to the font iso05-8x16.fnt

PR: 169797

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

10 years agoMFC r250193:
kib [Thu, 16 May 2013 10:32:01 +0000 (10:32 +0000)]
MFC r250193:
Do a sync of the devvp vnode for the mount, which buffers, among other
things, contain FAT blocks.  This makes fsync(2) for msdosfs more correct
by syncing the metadata needed to read the synced data.

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

10 years agoMFC r250088:
pluknet [Wed, 15 May 2013 21:37:08 +0000 (21:37 +0000)]
MFC r250088:
  Pass a format string to kproc_create() [1] and thus fix the build with
  -DBKTR_NEW_MSP34XX_DRIVER and -Wformat-security.

PR: kern/175546

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

10 years agoMFC r248250-248251:
pluknet [Wed, 15 May 2013 21:19:05 +0000 (21:19 +0000)]
MFC r248250-248251:

- Add the getcontextx prototype to SYNOPSIS.
- Link getcontextx(3) to getcontext(3).

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

10 years agoMFC r246711:
pluknet [Wed, 15 May 2013 21:05:25 +0000 (21:05 +0000)]
MFC r246711:

o Bring in sync decoding the first nfssvc(2) parameter (flags) with
the current definitions location.
o Respect numbers in NFSSVC_* (e.g. NFSSVC_V4ROOTEXPORT).

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

10 years agoMFC r250393:
dim [Wed, 15 May 2013 20:59:00 +0000 (20:59 +0000)]
MFC r250393:

When gcc 4.2.0 was imported, the 3DNow intrinsics header <mm3dnow.h> was
not added to the list of intrinsics headers to install, so belatedly (5
years :) add it.

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

10 years agoMFC r242995: firmware(9) mdoc cleanup.
pluknet [Wed, 15 May 2013 19:52:37 +0000 (19:52 +0000)]
MFC r242995: firmware(9) mdoc cleanup.
  - Lowercase a cross reference to make.
  - Sort SEE ALSO cross references.

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

10 years agoMFC r242992: Avoid an ambiguous reference to mtx_lock(9).
pluknet [Wed, 15 May 2013 19:38:49 +0000 (19:38 +0000)]
MFC r242992: Avoid an ambiguous reference to mtx_lock(9).

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

10 years agoMFC r248993:
yongari [Wed, 15 May 2013 01:22:55 +0000 (01:22 +0000)]
MFC r248993:
  Fix a typo.

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