New FreeBSD snapshots and virtual machine disk images (20130907 r255342)
Glen Barber
gjb at FreeBSD.org
Sun Sep 8 18:35:29 UTC 2013
New FreeBSD development branch installation ISOs and virtual machine
disk images have been uploaded to the FTP mirrors.
Subversion logs since the last set of snapshots attached to this
email.
As with any development branch, the installation snapshots are not
intended for use on production systems. We do, however, encourage
testing on non-production systems as much as possible.
Important note: non-x86 snapshots are generated in a cross-build
environment, not natively built on their respective architectures.
Checksums for the installation ISOs and the VM disk images follow at
the end of this email.
=== Installation ISOs ===
bootonly.iso, disc1.iso, and memstick.img images are available for:
o 10.0-CURRENT amd64
o 10.0-CURRENT i386
o 10.0-CURRENT ia64
o 10.0-CURRENT powerpc
o 10.0-CURRENT powepc64
o 10.0-CURRENT sparc64
o 9.2-PRERELEASE i386
o 9.2-PRERELEASE ia64
o 9.2-PRERELEASE powerpc
o 9.2-PRERELEASE powepc64
o 9.2-PRERELEASE sparc64
Snapshots may be downloaded from the corresponding architecture
directory from:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/
Please be patient if your local FTP mirror has not yet caught
up with the changes.
Problems, bug reports, or regression reports should be reported
through the GNATS PR system or the appropriate mailing list, such
as -current@ or -stable@ .
=== Virtual Machine Disk Images ===
VM disk images are available for the following FreeBSD branches for
the amd64 and i386 architectures:
o 10.0-CURRENT amd64
o 10.0-CURRENT i386
o 9.2-PRERELEASE i386
Disk images may be downloaded from the following URL (or any of the
FreeBSD FTP mirrors):
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/Latest/
Images are available in the following disk image formats:
- QCOW2
- VMDK
The partition layout is:
- 512k - freebsd-boot GPT partition type (bootfs GPT label)
- 1GB - freebsd-swap GPT partition type (swapfs GPT label)
- ~8GB - freebsd-ufs GPT partition type (rootfs UFS label)
Checksums for the current set of snapshots and images:
=== Installation ISOs ===
o 10.0-CURRENT amd64:
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342-bootonly.iso) = d5820d1dc4edc95ff7a4d44369f21cfe498a54ea965c8cf9c516a4489b856f14
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342-disc1.iso) = 861d8e1317b790a844ba8dc50970c6ae815b1e8f9916b8399746bc2592499d1d
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342-memstick.img) = 5f3e9d918c4e81cef8f94d56cd2ec4f82b0eadb40a20b89841ef6c8541f9d8c3
MD5 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342-bootonly.iso) = 585b1a61e6ef33eaf47c1a1986ca5f29
MD5 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342-disc1.iso) = fea672b7ef292cbfa7e7819df058dc65
MD5 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342-memstick.img) = a608845625b52529daa7dfe29726695e
o 10.0-CURRENT i386:
SHA256 (FreeBSD-10.0-CURRENT-i386-20130907-r255342-bootonly.iso) = 8c19f536f9b29e3455d1f8a10e97b8d41cf0aab8529180c94ada6ed5ba091e77
SHA256 (FreeBSD-10.0-CURRENT-i386-20130907-r255342-disc1.iso) = bf99e0716ce6f06074a58079cfc680fbab32006870fab594a5568b6f77239db6
SHA256 (FreeBSD-10.0-CURRENT-i386-20130907-r255342-memstick.img) = 8df7f9589df2ea87c9c3c9b60436d65d43e90130555692a07b9c06855abc3648
MD5 (FreeBSD-10.0-CURRENT-i386-20130907-r255342-bootonly.iso) = b994dfbdd84eb4432210be343487ab66
MD5 (FreeBSD-10.0-CURRENT-i386-20130907-r255342-disc1.iso) = 9c2948ce15826756cc96c3835a7850ce
MD5 (FreeBSD-10.0-CURRENT-i386-20130907-r255342-memstick.img) = 8d77ce9ca76eed11779e22eec4373f73
o 10.0-CURRENT ia64:
SHA256 (FreeBSD-10.0-CURRENT-ia64-20130907-r255342-bootonly.iso) = 33f00a467e1c86d0d9cf4a612a8a4ef8b0e7dc1f8688e04403adfcd3c1f43e97
SHA256 (FreeBSD-10.0-CURRENT-ia64-20130907-r255342-disc1.iso) = 60a2500f7fbdb5f72c9a6d4e5823ecdb30b7c4b4469c16a49943c2d4fee6f7db
SHA256 (FreeBSD-10.0-CURRENT-ia64-20130907-r255342-memstick.img) = 4ed49f79ca47e939377ed060fd68851c8ac58480872390a6eeba576ce972f824
MD5 (FreeBSD-10.0-CURRENT-ia64-20130907-r255342-bootonly.iso) = 1c76fc4c9cf3106b61dd55caf797bcc2
MD5 (FreeBSD-10.0-CURRENT-ia64-20130907-r255342-disc1.iso) = eae51ac25c57d5cfa6df87bc4f9f7289
MD5 (FreeBSD-10.0-CURRENT-ia64-20130907-r255342-memstick.img) = 4642b13863540248dd81d4e67df661b5
o 10.0-CURRENT powerpc:
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130907-r255342-bootonly.iso) = 154b6ba35eaa53896cf9fc19fc1fe320a24b3067b1638f9fc4446e55558ca7be
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130907-r255342-disc1.iso) = 4c539291cc6d6ae03c6ebb8639780b06dae5159f5c3c841545dda8d3ef83af8f
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130907-r255342-memstick.img) = 84e7c8f8457ba0fcdc423f7aa41a18bfeaa76c454b680c41a0e221e34cbf7af5
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130907-r255342-bootonly.iso) = 123fffd5c0bca6ce20b0249749eb9803
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130907-r255342-disc1.iso) = 1dbab5efb88594ad2b109b969565049a
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130907-r255342-memstick.img) = d85d5b6ea1b95a59e2346a330773fe8c
o 10.0-CURRENT powerpc64:
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130907-r255342-bootonly.iso) = 0c75ffbec26f268c4e2457f75482d8e2d13487cc9f4ec4b0c9a100faabf1513c
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130907-r255342-disc1.iso) = bbd6c9ab967f5276b42b0c881b02fea38b379edc0a8922d1100746fca517ea69
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130907-r255342-memstick.img) = d57d268b1009975cbfee7379e41438ee226b898e9760b0fbca1ff42342817d9d
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130907-r255342-bootonly.iso) = 91cd69085939d9b3bfcffcda265d714c
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130907-r255342-disc1.iso) = 6cbe019315a1e981d2a32dc55cf4683b
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130907-r255342-memstick.img) = 5ba379c7c9e318c8a01b8c74825eddec
o 10.0-CURRENT sparc64:
SHA256 (FreeBSD-10.0-CURRENT-sparc64-20130907-r255342-bootonly.iso) = a9f040b7938fabc8aaf1e37f7996abda971262ccc926a0782bbd38d76548436c
SHA256 (FreeBSD-10.0-CURRENT-sparc64-20130907-r255342-disc1.iso) = 8c8e74f9f8f9ab3d0a80770621a38b3688da0720d8fa317a8d30b726f839db16
MD5 (FreeBSD-10.0-CURRENT-sparc64-20130907-r255342-bootonly.iso) = dae274eb96c24dac2505ff45eb7e9dc8
MD5 (FreeBSD-10.0-CURRENT-sparc64-20130907-r255342-disc1.iso) = d1aa0b93a3ab0162d6fbea81cfa9bcc7
o 9.2-PRERELEASE i386:
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130907-r255342-bootonly.iso) = 9ea4e759544dceaf6f4da85c6436bc664f0b8facb1e94ccb8161ef2dae528205
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130907-r255342-disc1.iso) = 70589fb7a3e7efd99ac309cb7f297659f7e09c5b289d44836056e1a0f8ae5bc7
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130907-r255342-memstick.img) = d2e2f83c2c22d5c82232895ddff344466fa002d629dafaeb079ec5c4cf2803c1
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130907-r255342-bootonly.iso) = d16aad901bcb4b523bfb43f407d19ddb
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130907-r255342-disc1.iso) = 3aa168df307f3a0553ab621a0a79ec7b
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130907-r255342-memstick.img) = 25eb3d55c7bf8f14856918913924fb9e
o 9.2-PRERELEASE ia64:
SHA256 (FreeBSD-9.2-PRERELEASE-ia64-20130907-r255342-bootonly.iso) = a2c36f8b7a02cd7bf62246c13e3ed4c2dd551ec42ce5c8609eee453b45f4ce0d
SHA256 (FreeBSD-9.2-PRERELEASE-ia64-20130907-r255342-disc1.iso) = daed395aee9732dbbc0869b1b44c0fcd650e8baae1123e2e4aaf38739ec43903
SHA256 (FreeBSD-9.2-PRERELEASE-ia64-20130907-r255342-memstick.img) = 1ff00f8d7fe2efe66137d078e324cf98cd346dca029507fec285278a413a4e57
MD5 (FreeBSD-9.2-PRERELEASE-ia64-20130907-r255342-bootonly.iso) = 78bc0a2299ea1016b0e785d7b11875c3
MD5 (FreeBSD-9.2-PRERELEASE-ia64-20130907-r255342-disc1.iso) = 59148ed40d59f00ab08f02d5c254e023
MD5 (FreeBSD-9.2-PRERELEASE-ia64-20130907-r255342-memstick.img) = bf822c4b678b1f80c4a5a8e15e63c460
o 9.2-PRERELEASE powerpc:
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc-20130907-r255342-bootonly.iso) = a6110cabf8ee3a2a3dc8a64482fc684cedce41e233bc1003b36b7b2e36bdf25c
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc-20130907-r255342-disc1.iso) = 85fc01f0b84368be3e07512c95f304aed5ea3dfa91eede50d8c4ccc12ff738ba
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc-20130907-r255342-memstick.img) = 25f9935a35fe4af5096a7b5d75d9f7aa78c4e09896f87905504d721fec8cf4e9
MD5 (FreeBSD-9.2-PRERELEASE-powerpc-20130907-r255342-bootonly.iso) = 0dd0f8bb7dc8f05d617a8b2c1a8db76c
MD5 (FreeBSD-9.2-PRERELEASE-powerpc-20130907-r255342-disc1.iso) = b5d09fde4e67d86c809df2c9bf28b202
MD5 (FreeBSD-9.2-PRERELEASE-powerpc-20130907-r255342-memstick.img) = f14557018530dd6dc088cfc90082602d
o 9.2-PRERELEASE powerpc64:
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc64-20130907-r255342-bootonly.iso) = 26ab1d52c35d387f2819f17c3e9dde94e4a1c30df623b059bd80a72ab2202cde
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc64-20130907-r255342-disc1.iso) = adf1a6750ab4436e3efc078ffd126d4ec81e704845631f945dc25ad8526c03a7
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc64-20130907-r255342-memstick.img) = 4eb679ac90f1eebd7a68e2c30c2f41b1c4806b1f7de3383d9196011d63ffcde0
MD5 (FreeBSD-9.2-PRERELEASE-powerpc64-20130907-r255342-bootonly.iso) = e1c12a7881f2c0183c25cd00f83f9143
MD5 (FreeBSD-9.2-PRERELEASE-powerpc64-20130907-r255342-disc1.iso) = 0789903e9b46fe1a252beee1f05ce1f7
MD5 (FreeBSD-9.2-PRERELEASE-powerpc64-20130907-r255342-memstick.img) = 5ce7f95e5bf875068aa147631277decb
o 9.2-PRERELEASE sparc64:
SHA256 (FreeBSD-9.2-PRERELEASE-sparc64-20130907-r255342-bootonly.iso) = a12a73b2a6d03dcb251181f3f06f99d339ffa2a69f049a85686a4a52fa2936ac
SHA256 (FreeBSD-9.2-PRERELEASE-sparc64-20130907-r255342-disc1.iso) = 4241e858f06dac35745a44f3dcb3fb8e52ca755fbf99c3b048fd927b7097377a
MD5 (FreeBSD-9.2-PRERELEASE-sparc64-20130907-r255342-bootonly.iso) = 4dd0b6c67f4de39abe6b28fac15546a1
MD5 (FreeBSD-9.2-PRERELEASE-sparc64-20130907-r255342-disc1.iso) = afea72d94f39f566e624c517be7d95c3
=== Virtual Machine Disk Images ===
o 10.0-CURRENT amd64:
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342.qcow2.xz) = 62d08cfd7ee70318a1be140bff73dc4835d8817a383f918d0852c156bc3bacc7
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342.vmdk.xz) = 0d4da83c7f85cbc3ad3ec6d5ae99284069aa587b0462f69c31a0953c6b36be09
MD5 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342.qcow2.xz) = 5f64fa5758948e040d35894d43d4bde2
MD5 (FreeBSD-10.0-CURRENT-amd64-20130907-r255342.vmdk.xz) = 116bc0cf2189443cb47732e19f64cadd
o 10.0-CURRENT i386:
SHA256 (FreeBSD-10.0-CURRENT-i386-20130907-r255342.qcow2.xz) = 262b53f81f380614e5bd0b3c6e7f47f32e9014e1a88bb255516855292029b049
SHA256 (FreeBSD-10.0-CURRENT-i386-20130907-r255342.vmdk.xz) = d26565f3718d0118aa5a22d736e6a2880bf434f1847cb1585ed4b885bb97f650
MD5 (FreeBSD-10.0-CURRENT-i386-20130907-r255342.qcow2.xz) = 3c1ac4572cff04c8947070ea73e8141c
MD5 (FreeBSD-10.0-CURRENT-i386-20130907-r255342.vmdk.xz) = a2645c151128571c9ae10b3da38e00ef
o 9.2-PRERELEASE i386:
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130907-rr255342.qcow2.xz) = d4866ff764024545abba915d981e6528f3ecf999e2154abbd6b9a196efb2d860
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130907-rr255342.vmdk.xz) = ce789ab59da8d2e5878582052dba42ba438594e6159619f361c4d2dfac40fa6d
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130907-rr255342.qcow2.xz) = 2c844c15f7175daa217017d00f09db30
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130907-rr255342.vmdk.xz) = 5bb20bacd05ed15c49a8a5311f4acc44
Regards,
Glen
-------------- next part --------------
------------------------------------------------------------------------
r255108 | jilles | 2013-08-31 22:32:42 +0000 (Sat, 31 Aug 2013) | 15 lines
libc: Always use our own copy of sys_errlist and sys_nerr (.so only).
This ensures strerror() and friends continue to work correctly even if a
(non-PIE) executable linked against an older libc imports sys_errlist (which
causes sys_errlist to refer to the executable's copy with a size fixed when
that executable was linked).
The executable's use of sys_errlist remains broken because it uses the
current value of sys_nerr and may access past the bounds of the array.
Different from the message "Using sys_errlist from executables is not
ABI-stable" on freebsd-arch, this change does not affect the static library.
There seems no reason to prevent overriding the error messages in the static
library.
------------------------------------------------------------------------
r255109 | bryanv | 2013-09-01 04:16:43 +0000 (Sun, 01 Sep 2013) | 10 lines
Add support for postponing VirtIO virtqueue interrupts
Partial support for the EVENT_IDX feature was added a while ago,
but this commit adds an interface for the device driver to hint
how long (in terms of descriptors) the next interrupt should be
delayed.
The first user of this will be used to reduce VirtIO net's Tx
completion interrupts.
------------------------------------------------------------------------
r255110 | bryanv | 2013-09-01 04:20:23 +0000 (Sun, 01 Sep 2013) | 5 lines
Add optional VirtIO device method for post-attach notifications
This is called after the parent device (ie virito_pci) has
completed the device attachment/initialization.
------------------------------------------------------------------------
r255111 | bryanv | 2013-09-01 04:23:54 +0000 (Sun, 01 Sep 2013) | 2 lines
Sync VirtIO net device header file from recent Linux
------------------------------------------------------------------------
r255112 | bryanv | 2013-09-01 04:33:47 +0000 (Sun, 01 Sep 2013) | 6 lines
Import multiqueue VirtIO net driver from my user/bryanv/vtnetmq branch
This is a significant rewrite of much of the previous driver; lots of
misc. cleanup was also performed, and support for a few other minor
features was also added.
------------------------------------------------------------------------
r255117 | mav | 2013-09-01 10:11:00 +0000 (Sun, 01 Sep 2013) | 2 lines
Fix the build with CTLFEDEBUG, broken by unmapped I/O support changes.
------------------------------------------------------------------------
r255118 | mav | 2013-09-01 11:50:37 +0000 (Sun, 01 Sep 2013) | 2 lines
Fix targbh crash on XPT_IMMED_NOTIFY error during attach.
------------------------------------------------------------------------
r255119 | mav | 2013-09-01 12:18:44 +0000 (Sun, 01 Sep 2013) | 5 lines
Fix SES_ENABLE_PASSTHROUGH kernel option, unexpectedly broken during driver
overhaul.
MFC after: 3 days
------------------------------------------------------------------------
r255120 | mav | 2013-09-01 13:01:59 +0000 (Sun, 01 Sep 2013) | 8 lines
Bring legacy CAM target implementation back into API/KPI-coherent and even
functional state. While CTL is much more superior target from all points,
there is no reason why this code should not work.
Tested with ahc(4) as target side HBA.
MFC after: 2 weeks
------------------------------------------------------------------------
r255122 | ian | 2013-09-01 14:06:57 +0000 (Sun, 01 Sep 2013) | 2 lines
Fix a compiler warning about signed vs unsigned compare.
------------------------------------------------------------------------
r255123 | ian | 2013-09-01 14:15:31 +0000 (Sun, 01 Sep 2013) | 2 lines
Add the device ID for a new flavor of FTDI serial adapter (model 232EX).
------------------------------------------------------------------------
r255124 | ian | 2013-09-01 14:28:12 +0000 (Sun, 01 Sep 2013) | 2 lines
Regenerate after recent addition of FTDI and bluetooth device IDs.
------------------------------------------------------------------------
r255125 | alc | 2013-09-01 17:06:14 +0000 (Sun, 01 Sep 2013) | 2 lines
pmap_protect() on MIPS does not need to acquire the pvh global lock.
------------------------------------------------------------------------
r255126 | mav | 2013-09-01 17:37:19 +0000 (Sun, 01 Sep 2013) | 2 lines
Add debug trace points for freeze/release device queue.
------------------------------------------------------------------------
r255127 | sjg | 2013-09-01 18:59:09 +0000 (Sun, 01 Sep 2013) | 4 lines
Pay attention to errCheck!
PR: 181715
------------------------------------------------------------------------
r255128 | eadler | 2013-09-01 19:27:32 +0000 (Sun, 01 Sep 2013) | 5 lines
Add support for the BCM20702A0 chipset, ASUS USB-BT400.
PR: kern/181728
Submitted by: rakuco
------------------------------------------------------------------------
r255129 | jilles | 2013-09-01 19:59:54 +0000 (Sun, 01 Sep 2013) | 12 lines
system(): Restore behaviour for SIGINT and SIGQUIT.
As mentioned in r16117 and the book "Advanced Programming in the Unix
Environment" by W. Richard Stevens, we should ignore SIGINT and SIGQUIT
before forking, since it is not guaranteed that the parent process starts
running soon enough.
To avoid calling sigaction() in the vforked child, instead block SIGINT and
SIGQUIT before vfork() and keep the sigaction() to ignore after vfork(). The
FreeBSD kernel discards ignored signals, even if they are blocked;
therefore, it is not necessary to unblock SIGINT and SIGQUIT earlier.
------------------------------------------------------------------------
r255130 | rpaulo | 2013-09-01 20:15:35 +0000 (Sun, 01 Sep 2013) | 6 lines
Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 boards.
There are many drivers missing, but we can reach single user mode now.
Hardware graciously donated by Douglas Beattie.
------------------------------------------------------------------------
r255131 | eadler | 2013-09-01 20:22:52 +0000 (Sun, 01 Sep 2013) | 5 lines
Fix build with gcc
Reported by: Michael Butler <imb at protected-networks.net>
Reviewed by: jilles
------------------------------------------------------------------------
r255133 | davide | 2013-09-01 21:44:43 +0000 (Sun, 01 Sep 2013) | 5 lines
Complete r250105. Do not zero fields if M_ZERO flag is specified to
malloc(9).
Reported by: pluknet, glebius
------------------------------------------------------------------------
r255135 | davide | 2013-09-01 22:30:24 +0000 (Sun, 01 Sep 2013) | 9 lines
Use single underscore for all parameters name and local variables in
bintime_* related functions. This commit completes what was already done
by theraven@ for bintime_shift, and just uses a single underscore instead
of two (which is a style bug according to Bruce). See r251855 for reference.
Reported by: theraven
Discussed with: bde
Reviewed by: bde
------------------------------------------------------------------------
r255136 | rmacklem | 2013-09-01 23:02:59 +0000 (Sun, 01 Sep 2013) | 13 lines
Forced dismounts of NFS mounts can fail when thread(s) are stuck
waiting for an RPC reply from the server while holding the mount
point busy (mnt_lockref incremented). This happens because dounmount()
msleep()s waiting for mnt_lockref to become 0, before calling
VFS_UNMOUNT(). This patch adds a new VFS operation called VFS_PURGE(),
which the NFS client implements as purging RPCs in progress. Making
this call before checking mnt_lockref fixes the problem, by ensuring
that the VOP_xxx() calls will fail and unbusy the mount point.
Reported by: sbruno
Reviewed by: kib
MFC after: 2 weeks
------------------------------------------------------------------------
r255138 | davide | 2013-09-01 23:34:53 +0000 (Sun, 01 Sep 2013) | 8 lines
Fix socket buffer timeouts precision using the new sbintime_t KPI instead
of relying on the tvtohz() workaround. The latter has been introduced
lately by jhb@ (r254699) in order to have a fix that can be backported
to STABLE.
Reported by: Vitja Makarov <vitja.makarov at gmail dot com>
Reviewed by: jhb (earlier version)
------------------------------------------------------------------------
r255139 | gibbs | 2013-09-01 23:49:36 +0000 (Sun, 01 Sep 2013) | 18 lines
Conform to style(9). No functional changes.
sys/x86/xen/hvm.c:
Do not rely on implicit conversion to boolean in expressions
(e.g. use "if (rc != 0)" instead of "if (rc)".
Line continuations for functions are indented an additional
4 spaces.
Insert an empty line if the function has no local variables.
Prefer separate initializtion statements to initialzing
local variables in their declaration.
Braces that are not necessary may be left out.
MFC after: 2 weeks
------------------------------------------------------------------------
r255143 | glebius | 2013-09-02 10:14:25 +0000 (Mon, 02 Sep 2013) | 32 lines
Merge 1.12 of pf_lb.c from OpenBSD, with some changes. Original commit:
date: 2010/02/04 14:10:12; author: sthen; state: Exp; lines: +24 -19;
pf_get_sport() picks a random port from the port range specified in a
nat rule. It should check to see if it's in-use (i.e. matches an existing
PF state), if it is, it cycles sequentially through other ports until
it finds a free one. However the check was being done with the state
keys the wrong way round so it was never actually finding the state
to be in-use.
- switch the keys to correct this, avoiding random state collisions
with nat. Fixes PR 6300 and problems reported by robert@ and viq.
- check pf_get_sport() return code in pf_test(); if port allocation
fails the packet should be dropped rather than sent out untranslated.
Help/ok claudio at .
Some additional changes to 1.12:
- We also need to bzero() the key to zero padding, otherwise key
won't match.
- Collapse two if blocks into one with ||, since both conditions
lead to the same processing.
- Only naddr changes in the cycle, so move initialization of other
fields above the cycle.
- s/u_intXX_t/uintXX_t/g
PR: kern/181690
Submitted by: Olivier Cochard-Labb?\195?\169 <olivier cochard.me>
Sponsored by: Nginx, Inc.
------------------------------------------------------------------------
r255144 | mav | 2013-09-02 10:44:54 +0000 (Mon, 02 Sep 2013) | 6 lines
Make ELI destruction (including orphanization) less aggressive, making it
always wait for provider close. Old algorithm was reported to cause NULL
dereference panic on attempt to close provider after softc destruction.
If not global workaroung in GEOM, that could even cause destruction with
requests still in flight.
------------------------------------------------------------------------
r255146 | emaste | 2013-09-02 12:37:33 +0000 (Mon, 02 Sep 2013) | 7 lines
libexecinfo compatibility with devel/libexecinfo port
1. Match shlib number
2. Add libelf dependency
Suggested by: bapt[1]
------------------------------------------------------------------------
r255151 | rpaulo | 2013-09-02 17:07:46 +0000 (Mon, 02 Sep 2013) | 2 lines
Revert accidental commit.
------------------------------------------------------------------------
r255152 | eadler | 2013-09-02 18:25:18 +0000 (Mon, 02 Sep 2013) | 6 lines
synaptics and trackpoint support are stable enough to be on by default.
Eventually both options should be removed.
Reviewed by: dumbbell
------------------------------------------------------------------------
r255153 | dumbbell | 2013-09-02 19:15:20 +0000 (Mon, 02 Sep 2013) | 7 lines
psm: Add support for middle and extended buttons on Synaptics touchpads
PR: kern/170834
Submitted by: Brandon Gooch <jamesbrandongooch at gmail.com>
Tested by: Artyom Mirgorodskiy <artyom.mirgorodsky at gmail.com>
MFC after: 1 month
------------------------------------------------------------------------
r255154 | dumbbell | 2013-09-02 19:49:18 +0000 (Mon, 02 Sep 2013) | 4 lines
sys/mouse.h: Move members introduced in r255153 to end of struct synapticshw
I didn't know this structure was public and didn't pay enough attention...
------------------------------------------------------------------------
r255156 | hrs | 2013-09-02 20:44:19 +0000 (Mon, 02 Sep 2013) | 4 lines
Ignore if the interface is not IPv6-capable.
Spotted by: rpaulo
------------------------------------------------------------------------
r255157 | jilles | 2013-09-02 21:57:46 +0000 (Mon, 02 Sep 2013) | 10 lines
sh: Fix race condition with signals and wait or set -T.
The change in r238888 was incomplete. It was still possible for a trapped
signal to arrive before the shell went to sleep (sigsuspend()) because a
check was missing or because the signal arrived before in_waitcmd was set.
On SMP, this bug sometimes caused the builtins/wait4.0 test to take 1 second
to execute; it then might or might not fail. On UP, the test almost always
failed.
------------------------------------------------------------------------
r255158 | gibbs | 2013-09-02 22:22:56 +0000 (Mon, 02 Sep 2013) | 16 lines
Better conformance to style(9) and organizational cleanup.
No functional changes.
sys/i386/xen/mp_machdep.c:
Remove extra newlines.
Group externs, forward delarations, local types, and pcpu data.
Wrap at 80 columns.
Use parens in return statements.
Tab indent members of array initializers.
MFC after: 2 weeks
------------------------------------------------------------------------
r255160 | tuexen | 2013-09-02 22:48:41 +0000 (Mon, 02 Sep 2013) | 8 lines
All changes affect only SCTP-AUTH:
* Remove non working code related to SHA224.
* Remove support for non-standardised HMAC-IDs using SHA384 and SHA512.
* Prefer SHA256 over SHA1.
* Minor cleanup.
MFC after: 2 weeks
------------------------------------------------------------------------
r255161 | jhibbits | 2013-09-02 23:22:05 +0000 (Mon, 02 Sep 2013) | 2 lines
Whitespace cleanup.
------------------------------------------------------------------------
r255162 | tuexen | 2013-09-02 23:27:53 +0000 (Mon, 02 Sep 2013) | 4 lines
Use uint16_t instead of in_port_t for consistency with the SCTP code.
MFC after: 1 week
------------------------------------------------------------------------
r255163 | delphij | 2013-09-02 23:52:25 +0000 (Mon, 02 Sep 2013) | 7 lines
Create the default router last. This allows using an static
interface route for default routes, which seems to be common
among many dedicated hosting providers.
Reviewed by: hrs
MFC after: 2 weeks
------------------------------------------------------------------------
r255164 | jhibbits | 2013-09-03 00:34:18 +0000 (Tue, 03 Sep 2013) | 4 lines
Refactor PowerPC hwpmc(4) driver into generic and specific. More refactoring
will likely be done as more drivers are added, since AIM-compatible processors
have similar PMC configuration logic.
------------------------------------------------------------------------
r255165 | jhibbits | 2013-09-03 00:42:15 +0000 (Tue, 03 Sep 2013) | 2 lines
Enable PMC interrupt handling, and fix a DTrace trap handling bug.
------------------------------------------------------------------------
r255166 | bryanv | 2013-09-03 02:26:57 +0000 (Tue, 03 Sep 2013) | 4 lines
Fix unintended compiler constant folding
Pointed out by: dim@
------------------------------------------------------------------------
r255167 | bryanv | 2013-09-03 02:28:31 +0000 (Tue, 03 Sep 2013) | 6 lines
Complete any pending Tx frames before attempting the next transmit
Also complete pending frames in the watchdog function when the
EVENT_IDX feature was negotiated just in case the completion
interrupt was postponed.
------------------------------------------------------------------------
r255169 | jlh | 2013-09-03 07:47:53 +0000 (Tue, 03 Sep 2013) | 5 lines
Since r254974, periodic scripts' period can be configured
independently. There is no reason to leave their options
with the daily ones, so move them to their own section.
Move periodic scripts' options into their own section. Since r254974,
------------------------------------------------------------------------
r255170 | jlh | 2013-09-03 07:51:06 +0000 (Tue, 03 Sep 2013) | 4 lines
Since r254974, periodic scripts' period can be configured
independently. There is no reason to leave their options
with the daily ones, so move them to their own section.
------------------------------------------------------------------------
r255171 | rwatson | 2013-09-03 08:19:06 +0000 (Tue, 03 Sep 2013) | 5 lines
Document SIGLIBRT in signal(3); take a stab at the signal description as
the original committer didn't provide one.
MFC after: 3 days
------------------------------------------------------------------------
r255174 | uqs | 2013-09-03 12:08:08 +0000 (Tue, 03 Sep 2013) | 2 lines
Fix 'make depend'
------------------------------------------------------------------------
r255175 | emaste | 2013-09-03 13:31:43 +0000 (Tue, 03 Sep 2013) | 2 lines
Don't install private libexecinfo headers
------------------------------------------------------------------------
r255176 | emaste | 2013-09-03 13:36:23 +0000 (Tue, 03 Sep 2013) | 2 lines
Add $FreeBSD$ tag for user-facing header
------------------------------------------------------------------------
r255177 | emaste | 2013-09-03 13:38:41 +0000 (Tue, 03 Sep 2013) | 2 lines
Add svn:keywords property
------------------------------------------------------------------------
r255178 | jlh | 2013-09-03 13:40:24 +0000 (Tue, 03 Sep 2013) | 10 lines
Include the calling context in the mail subject, if any.
More concretely, periodic security scripts defaults to being
called from daily ones -- daily context -- so the mail subject
will now be "${HOST} daily security run output" instead of
"{HOST} security run output".
If you switch the period of some security checks to weekly, you
will receive another email "${HOST} weekly security run output".
------------------------------------------------------------------------
r255179 | gibbs | 2013-09-03 13:49:00 +0000 (Tue, 03 Sep 2013) | 9 lines
sys/dev/xen/blkback/blkback.c:
Initialize the request id for requests in xbb_get_resources()
instead of its previous location in xbb_dispatch_io(). This
guarantees that all request types (e.g. BLKIF_OP_FLUSH_DISKCACHE)
have the front-end specified id recorded.
Submitted by: Roger Pau Monn?\195?\169
Sponsored by: Citrix Systems R&D
------------------------------------------------------------------------
r255180 | emaste | 2013-09-03 15:22:04 +0000 (Tue, 03 Sep 2013) | 4 lines
Connect libexecinfo to the build
Sponsored by: DARPA, AFRL
------------------------------------------------------------------------
r255185 | jmg | 2013-09-03 17:33:29 +0000 (Tue, 03 Sep 2013) | 7 lines
add support to gcc for AES and PCLMUL intrinsics... This addes the
-maes option, but not the -mpclmul option as I ran out of bits in
the 32 bit flags field... You can -D__PCLMUL__ to get this, but it
won't be compatible w/ clang and modern gcc...
Reviewed by: -current, -toolchain
------------------------------------------------------------------------
r255187 | jmg | 2013-09-03 18:31:23 +0000 (Tue, 03 Sep 2013) | 18 lines
Use the fact that the AES-NI instructions can be pipelined to improve
performance... Use SSE2 instructions for calculating the XTS tweek
factor... Let the compiler do more work and handle register allocation
by using intrinsics, now only the key schedule is in assembly...
Replace .byte hard coded instructions w/ the proper instructions now
that both clang and gcc support them...
On my machine, pulling the code to userland I saw performance go from
~150MB/sec to 2GB/sec in XTS mode. GELI on GNOP saw a more modest
increase of about 3x due to other system overhead (geom and
opencrypto)...
These changes allow almost full disk io rate w/ geli...
Reviewed by: -current, -security
Thanks to: Mike Hamburg for the XTS tweek algorithm
------------------------------------------------------------------------
r255190 | tuexen | 2013-09-03 19:31:59 +0000 (Tue, 03 Sep 2013) | 4 lines
Remove redundant field pr_sctp_on.
MFC after: 1 week
------------------------------------------------------------------------
r255191 | pfg | 2013-09-03 20:03:10 +0000 (Tue, 03 Sep 2013) | 11 lines
Remove our hacked GNU patch.
The old (2.1) GNU patch has outlived its days. The major
local changes have been moved into the less restrictedly
licensed patch(1) we adopted in usr.bin/ .
A much newer version of GNU patch is available in the
ports tree (devel/patch).
Disconnect from the build and remove.
------------------------------------------------------------------------
r255192 | jhb | 2013-09-03 21:21:47 +0000 (Tue, 03 Sep 2013) | 5 lines
Add support for the 'invpcid' instruction to binutils and DDB's
disassembler on amd64.
MFC after: 1 month
------------------------------------------------------------------------
r255194 | imp | 2013-09-03 22:04:55 +0000 (Tue, 03 Sep 2013) | 3 lines
Newer versions of gcc define __INT64_C and __UINT64_C, so avoid
redefining them if gcc provides them.
------------------------------------------------------------------------
r255195 | sbruno | 2013-09-03 22:33:06 +0000 (Tue, 03 Sep 2013) | 4 lines
Add options GEOM_PART_GPT and options MSDOSFS to the DIR-825
Reviewed by: adrian@
------------------------------------------------------------------------
r255198 | np | 2013-09-03 23:34:04 +0000 (Tue, 03 Sep 2013) | 5 lines
For TOE connections, the window scale factor in CPL_PASS_ACCEPT_REQ is
set to 15 to indicate that the peer did not send a window scale option
with its SYN. Do not send a window scale option in the SYN|ACK reply
in that case.
------------------------------------------------------------------------
r255199 | jhibbits | 2013-09-04 04:11:38 +0000 (Wed, 04 Sep 2013) | 2 lines
Fix hwpmc(4) for 32-bit PowerPC.
------------------------------------------------------------------------
r255202 | glebius | 2013-09-04 10:17:50 +0000 (Wed, 04 Sep 2013) | 4 lines
Make default cache size more modern.
Requested by: Slawa Olhovchenkov <slw zxy.spb.ru>
------------------------------------------------------------------------
r255204 | br | 2013-09-04 11:28:47 +0000 (Wed, 04 Sep 2013) | 5 lines
- Add myself as a src committer
- Note cognet is my mentor
Approved by: cognet (mentor)
------------------------------------------------------------------------
r255205 | jhb | 2013-09-04 11:52:28 +0000 (Wed, 04 Sep 2013) | 2 lines
Trim a couple of panic messages.
------------------------------------------------------------------------
r255206 | theraven | 2013-09-04 15:02:14 +0000 (Wed, 04 Sep 2013) | 8 lines
Add a c++/v1/tr1 include directory containing symlinks to all of the standard
headrs.
Lots of third-party code expects to find C++03 headers under tr1 because that's
where GNU decided to hide them. This should fix ports that expect them there.
MFC after: 1 week
------------------------------------------------------------------------
r255207 | brooks | 2013-09-04 17:19:21 +0000 (Wed, 04 Sep 2013) | 24 lines
MFP4 217312, 222008, 222052, 222053, 222673, 231484, 231491, 231565, 570643
Rework the timeout code to use actual time rather than a DELAY() loop and
to use both typical and maximum to allow logging of timeout failures.
Also correct the erase timeout, it is specified in milliseconds not
microseconds like the other timeouts. Do not invoke DELAY() between
status queries as this adds significant latency which in turn reduced
write performance substantially.
Sanity check timeout values from the hardware.
Implement support for buffered writes (only enabled on Intel/Sharp parts
for now). This yields an order of magnitude speedup on the 64MB Intel
StrataFlash parts we use.
When making a copy of the block to modify, also keep a clean copy around
until we are ready to commit the block and use it to avoid unnecessary
erases. In the non-buffer write case, also use it to avoid
unnecessary writes when the block has not been erased. This yields a
significant speedup when doing things like zeroing a block.
Sponsored by: DARPA, AFRL
Reviewed by: imp (previous version)
------------------------------------------------------------------------
r255208 | jmg | 2013-09-04 17:48:41 +0000 (Wed, 04 Sep 2013) | 2 lines
add links for the various vmem functions...
------------------------------------------------------------------------
r255210 | eadler | 2013-09-04 18:42:05 +0000 (Wed, 04 Sep 2013) | 9 lines
Revert r255152:
It turns out that synaptics_support was turned off by default
because its probing method is too intrusive not because it was unstable.
Once this is fixed it should be enabled once again.
Reported by: delphij, jkim
------------------------------------------------------------------------
r255211 | gnn | 2013-09-04 20:12:33 +0000 (Wed, 04 Sep 2013) | 4 lines
Add myself to the list of ports committers.
Approved by: skreuzer (mentor)
------------------------------------------------------------------------
r255212 | gonzo | 2013-09-04 20:34:36 +0000 (Wed, 04 Sep 2013) | 4 lines
Add 32-bit support for Gxemul's oldtestmips machine emulation
Original work by: kan@
------------------------------------------------------------------------
r255213 | zbb | 2013-09-04 20:49:32 +0000 (Wed, 04 Sep 2013) | 4 lines
Add myself as a new committer and cognet as my mentor.
Approved by: cognet (mentor)
------------------------------------------------------------------------
r255215 | jilles | 2013-09-04 22:10:16 +0000 (Wed, 04 Sep 2013) | 13 lines
sh: Make return return from the closest function or dot script.
Formerly, return always returned from a function if it was called from a
function, even if there was a closer dot script. This was for compatibility
with the Bourne shell which only allowed returning from functions.
Other modern shells and POSIX return from the function or the dot script,
whichever is closest.
Git 1.8.4's rebase --continue depends on the POSIX behaviour.
Reported by: Christoph Mallon, avg
------------------------------------------------------------------------
r255216 | rmacklem | 2013-09-04 22:47:56 +0000 (Wed, 04 Sep 2013) | 9 lines
Crashes have been observed for NFSv4.1 mounts when the system
is being shut down which were caused by the nfscbd_pool being
destroyed before the backchannel is disabled. This patch is
believed to fix the problem, by simply avoiding ever destroying
the nfscbd_pool. Since the NFS client module cannot be unloaded,
this should not cause a memory leak.
MFC after: 2 weeks
------------------------------------------------------------------------
r255217 | kib | 2013-09-04 23:31:29 +0000 (Wed, 04 Sep 2013) | 25 lines
Tidy up some loose ends in the PCID code:
- Restore the pre-PCID TLB shootdown handlers for whole address space
and single page invalidation asm code, and assign the IPI handler to
them when PCID is not supported or disabled. Old handlers have
linear control flow. But, still use the common return sequence.
- Stop using pcpu for INVPCID descriptors in the invlrg handler. It
is enough to allocate descriptors on the stack. As result, two
SWAPGS instructions are shaved off from the code for Haswell+.
- Fix the reverted condition in invlrng for checking of the PCID
support [1], also in invlrng check that pmap is kernel pmap before
performing other tests. For the kernel pmap, which provides global
mappings, the INVLPG must be used for invalidation always.
- Save the pre-computed pmap' %CR3 register in the struct pmap. This
allows to remove several checks for pm_pcid validity when %CR3 is
reloaded [2].
Noted by: gibbs [1]
Discussed with: alc [2]
Tested by: pho, flo
Sponsored by: The FreeBSD Foundation
------------------------------------------------------------------------
r255218 | gibbs | 2013-09-04 23:32:49 +0000 (Wed, 04 Sep 2013) | 19 lines
Correct blkback handling of the BLKIF_OP_FLUSH_DISKCACHE opcode.
Properly round-trip the "operation code" for client requests.
sys/dev/xen/blkback/blkback.c:
In xbb_dispatch_dev() when processing a flush request,
correctly set bio->bio_caller1 to the request list (not
bare request) for the operation, as is expected by the
completion handler xbb_bio_done().
In xbb_get_resources(), initialize "operation" in the
driver's internal request object from the client's "ring
request", so it is correct when used to populate the reply
when this operation completes.
Submitted by: Roger Pau Monn?\195?\169
Sponsored by: Citrix Systems R&D
Reviewed by: gibbs
------------------------------------------------------------------------
r255219 | pjd | 2013-09-05 00:09:56 +0000 (Thu, 05 Sep 2013) | 82 lines
Change the cap_rights_t type from uint64_t to a structure that we can extend
in the future in a backward compatible (API and ABI) way.
The cap_rights_t represents capability rights. We used to use one bit to
represent one right, but we are running out of spare bits. Currently the new
structure provides place for 114 rights (so 50 more than the previous
cap_rights_t), but it is possible to grow the structure to hold at least 285
rights, although we can make it even larger if 285 rights won't be enough.
The structure definition looks like this:
struct cap_rights {
uint64_t cr_rights[CAP_RIGHTS_VERSION + 2];
};
The initial CAP_RIGHTS_VERSION is 0.
The top two bits in the first element of the cr_rights[] array contain total
number of elements in the array - 2. This means if those two bits are equal to
0, we have 2 array elements.
The top two bits in all remaining array elements should be 0.
The next five bits in all array elements contain array index. Only one bit is
used and bit position in this five-bits range defines array index. This means
there can be at most five array elements in the future.
To define new right the CAPRIGHT() macro must be used. The macro takes two
arguments - an array index and a bit to set, eg.
#define CAP_PDKILL CAPRIGHT(1, 0x0000000000000800ULL)
We still support aliases that combine few rights, but the rights have to belong
to the same array element, eg:
#define CAP_LOOKUP CAPRIGHT(0, 0x0000000000000400ULL)
#define CAP_FCHMOD CAPRIGHT(0, 0x0000000000002000ULL)
#define CAP_FCHMODAT (CAP_FCHMOD | CAP_LOOKUP)
There is new API to manage the new cap_rights_t structure:
cap_rights_t *cap_rights_init(cap_rights_t *rights, ...);
void cap_rights_set(cap_rights_t *rights, ...);
void cap_rights_clear(cap_rights_t *rights, ...);
bool cap_rights_is_set(const cap_rights_t *rights, ...);
bool cap_rights_is_valid(const cap_rights_t *rights);
void cap_rights_merge(cap_rights_t *dst, const cap_rights_t *src);
void cap_rights_remove(cap_rights_t *dst, const cap_rights_t *src);
bool cap_rights_contains(const cap_rights_t *big, const cap_rights_t *little);
Capability rights to the cap_rights_init(), cap_rights_set(),
cap_rights_clear() and cap_rights_is_set() functions are provided by
separating them with commas, eg:
cap_rights_t rights;
cap_rights_init(&rights, CAP_READ, CAP_WRITE, CAP_FSTAT);
There is no need to terminate the list of rights, as those functions are
actually macros that take care of the termination, eg:
#define cap_rights_set(rights, ...) \
__cap_rights_set((rights), __VA_ARGS__, 0ULL)
void __cap_rights_set(cap_rights_t *rights, ...);
Thanks to using one bit as an array index we can assert in those functions that
there are no two rights belonging to different array elements provided
together. For example this is illegal and will be detected, because CAP_LOOKUP
belongs to element 0 and CAP_PDKILL to element 1:
cap_rights_init(&rights, CAP_LOOKUP | CAP_PDKILL);
Providing several rights that belongs to the same array's element this way is
correct, but is not advised. It should only be used for aliases definition.
This commit also breaks compatibility with some existing Capsicum system calls,
but I see no other way to do that. This should be fine as Capsicum is still
experimental and this change is not going to 9.x.
Sponsored by: The FreeBSD Foundation
------------------------------------------------------------------------
r255220 | pjd | 2013-09-05 00:11:59 +0000 (Thu, 05 Sep 2013) | 4 lines
Regenerate after r255219.
Sponsored by: The FreeBSD Foundation
------------------------------------------------------------------------
r255221 | pjd | 2013-09-05 00:17:38 +0000 (Thu, 05 Sep 2013) | 3 lines
Style fixes. Most fixes are about not treating integers and pointers as
booleans.
------------------------------------------------------------------------
r255222 | pjd | 2013-09-05 00:19:30 +0000 (Thu, 05 Sep 2013) | 2 lines
Style fixes.
------------------------------------------------------------------------
r255223 | pjd | 2013-09-05 00:38:53 +0000 (Thu, 05 Sep 2013) | 2 lines
Remove trailing comma.
------------------------------------------------------------------------
r255224 | pjd | 2013-09-05 00:41:07 +0000 (Thu, 05 Sep 2013) | 2 lines
Add missing '2'.
------------------------------------------------------------------------
r255225 | pjd | 2013-09-05 00:52:16 +0000 (Thu, 05 Sep 2013) | 4 lines
Advise a full buildworld, because of the recent Capsicum changes.
Sponsored by: The FreeBSD Foundation
------------------------------------------------------------------------
r255226 | pjd | 2013-09-05 00:53:01 +0000 (Thu, 05 Sep 2013) | 2 lines
Add sysctl/tunables for various metaslab variables.
------------------------------------------------------------------------
r255227 | pjd | 2013-09-05 01:05:48 +0000 (Thu, 05 Sep 2013) | 15 lines
Remove fallback to fork(2) if pdfork(2) is not available. If the parent
process dies, the process descriptor will be closed and pdfork(2)ed child
will be killed, which is not the case when regular fork(2) is used.
The PROCDESC option is now part of the GENERIC kernel configuration, so we
can start depending on it.
Add UPDATING entry to inform that this option is now required and log
detailed instruction to syslog if pdfork(2) is not available:
The pdfork(2) system call is not available; recompile the kernel with options PROCDESC
Submitted by: Mariusz Zaborski <oshogbo at FreeBSD.org>
Sponsored by: Google Summer of Code 2013
------------------------------------------------------------------------
r255228 | jhibbits | 2013-09-05 01:13:26 +0000 (Thu, 05 Sep 2013) | 2 lines
Fix the build.
------------------------------------------------------------------------
r255229 | sbruno | 2013-09-05 03:36:57 +0000 (Thu, 05 Sep 2013) | 3 lines
This looks like a typo that breaks the build. Yell at me if this isn't the
intended declaration.
------------------------------------------------------------------------
r255230 | sbruno | 2013-09-05 03:46:44 +0000 (Thu, 05 Sep 2013) | 2 lines
Restore builds on architectures that don't support CAPABILITIES (mips).
------------------------------------------------------------------------
r255232 | se | 2013-09-05 05:51:15 +0000 (Thu, 05 Sep 2013) | 6 lines
Fix file selection logic for the RCS/SCCS case, as was done for the simple
file case before. Bump version because of the changed behavior, which now
matches the documentation.
Reviewed by: pfg
------------------------------------------------------------------------
r255234 | mav | 2013-09-05 07:13:08 +0000 (Thu, 05 Sep 2013) | 5 lines
Add more references.
Submitted by: Dmitry Luhtionov <dmitryluhtionov at gmail.com>
MFC after: 1 week
------------------------------------------------------------------------
r255235 | ae | 2013-09-05 08:12:36 +0000 (Thu, 05 Sep 2013) | 5 lines
Remove unused code and sort variables declarations.
PR: kern/181822
MFC after: 1 week
------------------------------------------------------------------------
r255236 | pjd | 2013-09-05 09:36:19 +0000 (Thu, 05 Sep 2013) | 4 lines
Correct the logic broken in my last commit.
Reported by: tijl
------------------------------------------------------------------------
r255237 | ae | 2013-09-05 09:44:09 +0000 (Thu, 05 Sep 2013) | 4 lines
Remove stub implementation.
MFC after: 1 week
------------------------------------------------------------------------
r255238 | br | 2013-09-05 10:09:24 +0000 (Thu, 05 Sep 2013) | 4 lines
Add support for DLINK DWA-127 Wireless Adapter
Approved by: cognet (mentor)
------------------------------------------------------------------------
r255239 | glebius | 2013-09-05 10:24:09 +0000 (Thu, 05 Sep 2013) | 2 lines
Fix !CAPABILITIES build.
------------------------------------------------------------------------
r255240 | pjd | 2013-09-05 11:58:12 +0000 (Thu, 05 Sep 2013) | 4 lines
Handle cases where capability rights are not provided.
Reported by: kib
------------------------------------------------------------------------
r255241 | pjd | 2013-09-05 11:59:23 +0000 (Thu, 05 Sep 2013) | 2 lines
The fget() function now takes pointer to cap_rights_t, so change 0 to NULL.
------------------------------------------------------------------------
r255242 | hselasky | 2013-09-05 12:21:11 +0000 (Thu, 05 Sep 2013) | 2 lines
Correct two comments.
------------------------------------------------------------------------
r255243 | des | 2013-09-05 12:35:23 +0000 (Thu, 05 Sep 2013) | 2 lines
authpf needs /var/authpf to exist and be writable by group authpf.
------------------------------------------------------------------------
r255244 | kib | 2013-09-05 12:54:40 +0000 (Thu, 05 Sep 2013) | 14 lines
The vm_page_trysbusy() should not fail when shared busy counter or
VPB_BIT_WAITERS flag were changed between reading of busy_lock and the
cas. The vm_page_sbusy(), which is the only user of
vm_page_trysbusy() in the tree, panics on the failure, which in these
cases is transient and do not mean that the current page state
prevents sbusying.
Retry the operation inside vm_page_trysbusy() if cas failed, only
return a failure when VPB_BIT_SHARED is cleared.
Reported and tested by: pho
Reviewed by: attilio
Sponsored by: The FreeBSD Foundation
------------------------------------------------------------------------
r255245 | kib | 2013-09-05 12:56:08 +0000 (Thu, 05 Sep 2013) | 16 lines
The vm_pageout_flush() functions sbusies pages in the passed pages
run. After that, the pager put method is called, usually translated
to VOP_WRITE(). For the filesystems which use buffer cache,
bufwrite() sbusies the buffer pages again, waiting for the xbusy state
to drain. The later is done in vfs_drain_busy_pages(), which is
called with the buffer pages already sbusied (by vm_pageout_flush()).
Since vfs_drain_busy_pages() can only wait for one page at the time,
and during the wait, the object lock is dropped, previous pages in the
buffer must be protected from other threads busying them. Up to the
moment, it was done by xbusying the pages, that is incompatible with
the sbusy state in the new implementation of busy. Switch to sbusy.
Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
------------------------------------------------------------------------
r255246 | glebius | 2013-09-05 13:46:30 +0000 (Thu, 05 Sep 2013) | 3 lines
Fix build.
counter.h requires systm.h
------------------------------------------------------------------------
r255247 | glebius | 2013-09-05 13:53:25 +0000 (Thu, 05 Sep 2013) | 2 lines
Fix build.
------------------------------------------------------------------------
r255248 | jhb | 2013-09-05 14:16:37 +0000 (Thu, 05 Sep 2013) | 8 lines
Use an unsigned long when indexing into mfchashtbl[] and mf6ctable[]. This
matches the types used when computing hash indices and the type of the
maximum size of mfchashtbl[].
PR: kern/181821
Submitted by: Sven-Thorsten Dietrich <sven at vyatta.com> (IPv4)
MFC after: 1 week
------------------------------------------------------------------------
r255249 | jhb | 2013-09-05 14:26:37 +0000 (Thu, 05 Sep 2013) | 2 lines
Use LIST_FOREACH_SAFE() instead of doing it by hand.
------------------------------------------------------------------------
r255253 | sjg | 2013-09-05 15:57:26 +0000 (Thu, 05 Sep 2013) | 2 lines
Merge bmake-20130904
------------------------------------------------------------------------
r255254 | sbruno | 2013-09-05 16:38:26 +0000 (Thu, 05 Sep 2013) | 2 lines
Minor printf nit to keep out clean
------------------------------------------------------------------------
r255259 | hiren | 2013-09-05 18:18:23 +0000 (Thu, 05 Sep 2013) | 5 lines
Fixing a small typo.
Reviewed by: gjb
Approved by: sbruno (mentor)
------------------------------------------------------------------------
r255261 | jilles | 2013-09-05 19:02:03 +0000 (Thu, 05 Sep 2013) | 10 lines
watch: Do not mess up the tty modes on early error.
Record the initial state earlier, so it is always safe to restore it.
One way this happens is if watch(8) is started by a user that does not have
access to /dev/snp. The result is "staircase effect" during later commands.
PR: bin/153052
MFC after: 1 week
------------------------------------------------------------------------
r255265 | hrs | 2013-09-05 20:50:52 +0000 (Thu, 05 Sep 2013) | 5 lines
Enable "late" option when a file= option is specified in /etc/fstab.
The file= option requires rw mount where the backing store exists but
it does not work because rc.d/swap runs before rc.d/fsck.
Reported by: wblock
------------------------------------------------------------------------
r255267 | hrs | 2013-09-05 21:19:16 +0000 (Thu, 05 Sep 2013) | 4 lines
Style clean-ups.
Reviewed by: md5
------------------------------------------------------------------------
r255268 | carl | 2013-09-05 22:46:48 +0000 (Thu, 05 Sep 2013) | 5 lines
Add some logging to ntb link up.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255269 | carl | 2013-09-05 22:52:40 +0000 (Thu, 05 Sep 2013) | 5 lines
Throw a bit to enable the link to come up on Xeon.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255270 | carl | 2013-09-05 22:55:08 +0000 (Thu, 05 Sep 2013) | 5 lines
Fix a typo.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255271 | carl | 2013-09-05 22:56:52 +0000 (Thu, 05 Sep 2013) | 6 lines
Fix name change from ntb_transport to if_ntb. A few places were
overlooked.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255272 | carl | 2013-09-05 22:59:18 +0000 (Thu, 05 Sep 2013) | 6 lines
Restructure the PCI bar initialization code in anticipation of upcoming
bug fixes.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255273 | nwhitehorn | 2013-09-05 23:00:24 +0000 (Thu, 05 Sep 2013) | 9 lines
Align stacks of kernel threads correctly at 16-byte boundaries rather than
making sure they are all misaligned at +8 bytes. This fixes clang builds
of powerpc64 kernels (aside from a required increase in KSTACK_PAGES which
will come later).
This commit from FreeBSD/powerpc64 with a clang-built kernel.
MFC after: 2 weeks
------------------------------------------------------------------------
r255274 | carl | 2013-09-05 23:00:59 +0000 (Thu, 05 Sep 2013) | 5 lines
Add support for per device features and workarounds.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255275 | carl | 2013-09-05 23:02:43 +0000 (Thu, 05 Sep 2013) | 5 lines
Simplifying bus alloc resource call since we only need the default values.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255276 | carl | 2013-09-05 23:04:36 +0000 (Thu, 05 Sep 2013) | 5 lines
Implement workaround for IvyTown 4K BAR size issue.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255277 | carl | 2013-09-05 23:06:25 +0000 (Thu, 05 Sep 2013) | 5 lines
Cleaning up spacing and making hex value case consistent.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255278 | carl | 2013-09-05 23:08:22 +0000 (Thu, 05 Sep 2013) | 5 lines
Simplify register access macros by removing one level of indirection.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255279 | carl | 2013-09-05 23:11:11 +0000 (Thu, 05 Sep 2013) | 6 lines
Workaround an issue with hardware by accessing remote device through mem
window.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255280 | carl | 2013-09-05 23:12:58 +0000 (Thu, 05 Sep 2013) | 5 lines
Only tear down interface and transport if they've been successfully setup.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255281 | carl | 2013-09-05 23:14:27 +0000 (Thu, 05 Sep 2013) | 5 lines
Remove contractions.
Approved by: jimharris
Sponsored by: Intel
------------------------------------------------------------------------
r255282 | nwhitehorn | 2013-09-05 23:28:50 +0000 (Thu, 05 Sep 2013) | 2 lines
Also align the 32-bit PowerPC stacks.
------------------------------------------------------------------------
r255284 | rmacklem | 2013-09-06 02:34:34 +0000 (Fri, 06 Sep 2013) | 14 lines
It was reported via email that the cu_sent field used by the
krpc client side UDP was observed as way out of range and
caused the rpc.lockd daemon to hang trying to do an RPC.
Inspection of the code found two places where the RPC request
is re-queued, but the value of cu_sent was not incremented.
Since cu_sent is always decremented when the RPC request is
dequeued, I think this could have caused cu_sent to go out of
range. This patch adds lines to increment cu_sent for these
two cases.
Reported by: dwhite at ixsystems.com
Discussed with: dwhite at ixsystems.com
MFC after: 2 weeks
------------------------------------------------------------------------
r255285 | sjg | 2013-09-06 02:55:51 +0000 (Fri, 06 Sep 2013) | 7 lines
If MAKE_JOB_ERROR_TOKEN is set to false, do not put an error token ("E")
into the job queue.
This avoids closing down an entire build on failure of one branch.
Probably has no use outside the context of universe/tinderbox.
Reviewed by: obrien
------------------------------------------------------------------------
r255286 | sjg | 2013-09-06 02:57:15 +0000 (Fri, 06 Sep 2013) | 5 lines
During universe/tinderbox export MAKE_JOB_ERROR_TOKEN=no
This avoids aborting everything when one kernel fails.
Reviewed by: obrien
------------------------------------------------------------------------
r255287 | grehan | 2013-09-06 05:16:10 +0000 (Fri, 06 Sep 2013) | 7 lines
Allow CPUID leaf 0xD to be read as zeroes.
Linux reads this even though extended features
aren't exposed.
Support for 0xD will be expanded once AVX[2]
is exposed to the guest in upcoming work.
------------------------------------------------------------------------
r255288 | grehan | 2013-09-06 05:20:11 +0000 (Fri, 06 Sep 2013) | 5 lines
Emulate reading of the IA32_MISC_ENABLE MSR, by returning
the host MSR and masking off features that aren't supported.
Linux reads this MSR to detect if NX has been disabled via
BIOS.
------------------------------------------------------------------------
r255289 | glebius | 2013-09-06 05:37:49 +0000 (Fri, 06 Sep 2013) | 8 lines
On those machines, where sf_bufs do not represent any real object, make
sf_buf_alloc()/sf_buf_free() inlines, to save two calls to an absolutely
empty functions.
Reviewed by: alc, kib, scottl
Sponsored by: Nginx, Inc.
Sponsored by: Netflix
------------------------------------------------------------------------
r255290 | glebius | 2013-09-06 05:38:20 +0000 (Fri, 06 Sep 2013) | 2 lines
Fix build.
------------------------------------------------------------------------
r255292 | grehan | 2013-09-06 05:55:43 +0000 (Fri, 06 Sep 2013) | 4 lines
Allow level-triggered interrupt sources. While this isn't
precisely emulated, it is good enough for the single consumer
i.e. irq4, the serial port on Linux.
------------------------------------------------------------------------
r255293 | grehan | 2013-09-06 05:58:10 +0000 (Fri, 06 Sep 2013) | 2 lines
Fix spelling.
------------------------------------------------------------------------
r255294 | theraven | 2013-09-06 07:58:23 +0000 (Fri, 06 Sep 2013) | 9 lines
Add stub implementations of the missing C++11 math functions.
These are weak and so can be replaced by other versions in applications
that choose to do so, and will give a linker warning when used so that
applications that rely on the extra precision can avoid them.
Note that since the C/C++ specs only guarantee that long double has
precision equal to double, code that actually relies on these functions
having greater precision is unportable at best and broken at worst.
------------------------------------------------------------------------
r255296 | jilles | 2013-09-06 09:08:40 +0000 (Fri, 06 Sep 2013) | 2 lines
Update some signal man pages for multithreading.
------------------------------------------------------------------------
r255297 | theraven | 2013-09-06 09:46:44 +0000 (Fri, 06 Sep 2013) | 4 lines
Fix the namespace pollution caused by iconv.h including stdbool.h
This broke any C89 ports that defined bool themselves, including things
like gcc, gtk, and so on.
------------------------------------------------------------------------
r255298 | theraven | 2013-09-06 10:40:38 +0000 (Fri, 06 Sep 2013) | 2 lines
Use Makefile.inc instead of .export.
------------------------------------------------------------------------
r255300 | loos | 2013-09-06 12:47:14 +0000 (Fri, 06 Sep 2013) | 8 lines
Fix the leakage of dma tags on if_arge. The leak occur when arge_start()
add some packet(s) to tx ring and arge_stop() is called before receive the
sent packet interrupt from hardware. Fix arge_stop() to unload the in use
dma tags and free the associated mbuf.
PR: 178319, 163670
Approved by: adrian (mentor)
------------------------------------------------------------------------
r255301 | jilles | 2013-09-06 12:56:49 +0000 (Fri, 06 Sep 2013) | 5 lines
libc/stdio: Provide proper TAP output for fmemopen/open_[w]memstream.
A *.t file should provide Test Anything Protocol output so that it can be
run using the Perl "prove" tool.
------------------------------------------------------------------------
r255302 | jilles | 2013-09-06 12:59:48 +0000 (Fri, 06 Sep 2013) | 2 lines
libc/stdio: Run mkostemp test using prove.
------------------------------------------------------------------------
r255303 | jilles | 2013-09-06 13:47:16 +0000 (Fri, 06 Sep 2013) | 10 lines
libc/stdio: Allow fopen/freopen modes in any order (except initial r/w/a).
Austin Group issue #411 requires 'e' to be accepted before and after 'x',
and encourages accepting the characters in any order, except the initial
'r', 'w' or 'a'.
Given that glibc accepts the characters after r/w/a in any order and that
diagnosing this problem may be hard, change our libc to behave that way as
well.
------------------------------------------------------------------------
r255304 | mav | 2013-09-06 14:31:52 +0000 (Fri, 06 Sep 2013) | 4 lines
Fix kernel panic if cache->nelms is zero.
MFC after: 2 weeks
------------------------------------------------------------------------
r255305 | pjd | 2013-09-06 14:34:20 +0000 (Fri, 06 Sep 2013) | 4 lines
Bump __FreeBSD_version to 1000053 after cap_rights_t change.
Suggested by: danfe
------------------------------------------------------------------------
r255307 | bryanv | 2013-09-06 15:19:57 +0000 (Fri, 06 Sep 2013) | 5 lines
Add camcontrol support for the SCSI sanitize command
Reviewed by: ken, mjacob (eariler version)
Sponsored by: Netapp
------------------------------------------------------------------------
r255309 | mav | 2013-09-06 15:41:37 +0000 (Fri, 06 Sep 2013) | 3 lines
Make SES driver adequately react on simple enclosure devices -- read Short
Enclosure status to enclosure status field, clear previous state and exit.
------------------------------------------------------------------------
r255310 | bryanv | 2013-09-06 16:34:09 +0000 (Fri, 06 Sep 2013) | 4 lines
Add firmware downloading support for Samsung drives
Tested on Samsung SM1625 SSDs.
------------------------------------------------------------------------
r255311 | kib | 2013-09-06 16:48:34 +0000 (Fri, 06 Sep 2013) | 6 lines
In pmap_ts_referenced(), when restarting the loop due to pv list
generation changed, do not drop and immediately relock the pv list.
Suggested and reviewed by: alc
Sponsored by: The FreeBSD Foundation
------------------------------------------------------------------------
r255312 | kib | 2013-09-06 16:53:48 +0000 (Fri, 06 Sep 2013) | 11 lines
Only lock pvh_global_lock read-only for pmap_page_wired_mappings(),
pmap_is_modified() and pmap_is_referenced(), same as it was done for
pmap_ts_referenced().
Consolidate identical code for pmap_is_modified() and
pmap_is_referenced() into helper pmap_page_test_mappings().
Reviewed by: alc
Tested by: pho (previous version)
Sponsored by: The FreeBSD Foundation
------------------------------------------------------------------------
r255313 | luigi | 2013-09-06 17:16:33 +0000 (Fri, 06 Sep 2013) | 2 lines
r253616 nuked BINMAKE so we need to adapt to the new definition
------------------------------------------------------------------------
r255314 | luigi | 2013-09-06 17:18:43 +0000 (Fri, 06 Sep 2013) | 2 lines
generate multiple host keys and do that unconditionally
------------------------------------------------------------------------
r255315 | luigi | 2013-09-06 17:19:57 +0000 (Fri, 06 Sep 2013) | 2 lines
comment out some stale loader configurations.
------------------------------------------------------------------------
r255316 | jamie | 2013-09-06 17:32:29 +0000 (Fri, 06 Sep 2013) | 2 lines
Keep PRIV_KMEM_READ permitted inside jails as it is on the outside.
------------------------------------------------------------------------
r255318 | glebius | 2013-09-06 17:44:13 +0000 (Fri, 06 Sep 2013) | 3 lines
Fix build with gcc. Move sf_buf_alloc()/sf_buf_free() declarations
to MD headers.
------------------------------------------------------------------------
r255320 | delphij | 2013-09-06 18:41:57 +0000 (Fri, 06 Sep 2013) | 6 lines
Return BUS_PROBE_DEFAULT instead of BUS_PROBE_SPECIFIC.
This change is a 9.2-RELEASE candidate.
Approved by: HighPoint Technologies
------------------------------------------------------------------------
r255321 | theraven | 2013-09-06 20:08:03 +0000 (Fri, 06 Sep 2013) | 17 lines
On platforms where clang is the default compiler, don't build gcc or libstdc++.
To enable them, set WITH_GCC and WITH_GNUCXX in src.conf.
Make clang default to using libc++ on FreeBSD 10.
Bumped __FreeBSD_version for the change.
GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build
(or, at least, hard-codes the use of gcc into its build).
Thanks to everyone who helped make the ports tree ready for this (and bapt
for coordinating them all). Also to imp for reviewing this and working on the
forward-porting of the changes in our gcc so that we're getting to a much
better place with regard to external toolchains.
Sorry to all of the people who helped who I forgot to mention by name.
Reviewed by: bapt, imp, dim, ...
------------------------------------------------------------------------
r255322 | theraven | 2013-09-06 20:23:15 +0000 (Fri, 06 Sep 2013) | 4 lines
Fix use of MACHINE_ARCH where MACHINE was intended for pc98 detection.
Reported by: nwhitehorn
------------------------------------------------------------------------
r255323 | bryanv | 2013-09-06 20:24:21 +0000 (Fri, 06 Sep 2013) | 2 lines
Add vmx device to the i386 and amd64 NOTES files
------------------------------------------------------------------------
r255324 | theraven | 2013-09-06 20:42:14 +0000 (Fri, 06 Sep 2013) | 3 lines
Only set -Wno-c++11-extensions if we're building with clang, so bootstrapping
clang with gcc doesn't fail.
------------------------------------------------------------------------
r255325 | theraven | 2013-09-06 20:46:07 +0000 (Fri, 06 Sep 2013) | 3 lines
Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.
------------------------------------------------------------------------
r255326 | zeising | 2013-09-06 20:49:48 +0000 (Fri, 06 Sep 2013) | 4 lines
Add WITH_GCC alongside WITHOUT_GCC.
Remove the comment from WITHOUT_GCC about this not working without an
alternate toolchain, we have clang now.
------------------------------------------------------------------------
r255327 | zeising | 2013-09-06 20:51:15 +0000 (Fri, 06 Sep 2013) | 2 lines
Regenerate after unhooking gcc/g++ from the default build for some arches.
------------------------------------------------------------------------
r255328 | jilles | 2013-09-06 21:02:06 +0000 (Fri, 06 Sep 2013) | 7 lines
libc: Use SOCK_CLOEXEC for various internal file descriptors.
This change avoids undesirably passing some internal file descriptors to a
process created (fork+exec) by another thread.
Kernel support for SOCK_CLOEXEC was added in r248534, March 19, 2013.
------------------------------------------------------------------------
r255329 | davide | 2013-09-06 21:02:43 +0000 (Fri, 06 Sep 2013) | 6 lines
Retire netisr.netisr_direct and netisr.netisr_direct_force sysctls.
These were used to control/export dispatch policy but they're not anymore.
This commit cannot be MFC'ed to 9 because old netstat(9) binary relies
on such sysctl to work. On the other hand, there's no real reason to
keep'em around in 10.
------------------------------------------------------------------------
r255330 | bryanv | 2013-09-06 21:26:36 +0000 (Fri, 06 Sep 2013) | 4 lines
Bump .Dd after r255307 and r255310
Requested by: joel
------------------------------------------------------------------------
r255331 | gibbs | 2013-09-06 22:17:02 +0000 (Fri, 06 Sep 2013) | 52 lines
Implement PV IPIs for PVHVM guests and further converge PV and HVM
IPI implmementations.
Submitted by: Roger Pau Monn?\195?\169
Sponsored by: Citrix Systems R&D
Submitted by: gibbs (misc cleanup, table driven config)
Reviewed by: gibbs
MFC after: 2 weeks
sys/amd64/include/cpufunc.h:
sys/amd64/amd64/pmap.c:
Move invltlb_globpcid() into cpufunc.h so that it can be
used by the Xen HVM version of tlb shootdown IPI handlers.
sys/x86/xen/xen_intr.c:
sys/xen/xen_intr.h:
Rename xen_intr_bind_ipi() to xen_intr_alloc_and_bind_ipi(),
and remove the ipi vector parameter. This api allocates
an event channel port that can be used for ipi services,
but knows nothing of the actual ipi for which that port
will be used. Removing the unused argument and cleaning
up the comments surrounding its declaration helps clarify
its actual role.
sys/amd64/amd64/mp_machdep.c:
sys/amd64/include/cpu.h:
sys/i386/i386/mp_machdep.c:
sys/i386/include/cpu.h:
Implement a generic framework for amd64 and i386 that allows
the implementation of certain CPU management functions to
be selected at runtime. Currently this is only used for
the ipi send function, which we optimize for Xen when running
on a Xen hypervisor, but can easily be expanded to support
more operations.
sys/x86/xen/hvm.c:
Implement Xen PV IPI handlers and operations, replacing native
send IPI.
sys/amd64/include/pcpu.h:
sys/i386/include/pcpu.h:
sys/i386/include/smp.h:
Remove NR_VIRQS and NR_IPIS from FreeBSD headers. NR_VIRQS
is defined already for us in the xen interface files.
NR_IPIS is only needed in one file per Xen platform and is
easily inferred by the IPI vector table that is defined in
those files.
sys/i386/xen/mp_machdep.c:
Restructure to more closely match the HVM implementation by
performing table driven IPI setup.
------------------------------------------------------------------------
r255332 | cy | 2013-09-06 23:11:19 +0000 (Fri, 06 Sep 2013) | 5 lines
Update ipfilter 4.1.28 --> 5.1.2.
Approved by: glebius (mentor)
BSD Licensed by: Darren Reed <darrenr at reed.wattle.id.au> (author)
------------------------------------------------------------------------
r255333 | rmacklem | 2013-09-06 23:14:31 +0000 (Fri, 06 Sep 2013) | 18 lines
Intermittent crashes in the NLM (rpc.lockd) code during system
shutdown was reporetd via email. The crashes occurred because the
client side NLM would attempt to use its socket after it had been
destroyed. Looking at the code, it would soclose() once the reference
count on the socket handling structure went to 0. Unfortunately,
nlm_host_get_rpc() will simply allocate a new socket handling structure
when none exists and use the now soclose()d socket. Since there doesn't
seem to be a safe way to determine when the socket is no longer needed,
this patch modifies the code so that it never soclose()es the socket.
Since there is only one socket ever created, this does not introduce a
leak when the rpc.lockd is stopped/restarted. The patch also disables
unloading of the nfslockd module, since it is not safe to do so (and
has never been safe to do so, from what I can see).
Reported by: mav
Tested by: mav
MFC after: 2 weeks
------------------------------------------------------------------------
r255334 | loos | 2013-09-06 23:39:56 +0000 (Fri, 06 Sep 2013) | 7 lines
Fix an off-by-one bug in ar71xx_gpio and bcm2835_gpio which makes the last
pin unavailable.
Reported and tested by: sbruno (ar71xx)
Approved by: adrian (mentor)
Pointy hat to: loos
------------------------------------------------------------------------
r255335 | loos | 2013-09-06 23:47:50 +0000 (Fri, 06 Sep 2013) | 5 lines
Remove the hardcoded limit for the number of gpio_pins that can be used.
Allocate it dynamically.
Approved by: adrian (mentor)
------------------------------------------------------------------------
r255336 | jilles | 2013-09-06 23:49:54 +0000 (Fri, 06 Sep 2013) | 5 lines
libc: Make resolver sockets close-on-exec (SOCK_CLOEXEC).
Although the resolver's sockets are exposed to applications via res_state,
I do not expect them to pass the sockets across execve().
------------------------------------------------------------------------
r255337 | tuexen | 2013-09-07 00:45:24 +0000 (Sat, 07 Sep 2013) | 5 lines
When computing the partial delivery point, take the
receiver socket buffer size correctly into account.
MFC after: 1 week
------------------------------------------------------------------------
r255338 | pfg | 2013-09-07 02:45:51 +0000 (Sat, 07 Sep 2013) | 12 lines
ext2fs: temporarily disable htree directory index.
Our code does not consider yet the case of hash collisions. This
is a rather annoying situation where two or more files that
happen to have the same hash value will not appear accessible.
The situation is not difficult to work-around but given that things
will just work without enabling htree we will save possible
embarrassments for the next release.
Reported by: Kevin Lo
------------------------------------------------------------------------
r255339 | pfg | 2013-09-07 03:10:12 +0000 (Sat, 07 Sep 2013) | 10 lines
newfs_msdos: fix inaccurate comments.
The fields from deMTime and deMDate in the DOS directory entry
are actually the last-modified time/date.
According to some online documentation these are the only
timestamps available in FAT12/FAT16.
MFC after: 3 days
------------------------------------------------------------------------
r255340 | dteske | 2013-09-07 03:24:22 +0000 (Sat, 07 Sep 2013) | 3 lines
Long URLs don't always appear even with autosizing and other tricks. So,
add some whitespace to put the URL on a line by itself, maximizing view.
------------------------------------------------------------------------
r255341 | dteske | 2013-09-07 03:27:13 +0000 (Sat, 07 Sep 2013) | 4 lines
Remove unnecessary mediaClose (FTP operations are done with either ftp(1)
or fetch(1), neither of which are stateful, compared to how sysinstall(8)
did FTP operations, maintaining an open session until mediaClose).
------------------------------------------------------------------------
r255342 | grehan | 2013-09-07 03:33:36 +0000 (Sat, 07 Sep 2013) | 5 lines
Mask off the vector from the MSI-x data word.
Some o/s's set the trigger-mode level bit which
results in an invalid vector and pass-thru interrupts
not being delivered.
-------------- next part --------------
------------------------------------------------------------------------
r255168 | kib | 2013-09-03 05:20:42 +0000 (Tue, 03 Sep 2013) | 7 lines
MFC r254945:
When allocating a pbuf for the cluster write, do not sleep waiting
for the available pbuf when passed vnode is backing md(4). Other i/o
directed to the same md device might already hold pbufs, and then we
could deadlock since only our progress can free a pbuf needed for
wakeup.
------------------------------------------------------------------------
r255183 | pfg | 2013-09-03 16:29:14 +0000 (Tue, 03 Sep 2013) | 25 lines
Add read-only support for extents in ext2fs.
Basic support for extents was implemented by Zheng Liu as part
of his Google Summer of Code in 2010. This support is read-only
at this time.
In addition to extents we also support the huge_file extension
for read-only purposes. This works nicely with the additional
support for birthtime/nanosec timestamps and dir_index that
have been added lately.
The implementation may not work for all ext4 filesystems as
it doesn't support some features that are being enabled by
default on recent linux like flex_bg. Nevertheless, the feature
should be very useful for migration or simple access in
filesystems that have been converted from ext2/3 or don't use
incompatible features.
Special thanks to Zheng Liu for his dedication and continued
work to support ext2 in FreeBSD.
Submitted by: Zheng Liu (lz@)
Reviewed by: Mike Ma, Christoph Mallon (previous version)
Sponsored by: Google Inc.
------------------------------------------------------------------------
r255188 | pfg | 2013-09-03 18:46:11 +0000 (Tue, 03 Sep 2013) | 25 lines
Add read-only support for extents in ext2fs.
Basic support for extents was implemented by Zheng Liu as part
of his Google Summer of Code in 2010. This support is read-only
at this time.
In addition to extents we also support the huge_file extension
for read-only purposes. This works nicely with the additional
support for birthtime/nanosec timestamps and dir_index that
have been added lately.
The implementation may not work for all ext4 filesystems as
it doesn't support some features that are being enabled by
default on recent linux like flex_bg. Nevertheless, the feature
should be very useful for migration or simple access in
filesystems that have been converted from ext2/3 or don't use
incompatible features.
Special thanks to Zheng Liu for his dedication and continued
work to support ext2 in FreeBSD.
Submitted by: Zheng Liu (lz@)
Reviewed by: Mike Ma, Christoph Mallon (previous version)
Sponsored by: Google Inc.
------------------------------------------------------------------------
r255196 | markj | 2013-09-03 23:17:18 +0000 (Tue, 03 Sep 2013) | 5 lines
MFC r254018:
Pass variables prefixed with both LD_ and LD_32_ to the run-time linker.
This prevents unintentional execution of programs when running ldd(1) on
32-bit Linux binaries.
------------------------------------------------------------------------
r255233 | erwin | 2013-09-05 06:58:49 +0000 (Thu, 05 Sep 2013) | 8 lines
MFC r255056
Reduce WARNS to 0 for dig, host, and nslookup to make them
compile with the optional WITH_BIND_SIGCHASE.
Submitted by: Andre Albsmeier <Andre.Albsmeier at siemens.com>
Approved by: delphij (mentor, implicit)
Sponsored by: DK Hostmaster A/S
------------------------------------------------------------------------
r255252 | pfg | 2013-09-05 15:50:34 +0000 (Thu, 05 Sep 2013) | 11 lines
MFC r254326:
Add support for the GCC binary integer constants extension.
This is required to build the i965 backend with newer versions of mesa.
Original patch from Joerg Wunsch in GCC Bug 23479, under the GPLv2;
also taken from there in OpenBSD.
Obtained from: gcc 4.3 (rev. 125346; GPLv2)
------------------------------------------------------------------------
r255262 | joerg | 2013-09-05 19:25:36 +0000 (Thu, 05 Sep 2013) | 5 lines
Merge r254809 and r254937 from head:
. Fix the "2step" feature (i.e. 360 KiB floppies in 1200 MiB drives)
. Fix the FDOPT_NOERROR option
------------------------------------------------------------------------
r255299 | jilles | 2013-09-06 12:45:08 +0000 (Fri, 06 Sep 2013) | 22 lines
Partial MFC of r248534: Implement SOCK_CLOEXEC and SOCK_NONBLOCK in kernel.
SOCK_CLOEXEC and SOCK_NONBLOCK can be OR'ed in socket() and socketpair()'s
type parameter.
The numerical values for SOCK_CLOEXEC and SOCK_NONBLOCK are as in NetBSD.
The SOCK_* flags are not passed to MAC because this may cause incorrect
failures and can be done later via fcntl() anyway. On the other hand, audit
is expected to cope with the new flags.
This commit does not add the constants to <sys/socket.h> as in r248534
because this would lead to various newly compiled software not working on
old kernels. It only serves to help 10.x binaries and prepare for a possible
full MFC (if third-party software starts to insist on SOCK_CLOEXEC and
SOCK_NONBLOCK).
MSG_CMSG_CLOEXEC from r248534 is not merged here because it changes a
KPI/KBI.
No mergeinfo because the rest of r248534 is missing.
------------------------------------------------------------------------
r255306 | dim | 2013-09-06 15:17:25 +0000 (Fri, 06 Sep 2013) | 9 lines
MFC r245428:
Add CLOCK_PROCESS_CPUTIME_ID to <time.h>, to synchronize the CLOCK_*
values with those in <sys/time.h>. Otherwise, if a program includes
<time.h> before <sys/time.h>, the CLOCK_PROCESS_CPUTIME_ID macro never
gets defined.
Reviewed by: davidxu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-snapshots/attachments/20130908/2066c8f5/attachment.sig>
More information about the freebsd-snapshots
mailing list