c250941 59 219 206 852 171 253 265 168 260 185 343 344 401 719 222 187 242 137 136 130 173 135 227 310 209 147 446 339 147 544 209 147 455 167 559 121 145 126 1107 153 387 364 234 238 240 490 140 172 172 136 286 561 321 118 265 161 218 622 350 350 K 10 svn:author V 5 markj K 8 svn:date V 27 2013-05-23T19:50:36.026961Z K 7 svn:log V 124 Include descriptions of the flags and fields printed when dumping the IPv6 prefix list. Reviewed by: hrs MFC after: 1 week END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2013-05-23T20:52:30.122003Z K 7 svn:log V 109 Add support for netgroup, based on patch in the PR but made consistent with existing style. PR: bin/132692 END K 10 svn:author V 2 se K 8 svn:date V 27 2013-05-23T20:57:20.895512Z K 7 svn:log V 760 Fix target selection logic, which did not comply with the man page. Instead of using the file with the least order of path name components, shortest filename and finally the shortest basename (with the search stopping as soon as one of these conditions is true), the first filename checked was used as the reference, and another filename was only selected if all of the above comparisons are in favour of the latter file. This was wrong, because filenames with path less components were only considered, if both of the other conditions were true as well. In fact, the first filename to be checked had good chances to be selected in the end, since it only needed to be better with regard to any one of the three criteria ... Reviewed by: delphij@freebsd.org END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-05-23T21:07:26.638976Z K 7 svn:log V 79 Use proper malloc type for ioctls white-list. Reported by: pho Tested by: pho END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2013-05-23T21:33:10.571162Z K 7 svn:log V 156 While waiting for the bpf hold buffer to become idle, check the return value from mtx_sleep() and exit bpfread() on errors such as EINTR. Reviewed by: jhb END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-05-23T22:11:57.844995Z K 7 svn:log V 168 Consumers of vm_page_sleep_if_busy() always want to also check for the busy counter, so remove the feature to forbid that. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-05-23T22:45:58.075277Z K 7 svn:log V 73 MFC r248283: Some style fixes Submitted by: kib Obtained from: Netflix END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-05-23T22:48:40.598657Z K 7 svn:log V 164 MFC 248501: Assert that a ccb passed to cam_periph_mapmem() for XPT_SCSI_IO and XPT_ATA_IO holds virtual buffer address. Submitted by: kib Obtained from: Netflix END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-05-23T22:51:56.311984Z K 7 svn:log V 94 Update vendor-sys/illumos/dist to illumos-gate 14029:11aad50aea32 No FreeBSD-related changes END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-05-23T22:52:21.911324Z K 7 svn:log V 251 Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 14031:e4eb37f33d60 Illumos ZFS issues: 3699 zfs hold or release of a non-existent snapshot does not output error 3739 cannot set zfs quota or reservation on pool version < 22 END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-05-24T00:49:12.475682Z K 7 svn:log V 246 Ensure alq's shutdown_pre_sync event handler is deregistered on module unload to avoid a dangling pointer and eventual panic on system shutdown. Reported by: Ali Tested by: Ali MFC after: 1 week END K 10 svn:author V 6 julian K 8 svn:date V 27 2013-05-24T02:18:37.458756Z K 7 svn:log V 305 Initialising the new fibnum field to a known value turns out to be a GOOD IDEA (TM). Apparently MOST users set this (e.g. tcp and friends) but there are a few users that just assume that it is a sensible value but then go on to read it. These include SCTP, pf and the FLOWTABLE option (and maybe others). END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-05-24T03:29:32.456755Z K 7 svn:log V 624 The fasttrap provider cleans up probes asynchronously when a process with USDT probes exits. This was previously done with a callout; however, it is possible to sleep while holding the DTrace mutexes, so a panic will occur on INVARIANTS kernels if the callout handler can't immediately acquire one of these mutexes. This panic will be frequently triggered on systems where a USDT-enabled program (perl, for instance) is often run. This revision changes the fasttrap cleanup mechanism so that a dedicated thread is used instead of a callout. The old behaviour is otherwise preserved. Reviewed by: rpaulo MFC after: 1 month END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-05-24T03:52:54.956462Z K 7 svn:log V 124 Set the 'correct' VIA register A. The previous definition was marked as "Do not use" in the Apple source, so respect that. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-05-24T03:56:40.263440Z K 7 svn:log V 90 Mark the AIM Nexus device, and various buses, as early drivers, so they're resumed early. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-05-24T03:58:31.589919Z K 7 svn:log V 144 Add multipass for suspend/resume. This allows some devices to be resumed before others, even their peers, as required by PowerPC Mac hardware. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-05-24T03:59:14.066739Z K 7 svn:log V 40 Fix the save/restore of GPIOs on macio. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-05-24T04:00:47.235013Z K 7 svn:log V 39 Complete the suspend/resume for macio. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-05-24T04:01:32.642726Z K 7 svn:log V 33 Fix suspend/resume in ATA macio. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-05-24T04:03:04.865155Z K 7 svn:log V 76 Suspend/resume is functional for MPC745x PowerBooks. There are still bugs. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-05-24T06:13:36.187939Z K 7 svn:log V 40 Revert r250948, it was merged too soon. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-05-24T09:21:18.226336Z K 7 svn:log V 131 Withdraw http://svnweb.freebsd.org/changeset/base/250809 since the real fix is in http://svnweb.freebsd.org/changeset/base/250952. END K 10 svn:author V 5 achim K 8 svn:date V 27 2013-05-24T09:22:43.113363Z K 7 svn:log V 215 Driver 'aacraid' added. Supports Adaptec by PMC RAID controller families Series 6, 7, 8 and upcoming products. Older Adaptec RAID controller families are supported by the 'aac' driver. Approved by: scottl (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-05-24T09:30:10.042657Z K 7 svn:log V 116 MFC r250740: Add new capability types encodings from HyperTransport I/O Link Specification revisions 3.00 and 3.10. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-05-24T09:33:55.951267Z K 7 svn:log V 55 MFC r250741: Decode new HT 3.00 and 3.10 capabilities. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-05-24T09:48:42.652764Z K 7 svn:log V 353 Fix the data corruption on the swap-backed md. Assign the rv variable a success code if the pager was not asked for the page. Using an error code from the previous processed page caused zeroing of the valid page, when e.g. the previous page was not available in the pager. Reported by: lstewart Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-05-24T11:27:06.523353Z K 7 svn:log V 246 Enforce validation on the selected delete method via sysctl. This prevents users from selecting a delete method which may cause corruption e.g. MPS WS16 on pre P14 firmware. Reviewed by: pjd (mentor) Approved by: pjd (mentor) MFC after: 2 days END K 10 svn:author V 5 jamie K 8 svn:date V 27 2013-05-24T14:57:38.129662Z K 7 svn:log V 53 Mention the "nojailvnet" keyword. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-05-24T15:53:13.033928Z K 7 svn:log V 448 Fix building on slightly older -current and stable systems after the switch to bmake. The rescue bits are built via crunchgen, which didn't respect the MAKE environment variable until r237574 (i.e. ~11 months ago). This resulted in a failure due to bmake's internal -J flag being passed around and not being understood by the standard (i.e. host's) make. Note that the failure is conditional upon having the jobServer feature enabled within bmake. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-05-24T18:26:12.387456Z K 7 svn:log V 116 MFC r250740: Add new capability types encodings from HyperTransport I/O Link Specification revisions 3.00 and 3.10. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-05-24T18:28:27.067517Z K 7 svn:log V 55 MFC r250741: Decode new HT 3.00 and 3.10 capabilities. END K 10 svn:author V 2 se K 8 svn:date V 27 2013-05-24T18:54:52.083606Z K 7 svn:log V 363 The error handling for writes to the target file could lead to the final fclose() being skipped. Fix this by using boolean "&" and "|" instead of short-cut operators "&&" and "||". While here, increment the last part of the version string. The reason is the fixed output file selection logic in pch.c, which was committed as r250943, yesterday. Reviewed by: pfg END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-24T18:59:44.906874Z K 7 svn:log V 72 MFC r248593: Allow O_CLOEXEC in posix_openpt() flags. PR: kern/162374 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-05-25T06:28:30.394268Z K 7 svn:log V 463 Fix net80211 fragment creation. When creating fragment frames, the header length should honour the DATAPAD flag. This fixes the fragments that are queued to the ath(4) driver but it doesn't yet fix fragment transmission. That requires further changes to the ath(4) transmit path. Well, strictly speaking, it requires further changes to _all_ wifi driver transmit paths, but this is at least a start. Tested: * AR5416, STA mode, w/ fragthreshold set to 256. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-05-25T07:17:16.107294Z K 7 svn:log V 29 Revert r250972 to fix build. END K 10 svn:author V 2 jh K 8 svn:date V 27 2013-05-25T09:47:33.265350Z K 7 svn:log V 54 MFC r250443: Check the return value of sbuf_finish(). END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-05-25T10:35:05.233596Z K 7 svn:log V 33 create branch for multiqueue bpf END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-05-25T11:05:00.049146Z K 7 svn:log V 1013 MFC r250505: - Fix nullfs vnode reference leak in nullfs_reclaim_lowervp(). The null_hashget() obtains the reference on the nullfs vnode, which must be dropped. - Fix a wart which existed from the introduction of the nullfs caching, do not unlock lower vnode in the nullfs_reclaim_lowervp(). It should be innocent, but now it is also formally safe. Inform the nullfs_reclaim() about this using the NULLV_NOUNLOCK flag set on nullfs inode. - Add a callback to the upper filesystems for the lower vnode unlinking. When inactivating a nullfs vnode, check if the lower vnode was unlinked, indicated by nullfs flag NULLV_DROP or VV_NOSYNC on the lower vnode, and reclaim upper vnode if so. This allows nullfs to purge cached vnodes for the unlinked lower vnode, avoiding excessive caching. MFC r250852: Do not leak the NULLV_NOUNLOCK flag from the nullfs_unlink_lowervp(), for the case when the nullfs vnode is not reclaimed. Otherwise, later reclamation would not unlock the lower vnode. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-05-25T11:42:25.922093Z K 7 svn:log V 61 Added a regression test for MD corruption, fixed by r250966. END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-05-25T12:11:20.701403Z K 7 svn:log V 295 Only call free() on something we allocated. If we were already provided a struct _citrus_iconv (e.g. through iconv_open_into()), we should not call free() in case io_init_context() fails. Instead, call it on the pointer of the allocated object, which will be NULL in case of iconv_open_into(). END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-05-25T12:13:54.788656Z K 7 svn:log V 272 Make some tiny improvements to iconv_open(). - Remove an unneeded variable. - Fix whitespace bugs. - Fix typoes in comment. - Improve string handling a bit. Don't handroll strstr() and don't terminate a strdup()'ed string. Instead, simply strndup() the part we need. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-25T13:59:40.911815Z K 7 svn:log V 138 sigreturn(2): Remove ancient compatibility warning about 4.2BSD. The HISTORY subsection still says that sigreturn() was added in 4.3BSD. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-05-25T15:17:58.350013Z K 7 svn:log V 142 MFC r250533: Unconditionally install 210.backup-aliases as many MTAs other than sendmail support the use of /etc/aliases. PR: conf/176098 END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-05-25T15:36:15.785222Z K 7 svn:log V 148 Prevent shadowing. The name line_number seems to be used as a function parameter name for one of the Lex functions. Change the name to linenumber. END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-05-25T16:58:12.434939Z K 7 svn:log V 398 Fix in for C++11. It turns out that in C++11, char16_t and char32_t are built-in types; language keywords. Just fix this by putting traditional _*_T_DECLARED blocks around the definitions. We'll just predefine these in . This also opens up the possibility to define char16_t in other header files, if ever needed (e.g. if we would gain a for char16_t/char32_t). END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-05-25T17:09:58.913352Z K 7 svn:log V 43 Fix some statical clang analyzer warnings. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-05-25T17:16:31.409342Z K 7 svn:log V 75 MFC r250763 and r250765: Fix some USB audio device issues. PR: usb/178722 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-05-25T17:19:06.817471Z K 7 svn:log V 75 MFC r250763 and r250765: Fix some USB audio device issues. PR: usb/178722 END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-05-25T18:04:24.184674Z K 7 svn:log V 45 Add missing #includes, to keep Clang silent. END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-05-25T18:55:55.144128Z K 7 svn:log V 194 Add C11 macros CMPLX(), CMPLXF() and CMPLXL(). Clang allows us to initialize complex numbers using an array initializer, casted to a complex type. GCC has a builtin called __builtin_complex(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-05-25T18:59:11.847835Z K 7 svn:log V 465 Make the malloc(3) family of functions weak and make their non-weak implementations visible for use by applications. The functions $F that are now weak symbols are: allocm, calloc, dallocm, free, malloc, malloc_usable_size, nallocm, posix_memalign, rallocm, realloc, sallocm The non-weak implementations of $F are exported as __$F. Submitted by: stevek@juniper.net Reviewed by: jasone@, kib@ Approved by: jasone@ (jemalloc) Obtained from: juniper Networks, Inc END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-05-25T22:17:14.713058Z K 7 svn:log V 228 Rework the comment I initially wrote when SHLIB_LDSCRIPT was introduced. The build system is really intricate and I had a hard time to remind the whole picture even when reading my own words. This one will hopefully be better. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-05-26T00:44:20.543344Z K 7 svn:log V 21 Sync to head@r250985 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-05-26T03:48:40.713886Z K 7 svn:log V 172 MFC r250566: Add support for "d" floating-point suffix, as defined by draft N1312 of TR 24732. Emit pedantic warning if the feature is being used. Obtained from: OpenBSD END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-05-26T09:25:14.592485Z K 7 svn:log V 65 Move libmd.so.5 to the proper place and add missing lib32 entry. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-05-26T12:36:56.505236Z K 7 svn:log V 120 MFC: r250580 Add support for the eofflag to nfs_readdir() in the new NFS client so that it works under a unionfs mount. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-05-26T14:14:42.155725Z K 7 svn:log V 529 Pull in r182656 from upstream llvm trunk: LoopVectorize: LoopSimplify can't canonicalize loops with an indirectbr in it, don't assert on those cases. Fixes PR16139. This should fix clang assertion failures when optimizing at -O3, similar to: Assertion failed: (TheLoop->getLoopPreheader() && "No preheader!!"), function canVectorize, file contrib/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp, line 2171. Reported by: O. Hartmann PR: ports/178332, ports/178977 MFC after: 3 days END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-05-26T14:35:35.481610Z K 7 svn:log V 257 MFC r249591: Document jail__parameters option. The description explains why we should not configure "path", "host.hostname", "command", "ip4.addr" and ip6.addr" parameters with this, but rather use the historical rc.conf(5) options. END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-05-26T14:40:23.385105Z K 7 svn:log V 257 MFC r250992: Rework the comment I initially wrote when SHLIB_LDSCRIPT was introduced. The build system is really intricate and I had a hard time to remind the whole picture even when reading my own words. This one will hopefully be better. END