ĵW258191 163 1818 151 128 133 149 198 235 139 485 424 226 493 178 216 1013 227 289 153 152 293 136 177 235 155 186 248 181 153 152 452 267 223 173 233 310 129 154 146 138 616 201 194 309 115 200 1001 152 603 151 250 206 314 152 335 202 283 185 403 268 403 383 131 131 265 117 129 681 137 394 275 813 420 297 132 331 447 198 248 151 342 224 479 120 164 529 207 220 220 396 251 652 177 1192 135 598 492 146 435 145 242 509 141 164 195 215 162 358 347 859 170 222 144 313 241 259 325 987 380 296 537 1180 802 843 235 116 1546 199 195 237 222 276 477 261 2161 234 170 230 304 122 136 359 129 139 115 206 579 650 377 156 386 133 442 155 122 165 209 453 233 334 647 393 714 949 K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-15T21:28:06.730772Z K 7 svn:log V 1723 Import atf-0.17: Experimental version released on February 14th, 2013. * Added the atf_utils_cat_file, atf_utils_compare_file, atf_utils_copy_file, atf_utils_create_file, atf_utils_file_exists, atf_utils_fork, atf_utils_grep_file, atf_utils_grep_string, atf_utils_readline, atf_utils_redirect and atf_utils_wait utility functions to atf-c-api. Documented the already-public atf_utils_free_charpp function. * Added the cat_file, compare_file, copy_file, create_file, file_exists, fork, grep_collection, grep_file, grep_string, redirect and wait functions to the atf::utils namespace of atf-c++-api. These are wrappers around the same functions added to the atf-c-api library. * Added the ATF_CHECK_MATCH, ATF_CHECK_MATCH_MSG, ATF_REQUIRE_MATCH and ATF_REQUIRE_MATCH_MSG macros to atf-c to simplify the validation of a string against a regular expression. * Miscellaneous fixes for manpage typos and compilation problems with clang. * Added caching of the results of those configure tests that rely on executing a test program. This should help crossbuild systems by providing a mechanism to pre-specify what the results should be. * X-NetBSD-PR bin/45690: Make atf-report convert any non-printable characters to a plain-text representation (matching their corresponding hexadecimal entities) in XML output files. This is to prevent the output of test cases from breaking xsltproc later. Note that this import, compared to the one for 0.16, brings in all the files that are part of the release. This is to follow the Subversion Primer guidelines, which mention that all files should be imported first and only dropped when merging into contrib/atf/. Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-15T21:29:50.888679Z K 7 svn:log V 58 Tag the import of atf-0.17. Approved by: rpaulo (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-15T22:28:48.363467Z K 7 svn:log V 32 Vendor import from OpenBSD 5.4. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-15T22:29:30.646466Z K 7 svn:log V 37 Tag netcat from OpenBSD 5.4-RELEASE. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-15T22:45:14.759265Z K 7 svn:log V 53 MFV: netcat from OpenBSD 5.4. No functional change. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-15T23:31:39.056539Z K 7 svn:log V 105 The vendor specified field is 88 bytes, not 8 bytes. Submitted by: Kristof Provost END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-15T23:35:10.601102Z K 7 svn:log V 142 Update the onfi_params struct to ONFI revision 3.2 (06 12 2013). Submitted by: Kristof Provost (cleanup) and me (orig). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-15T23:35:45.833010Z K 7 svn:log V 43 Vendor import OpenBSD nc as of 2013/11/15. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-15T23:37:33.600705Z K 7 svn:log V 392 Search for and validate the ONFI params as specified in the standard. The ONFI spec states that at least two bytes of the signature ("ONFI") must be present, and the CRC must be correct to have a valid parameter page. If the page is not valid there are at least two backup pages where the data can also be found. Submitted by: Kristof Provost (cleanup) and me (orig). END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-15T23:41:32.134470Z K 7 svn:log V 331 ONFI parameters are little-endian, hence we must take care to convert them to native endianness. We must also pay attention to unaligned accesses. Copy the interesting parameters to a new struct so the rest of the code can forget about these problems. Submitted by: Kristof Provost (cleanup) and me (orig). END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-15T23:45:13.562536Z K 7 svn:log V 133 Move the luns field to the end of the struct, for serendipitous packing. (I was supposed to do this before committing it initially.) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-15T23:48:51.604764Z K 7 svn:log V 400 Rework the routine that returns a pointer to the table of software ECC byte positions within the OOB area to support chips with unusual OOB sizes such as 218 or 224 bytes. The table for 128 byte OOB works for these but it assumes 3 bytes of ECC per 256 byte block, and in the case of an ONFI chip the params page may ask for something different. In other words, this is better but not yet perfect. END K 10 svn:author V 6 edavis K 8 svn:date V 27 2013-11-16T00:31:32.998137Z K 7 svn:log V 83 Merge r258187 from head. Approved by: re@ (delphij) Approved by: davidch (mentor) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-11-16T01:03:56.540861Z K 7 svn:log V 123 gcc: Add a new option -Wvla to warn variable length array. Obtained from: gcc 4.3 (rev. 122851; GPLv2) MFC after: 3 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-11-16T01:07:02.102103Z K 7 svn:log V 920 libcpp: preprocessor speedup patches from mainline. * lex.c (_cpp_clean_line): Add uses of __builtin_expect. Don't look backward at the end of the line unless we saw a backslash. * internal.h (struct cpp_reader): Add new fields: nonexistent_file_hash and nonexistent_file_ob. * files.c: Include "obstack.h". (find_file_in_dir): Before trying to open the file, look up the path name in the hash table of nonexistent files. After failing to open the file, add the path name to the hash table. (_cpp_find_file): Cache the results of looking up the file name starting with the quote and bracket chain heads, if we can. (nonexistent_file_hash_eq): New static function. (_cpp_init_files): Initialize pfile->nonexistent_file_hash and pfile->nonexistent_file_ob. (_cpp_cleanup_files): Free pfile->nonexistent_file_hash and pfile->nonexistent_file_ob. Obtained from: gcc 4.3 (rev. 120263, 124929 ; GPLv2) MFC after: 3 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-11-16T01:16:24.311062Z K 7 svn:log V 134 gcc: add femit-struct-debug support to reduce Reduce dwarf debug size Obtained from: gcc 4.3 (rev. 123909; GPLv2) MFC after: 3 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-11-16T01:29:27.068654Z K 7 svn:log V 196 gcc: Fix postreload-gcse treatment of call-clobbered registers. Reference: http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01636.html Obtained from: gcc 4.3 (rev. 125037; GPLv2) MFC after: 3 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-11-16T04:29:02.311552Z K 7 svn:log V 58 Centrino Wireless-N 2200 does not have bluetooth support. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-11-16T08:20:50.190155Z K 7 svn:log V 57 Add a driver for the Texas Instruments Mailbox hardware. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-11-16T08:23:15.582392Z K 7 svn:log V 197 Add a driver for the TI Programmable Realtime Unit Subsystem. This is only a userland accessibility driver. It mmaps the hardware region to userland and posts interrupt notifications via kqueue. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-11-16T08:28:14.636898Z K 7 svn:log V 41 Enable the ti_mbox and ti_pruss drivers. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-11-16T09:01:24.258047Z K 7 svn:log V 85 MFC r257757: fix issues w/ AES-NI on unaligned data blocks... Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T10:34:16.370633Z K 7 svn:log V 142 MFC r249622: Make siis(4) and mvs(4) send bus_get_dma_tag() requests to parent buses passing real bus' child pointers instead of grandchilds. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T10:40:43.073975Z K 7 svn:log V 63 MFC r244981 (by jfv) Add Intel Lynx Point PCH SMBus Device IDs END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T10:41:49.440650Z K 7 svn:log V 94 MFC r253475 (by jfv): Add new Coleto Creek device support: SATA, SMBus, and Watchdog devices. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T10:43:02.045644Z K 7 svn:log V 155 MFC r253647: Decode some bits defined in AHCI 1.3.1 Device Sleep Technical Proposal. For now this is only conmetics to report HBA capabilities (Haswell?). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T10:44:17.999421Z K 7 svn:log V 89 MFC r254987 (by gavin): Support the PCI-Express SSD in the new MacBook Air (model A1465) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T10:47:58.078747Z K 7 svn:log V 61 MFC r250576 (by eadler): Fix several typos PR: kern/176054 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T10:49:02.374084Z K 7 svn:log V 60 MFC r253644: Add missing NULL check after malloc(M_NOWAIT). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T14:31:49.424247Z K 7 svn:log V 359 Implement automatic live resize support for GEOM MULTIPATH class. In "manual" mode just automatically resize provider in any direction. In "automatic" mode allow only growth (with new metadata write); in case of shrinking destroy the multipath device same as before since it may be undesirable to write new metadata within old user area. MFC after: 1 month END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-11-16T15:04:49.743729Z K 7 svn:log V 171 Cleanups which result in fixes which have been made upstream and where partially suggested by Andrew Galante. There is no functional change in FreeBSD. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T15:26:56.015810Z K 7 svn:log V 130 MFC r249065 (by trasz): Fix locking problem in ctl_maintenance_in() - one cannot use M_WAITOK or call ctl_done() with mutex held. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T15:34:11.303345Z K 7 svn:log V 81 MFC r254378 (by trasz): Turn comments about locking into actual lock assertions. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-11-16T15:34:14.808576Z K 7 svn:log V 137 When determining if an address belongs to an stcb, take the address family into account for wildcard bound endpoints. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-16T15:41:54.716264Z K 7 svn:log V 217 MFC r254787: Remove locking from taskqueue_member(). The list of threads is static during the taskqueue life cycle, so there is no need to protect it, taking quite congested lock several more times for each ZFS I/O. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-11-16T15:48:49.124995Z K 7 svn:log V 36 argc is now used MFC after: 2 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-11-16T15:54:46.474663Z K 7 svn:log V 61 Enabled should be a boolean, not a string MFC after: 2 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-11-16T16:09:09.981998Z K 7 svn:log V 51 Remove a stray write operation. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-11-16T17:17:23.874292Z K 7 svn:log V 43 Use DEVMETHOD_END. Not compile-tested yet. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-16T18:40:44.891464Z K 7 svn:log V 523 MFC r257583, r258012, r258013: r257583 (peter): Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than good. This caused libc to spoof the ports libiconv namespace and provide a colliding libiconv.so.3 to fool rtld. This should have been removed some time ago. r258012: Remove WITH_LIBICONV_COMPAT file to chase after r257583. r258013: Regenerate src.conf.5 after removal of WITH_LIBICONV_COMPAT. Approved by: re (kib) Sponsored by: The FreeBSD Foundation Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-16T19:22:13.779204Z K 7 svn:log V 108 MFC r257999 (peter): Merge nvi-2.1.1 -> 2.1.2 Approved by: re (???) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-16T19:41:04.892013Z K 7 svn:log V 100 Install BSD.tests.mtree when MK_TESTS is yes. Problem found by jhb@. Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-16T19:42:40.409197Z K 7 svn:log V 215 Move all atf directories to the tests mtree. This is to ensure that test-related directories don't get needlessly created (and later deleted) when MK_TESTS=no. Problem found by jhb@. Approved by: rpaulo (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-11-16T19:54:27.570026Z K 7 svn:log V 20 Add ZFS by default. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-11-16T19:57:56.109092Z K 7 svn:log V 104 Use SCTP_PR_SCTP_TTL when the user provides a positive timetolive in sctp_sendmsg(). MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-11-16T20:42:26.639267Z K 7 svn:log V 905 Add support to busdma/mi to host controllers that have or need I/O MMU support. Since all host controllers use the same I/O MMU implementation, have it implement the busdma I/F methods directly. For this to work, we need to be able to get from the device to the iommu_state structure. We do this by using the softc as an indirection. The device_get_softc() returns the softc of the host controller driver. By forcing the first field in that structure to point to the iommu state structure that goes with the device, we established the indirection. Implement iommu_xlate(). It does nothing anyway. Start some trivial bits in iommu_sync(), but not yet the important parts. The iommu_map() and iommu_unmap() methods are saved for last. The intend is to have the new methods work alongside the existing functions. This way isp(4), which uses busdma/mi, works alongside gem(4) which uses the old busdma code. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-11-16T20:49:23.579328Z K 7 svn:log V 57 Rename BUSDMA_ALLOC_CONSISTENT to BUSDMA_ALLOC_COHERENT. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-16T21:57:53.034307Z K 7 svn:log V 509 Import atf-0.18: Experimental version released on November 16th, 2013. * Issue 45: Added require.memory support in atf-run for FreeBSD. * Fixed an issue with the handling of cin with libc++. * Issue 64: Fixed various mandoc formatting warnings. * X-NetBSD-PR bin/48284: Made atf-check flush its progress message to stdout so that an interrupted test case always shows the last message being executed. * X-NetBSD-PR bin/48285: Fixed atf_check examples in atf-sh-api(3). Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-16T21:58:58.309237Z K 7 svn:log V 58 Tag the import of atf-0.18. Approved by: rpaulo (mentor) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-16T23:37:56.270884Z K 7 svn:log V 157 In the data abort handler, don't panic if kdb is available and says it handled the condition. PR: arm/183668 Submitted by: Howard Su END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-17T00:49:55.232755Z K 7 svn:log V 113 Lock mode_config before call drm_crtc_helper_set_config. Submitted by: avg Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-11-17T01:07:46.633301Z K 7 svn:log V 218 MFC: 257542 Fix API mismatch exposed by lagg. When destroying a lagg the driver tries to restore the old mac and fails due to API mismatch. Submitted by: Shahar Klein (shahark at mellanox.com) Approved by: re END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T01:59:42.759256Z K 7 svn:log V 52 Make sure that TLB1 mappings are aligned correctly. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T02:03:36.477634Z K 7 svn:log V 234 Move CCSR discovery into the platform module, while simultaneously making it more flexible about how the CCSR range is found. With this change, the stock MPC85XX will boot on a Routerboard 800. Hardware donated by: Benjamin Perrault END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-11-17T02:03:45.755349Z K 7 svn:log V 106 Add missing include files for the printf_l and scanf_l man pages. Reported by: swildner@dragonflybsd.org END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T02:05:20.803300Z K 7 svn:log V 182 There is no reason Book-E needs to save XER and CTR on context switches. They aren't Book-E specific registers to begin with and, even if they were, are defined volatile by the ABI. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T02:26:09.159685Z K 7 svn:log V 85 Remove a pointless #ifdef AIM. This is just PPC64 specific, including 64-bit Book-E. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-11-17T03:08:17.763452Z K 7 svn:log V 307 Add some more tag accessor functions: . busdma_tag_get_align() . busdma_tag_get_bndry() Add an I/O MMU private field to the MD's segment. The implementation for sparc64 uses it to save a pointer to the corresponding struct resource. I may remove it later, since it doesn't seem to be necessary per se. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-11-17T03:11:36.795803Z K 7 svn:log V 172 Finish the first rough implementation. This seems to work fairly well. I can now do some basic performance comparisons to see how much overhead the busdma/mi approach has. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T05:03:15.406343Z K 7 svn:log V 302 Make single precision floating point arithmetic actually work -- I think it never did -- and fix an obvious missing line. Floating point emulation on Book-E still needs some work but this gets it basically functional on soft-FPU systems (hard FPU for Book-E is not yet implemented). MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-17T05:38:54.901251Z K 7 svn:log V 290 In addition to r258220 allow shrinking in "automatic" mode if there is already valid metadata found at the new location. This should allow easy transparent recovery if first resize was done by mistake. While there, unify metadata write code and fix minor memory leak. MFC after: 1 month END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-11-17T06:22:15.538069Z K 7 svn:log V 35 Update supported FreeBSD branches. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-11-17T06:33:08.798619Z K 7 svn:log V 35 Update supported FreeBSD branches. END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-11-17T06:50:41.238751Z K 7 svn:log V 170 Alias WCHAR_T to UCS-4-INTERNAL. WCHAR_T is the internal encoding of a wchar_t type - which is 32 bit on FreeBSD. This matches observed behavior on a libiconv machine. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-11-17T10:16:56.976850Z K 7 svn:log V 23 MFC - tracking commit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-17T14:07:00.780844Z K 7 svn:log V 37 Fix umastat build on present kernel. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T14:44:22.828419Z K 7 svn:log V 580 Split the function of the PCB_FPU flags into two: PCB_FPU now indicates that the actual FPU is enabled, while PCB_FPREGS indicates that the FPU state structure in the PCB is valid. This separation reflects the situation on FPU-less systems in which the FP state is used by the emulator but we don't actually want to try to turn on the non-existant FPU. Use this flag to save and restore FP regs properly on both AIM and Book-E. As a side effect, this sets up hard-FP and Altivec on Book-E CPUs with such abilities except for a trap handler to call enable_fpu()/enable_altivec(). END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-11-17T15:09:39.794550Z K 7 svn:log V 41 Deregister helper hooks on vnet destroy. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T15:12:03.894079Z K 7 svn:log V 293 Unify handling of illegal instruction faults between AIM and Book-E. This allows FPU emulation on AIM as well as providing support for the mfpvr and lwsync instructions from userland on e500 cores. lwsync, in particular, is required for many C++ programs to work correctly. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-17T15:14:07.014675Z K 7 svn:log V 178 In r257692 I intentionally deleted code that handled P2P interfaces with equal addresses on both sides. It appeared that OpenVPN uses such configutations. Submitted by: trociny END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-17T15:58:13.949586Z K 7 svn:log V 720 MFC r258101: Since the doc/ toolchain conversion to docbook 5.0, JADETEX is no longer a valid option, so remove 'WITHOUT_JADETEX=yes' from PBUILD_FLAGS. While here, also remove 'WITHOUT_X11=yes', since it will cause a dependency conflict by requiring both print/ghostscript9 and print/ghostscript9-nox11. Switch to OPTIONSNG format (WITHOUT_* -> OPTIONS_UNSET='FOO'), and unset the FOP option, which requires Java (although it is disabled by default). Also unset the 'IGOR' option, since textproc/igor is a validation tool, not necessarily a dependency of the doc/ build itself. While here, reduce the line length of PBUILD_FLAGS. Approved by: re (kib) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-11-17T16:07:52.766117Z K 7 svn:log V 322 drm: Support DRM_CAP_TIMESTAMP_MONOTONIC capability This fixes DPMS with KDE and radeonkms. Without this, the display would freeze when the monitor is put into sleep state, and only resumes after several dozens of minutes once the monitor is powered on again. Tested by: Mathias Picker END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-17T17:31:07.273052Z K 7 svn:log V 201 Move function name declaration to top of function (where it is closest to the value it needs to be), s/fname/funcname/g, and move function name usage to within printf format string. MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-17T17:35:51.890626Z K 7 svn:log V 37 Kick an unused orphan to the curb ;) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-17T17:42:15.013937Z K 7 svn:log V 235 Improve debugging with f_eval_catch() introduced by SVN r257784 and also fix a bug where "pkg update" was not getting the value of PACKAGESITE. NB: PACKAGESITE needs to be explicitly exported in support of children. MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-17T17:48:55.123162Z K 7 svn:log V 351 Always shutdown the media when we're exiting the packages module (prevents errors on re-entry for physical media). Also, while we're here, stop ejecting the CDROM when we're done with it (but leave the functions for later use so that we could perhaps -- from the installer standpoint -- use it to eject the media after an install). MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-17T17:53:55.030648Z K 7 svn:log V 102 Fix package installation from physical media such as DVD. Discussed with: re (gjb) MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T18:03:03.766088Z K 7 svn:log V 147 Do not assume a value for #address-cells when parsing the OF translations map. This allows the kernel to get farther with OpenBIOS on 64-bit CPUs. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-17T18:07:10.427703Z K 7 svn:log V 56 Refactor draw-beastie function. Discussed on: -hackers END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-17T18:12:17.653803Z K 7 svn:log V 246 Add a try-include word (which acts the same as "include") and use it to conditionally include (but ignore failures) /boot/loader.rc.local and /boot/menu.rc.local -- to make customizing the menu easier. Reviewed by: alfred Discussed on: -hackers END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T18:27:07.438094Z K 7 svn:log V 123 Actually look up #address-cells instead of assuming it is correlated with the Uninorth version number. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T19:01:13.910591Z K 7 svn:log V 378 Use #address-cells and #size-cells here too instead of guessing. There is some comment I wrote about these values "lying" in the negative diff, which referes to an earlier misunderstanding about which node to read them from. This gets at least the PPC64 kernel booting in the mac99 system model in QEMU after bypassing the MacIO ATA driver, which apparently still has problems. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-11-17T19:37:52.379697Z K 7 svn:log V 24 Add more obsolete files END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T19:50:50.966209Z K 7 svn:log V 64 #interrupt-cells belongs to the iparent, not the device parent. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-11-17T20:29:33.385353Z K 7 svn:log V 431 Add a sysctl to allow disabling resetting the OF syscons. On some machines (G5 with lots of RAM), entering OF sometimes causes the machine to hang. Once the machine is booted, currently the only entry point into OF is through resetting the framebuffer on mode switch on these machines. Disabling this allows the machine to stay up at the expense of less usable consoles after X is started. MFC after: Never, this is only a hack END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-11-17T20:58:31.661662Z K 7 svn:log V 111 Fix creating a vlan over lagg over mlxen crash. PR: 181931 Submitted by: Shahar Klein (shahark mellanox.com) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T21:31:11.918866Z K 7 svn:log V 119 Alternative approaches to making build jails. This one goes in the attic because the in-kernel unionfs is a crashfest. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T21:33:32.617374Z K 7 svn:log V 119 These use FUSE's unionfs implementation, which is much better. However, our FUSE kernel support is *also* a crashfest. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T21:36:19.232698Z K 7 svn:log V 295 Something that is not a crashfest: use tmpfs and tar. This imposes a two second per job penalty on my powermac G5. Larger penalties could be expected for slow storage. For platforms that support it, and where the repo is local, zfs clone could also work. We should really fix FUSE not to crash. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-11-17T22:24:34.499640Z K 7 svn:log V 155 MFC: 258276 Fix creating a vlan over lagg over mlxen crash. PR: 181931 Submitted by: Shahar Klein (shahark mellanox.com) Approved by: re END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-11-17T22:31:23.664524Z K 7 svn:log V 556 Fix siginfo_t.si_status for wait6/waitid/SIGCHLD. Per POSIX, si_status should contain the value passed to exit() for si_code==CLD_EXITED and the signal number for other si_code. This was incorrect for CLD_EXITED and CLD_DUMPED. This is still not fully POSIX-compliant (Austin group issue #594 says that the full value passed to exit() shall be returned via si_status, not just the low 8 bits) but is sufficient for a si_status-related test in libnih (upstart, Debian/kFreeBSD). PR: kern/184002 Reported by: Dmitrijs Ledkovs Tested by: Dmitrijs Ledkovs END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-17T22:44:52.194842Z K 7 svn:log V 77 Work around bug in ports tree: bsd.pkgng.mk does not respect NO_LATEST_LINK. END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-11-17T22:52:17.441947Z K 7 svn:log V 1096 Attempt to move the POSIX iconv* symbols out of runtime linker space. FreeBSD systems usually implemented this as a third party module and our implementation hasn't played as nicely with the old way as it could have. To that end: * Rename the iconv* symbols in libc.so.7 to have a __bsd_ prefix. * Provide .symver compatability with existing 10.x+ binaries that referenced the iconv symbols. All existing binaries should work. * Like on Linux/glibc systems, add a libc_nonshared.a to the ldscript at /usr/lib/libc.so. * Move the "iconv*" wrapper symbols to libc_nonshared.a This should solve the runtime ambiguity about which symbols resolve to where. If you compile against the iconv in libc, your runtime dependencies will be unambiguous. Old 9.x libraries and binaries will always resolve against their libiconv.so.3 like they did on 9.x. They won't resolve against libc. Old 10.x binaries will be satisified by the .symver helpers. This should allow ports to selectively compile against the libiconv port if needed and it should behave without ambiguity now. Discussed with: kib END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-11-17T22:59:06.148854Z K 7 svn:log V 41 Bump __FreeBSD_version for iconv changes END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-17T23:12:55.020793Z K 7 svn:log V 504 Fix the build of some ATF tests. When building various programs from a single Makefile, program-specific variables are of the form ., not _. Fix this obvious typo to fix the build when WITH_TESTS=yes. I am not sure how this ever worked before given that manual inspection of bsd.progs.mk clearly shows that the expected character between the two components is a dot and not an underscore... but I suspect the changes in r258095 exposed this oddity. Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-17T23:19:06.312843Z K 7 svn:log V 398 Update notes for imports of atf. This is because the atf vendor branch now includes a verbatim copy of the distfile sources. As a result, the list of files to-be-removed from the contrib/ directory is now more aggressive (and different) and the upgrade notes now only describe stuff that is specific to the atf import and is not documented in the Subversion Primer. Approved by: rpaulo (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-11-17T23:28:10.145239Z K 7 svn:log V 54 Implement pmap_align_superpage(). MFC after: 6 weeks END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-11-17T23:43:50.060163Z K 7 svn:log V 340 Snapshot of WIP. Big refactor of the random_adaptors code to remove unnecessary layering. Also Yet Another Big Sweep Of Old code, essentially a rewrite of anything dodgy looking with my mind on efficiency. Some excess code is removed, and block copies are eliminated where possible. Locking is broken. This will be fixed in a follow-up. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-17T23:51:19.071295Z K 7 svn:log V 52 MFV: Import atf-0.18. Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-18T01:28:29.968438Z K 7 svn:log V 148 Drop all ATF tools code. We stopped building the tools in r256365 so there is no need to ship their code any longer. Approved by: rpaulo (mentor) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-11-18T03:24:50.620943Z K 7 svn:log V 414 The fasttrap ioctl used to create probes takes a variable-sized argument. It was not being correctly copied into the kernel on FreeBSD, and as a result, probes with multiple probe sites were not being created properly. To fix this, change the ioctl definition so that the fasttrap ioctl handler is responsible for copying in userland data. Submitted by: Prashanth Kumar MFC after: 1 month END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-18T04:17:04.526097Z K 7 svn:log V 41 Add a (shared) loopback IP to the jails. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-11-18T04:42:58.221202Z K 7 svn:log V 72 MFC 257636: Fix EUC ESDB and JIS CS-mapper. Approved by: re (delphij) END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-11-18T11:28:19.045468Z K 7 svn:log V 102 Fix ZFS deadlock when sending a snapshot which is mounted. MFC after: 1 week Sponsored by: Multiplay END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-11-18T11:29:25.926202Z K 7 svn:log V 122 The original copyright notice was missing. Reduce run time for datamove2.sh. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-11-18T11:30:22.114865Z K 7 svn:log V 70 Added old test scenario. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-18T12:44:05.336755Z K 7 svn:log V 264 Remove registration of C++ test programs into PROGS. C++ programs need to be added to PROGS_CXX, not PROGS, and the code was actually doing both. Just keep the registration into PROGS_CXX to prevent possible obscure build problems. Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-18T12:47:35.633864Z K 7 svn:log V 253 Fix the build of plain test programs. SRCS. must be explicitly defined when using the PROGS* functionality for each program to be built. As there are no plain test programs in the system yet, this was not detected. Approved by: rpaulo (mentor) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-11-18T12:57:46.706481Z K 7 svn:log V 765 Add some sample test programs. This change adds some sample test cases to share/examples/tests/ demonstrating the basic usage of the atf and plain interfaces. These test programs are fully-functional and are installed as part of the test suite, which guarantees that the sample code remains correct. However, they currently mostly serve as a placeholder for additional examples and may be incomplete (depending on how you look at them). I will see what else can be useful while working on documentation. As a bonus, the addition of these tests exercise the *.test.mk files, one of which (plain.test.mk) was not yet in use, and also demonstrates that it's possible to mix different kinds of test programs into the same test suite. Approved by: rpaulo (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-18T13:12:45.041281Z K 7 svn:log V 78 MFC r239710 (by glebius): Fix function name in keg_cachespread_init() assert. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-18T13:17:56.865521Z K 7 svn:log V 129 MFC r240676 (by glebius): If caller specifies UMA_ZONE_OFFPAGE explicitly, then do not waste memory in an allocation for a slab. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-18T13:20:20.823237Z K 7 svn:log V 52 MFC r246087 (by glebius): Fix typo in debug printf. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-18T14:32:42.085244Z K 7 svn:log V 212 Run ldconfig in jail to work around an apparent recent bug in pkg which triggers errors like this if run before (or without) /etc/rc: pkg-static: Cannot open "/var/run/ld-elf.so.hints": No such file or directory END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-18T14:33:44.274216Z K 7 svn:log V 140 Some parts of ports introspect LOCALBASE to figure out what versions of things are in use. Disable this in scripts run on the build master. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T15:11:13.783822Z K 7 svn:log V 166 Use the IMAGES variable to determine which image files to remove as part of 'make -C /usr/src/release clean'. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-11-18T15:13:58.026622Z K 7 svn:log V 232 MFC r258016: Disable building the ctl module for the i386 XEN kernel configuration for now, since it causes gcc warnings about casting 64 bit bus_addr_t's to 32 bit pointers, and vice versa. Reviewed by: ken Approved by: re (gjb) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T15:22:55.790754Z K 7 svn:log V 894 Add a script and configuration files to fetch pre-built packages from pkg.FreeBSD.org for inclusion on release medium (dvd1.iso). The script sources ${.CURDIR}/${TARGET}/pkg-stage.conf, which sets several environment variables, such as the pkg(8) ABI, PACKAGESITE, PKG_DBDIR, and PKG_CACHEDIR. PKG_CACHEDIR is set to the directory on the release medium used by bsdconfig(8) (/packages/${ABI}). ABI is determined by output of 'make -C /usr/src/release -V REVISION'. See pkg.conf(5) for descripton on other variables set here. The list of packages to include are set within the configuration file. The script and configuration files are intended to be run by the 'make dvd' target within the release directory, and assume the release is built within a chroot environment (such as by using release.sh). Relevant updates to release/Makefile will follow. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T16:04:04.664319Z K 7 svn:log V 287 Unconditionally copy the build host /etc/resolv.conf into the chroot directory, since hostname resolution may be needed in the case of building a dvd image (with packages) and also setting 'NOPORTS=1'. MFC after: 3 days X-MFC-With: r258305, r258307 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T16:11:19.517406Z K 7 svn:log V 203 Set the PKG_CACHEDIR directory to 'dvd/' instead of 'release/' in preparation of adding a 'dvd1.iso' target. MFC after: 3 days X-MFC-With: r258305, r258307, r258308 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T16:25:56.531318Z K 7 svn:log V 444 Add the 'dvd1.iso' target. This mimics the 'release.iso' target, with the additional step of fetching packages for inclusion on the dvd image. The 'pkg-stage' target is used to run 'scripts/pkg-stage.sh' if the '${TARGET}/pkg-stage.conf' configuration file exists (currently only amd64 and i386). Allow dvd1.iso to be skipped if NODVD=1. MFC after: 3 days X-MFC-With: r258305, r258307, r258308, r258309 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 asomers K 8 svn:date V 27 2013-11-18T16:51:56.134972Z K 7 svn:log V 1082 opensolaris/uts/common/dtrace/fasttrap.c Fix several problems that can cause panics on kldload and kldunload. * kproc_create(fasttrap_pid_cleanup_cb, ...) gets called before fasttrap_provs.fth_table gets allocated. This can lead to a panic on module load, because fasttrap_pid_cleanup_cb references fasttrap_provs.fth_table. Move kproc_create down after the point that fasttrap_provs.fth_table gets allocated, and modify the error handling accordingly. * dtrace_fasttrap_{fork,exec,exit} weren't getting NULLed until after fasttrap_provs.fth_table got freed. That caused panics on module unload because fasttrap_exec_exit calls fasttrap_provider_retire, which references fasttrap_provs.fth_table. NULL those function pointers earlier. * There wasn't any code to destroy the fasttrap_{tpoints,provs,procs}.fth_table mutexes on module unload, leading to a resource leak when WITNESS is enabled. Destroy those mutexes during fasttrap_unload(). Reviewed by: markj Approved by: ken (mentor) Sponsored by: Spectra Logic MFC after: 4 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T17:03:11.357752Z K 7 svn:log V 709 MFC r257805, r257806, r257807: r257805: Add a 'mini-memstick.img' release target, which will use the 'bootonly.iso' components to create a smaller memory stick image. This is useful for system recovery, where a full memstick.img image is not necessarily needed (or wanted). In addition, it is possible to do bootonly-style installation, where the base.txz, kernel.txz, etc. are fetched from a remote source. Provide backwards-compatible target (mini-memstick), to keep in sync with the targets documented in release/Makefile. r257806: Remove extra target from 'memstick' in r257805. r257807: Update release(7) to include 'mini-memstick' target. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T17:06:33.948690Z K 7 svn:log V 750 MFC r257942, r258101: r257942: Fix a few style nits. r258101: Since the doc/ toolchain conversion to docbook 5.0, JADETEX is no longer a valid option, so remove 'WITHOUT_JADETEX=yes' from PBUILD_FLAGS. While here, also remove 'WITHOUT_X11=yes', since it will cause a dependency conflict by requiring both print/ghostscript9 and print/ghostscript9-nox11. Switch to OPTIONSNG format (WITHOUT_* -> OPTIONS_UNSET='FOO'), and unset the FOP option, which requires Java (although it is disabled by default). Also unset the 'IGOR' option, since textproc/igor is a validation tool, not necessarily a dependency of the doc/ build itself. While here, reduce the line length of PBUILD_FLAGS. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T17:52:18.014096Z K 7 svn:log V 142 Fix how ABI is evaluated so it matches more than a dot-zero case. MFC after: 3 days X-MFC-With: r258310 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-11-18T18:03:52.280557Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-11-18T18:14:23.469614Z K 7 svn:log V 1451 Bug fixes in iconv(3) UTF-7 support. - Add ' to the list of directly encoded characters and * to the list of optionally directly encoded characters as per RFC 2152. - In _citrus_UTF7_mbtoutf16 on end of input when the next output character has only been partially decoded, save a copy of the buffer of input characters (not just its length). On the next call with more input characters this buffer is reprocessed together with the new input to form a fully decoded output character. - At the end of a base64 encoded sequence fully discard '-' (BASE64_OUT) by decrementing psenc->chlen and i. This is needed to make room in psenc->ch (input buffer) in case the next input character starts a new base64 encoded sequence. And also, if this is the end of input and no output character can be returned, this brings the encoder in the initial state as indicated by _citrus_UTF7_stdenc_get_state_desc_generic which is used by the caller to distinguish between no output and partial output. - In _citrus_UTF7_mbrtowc_priv pass the s parameter (input pointer) directly to _citrus_UTF7_mbtoutf16 instead of a copy (s0). This way s is updated correctly in case of errors. - In _citrus_UTF7_mbrtowc_priv when called with psenc->surrogate set (previous call did not have enough input), retrieve the previously decoded UTF-16 character from (psenc->cache >> psenc->bits) instead of (psenc->cache >> 2). MFC after: 5 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T18:45:27.916719Z K 7 svn:log V 106 Document the 'dvdrom' target. MFC after: 3 days X-MFC-With: r258310 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-11-18T19:13:38.618393Z K 7 svn:log V 101 Also delete lib32 libiconv. Reported by: Tomoaki AOKI MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T19:57:11.321270Z K 7 svn:log V 144 Remove WITHOUT_PROFILE=1 for the dvd1.iso medium. Requested by: hrs MFC after: 3 days X-MFC-With: r258310 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-18T20:01:52.366022Z K 7 svn:log V 129 Simplify PKG_ABI for pkg-stage.sh. Submitted by: hrs MFC after: 3 days X-MFC-With: r258310 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-11-18T20:21:44.522720Z K 7 svn:log V 183 gcc: Record some previous commits in the gcc43 ChangeLog. It is useful to update the ChangeLog with upstream references related to our local r189824 and r255095. MFC after: 3 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-18T22:18:07.644789Z K 7 svn:log V 380 - Split functions that initialize various pf parts into their vimage parts and global parts. - Since global parts appeared to be only mutex initializations, just abandon them and use MTX_SYSINIT() instead. - Kill my incorrect VNET_FOREACH() iterator and instead use correct approach with VNET_SYSINIT(). Submitted by: Nikos Vassiliadis Reviewed by: trociny END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-18T22:35:02.332967Z K 7 svn:log V 168 Move mode_config up one level. DRM drivers call drm_fb_helper_restore_fbdev_mode with that lock already held. Suggested by: avg Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-11-18T22:37:01.037498Z K 7 svn:log V 2067 MFC r258148,r258149,r258150,r258152,r258153,r258154,r258181,r258182: r258148: Add a note that this file is compiled as part of the kernel and libc. Requested by: kib r258149: Change cap_rights_merge(3) and cap_rights_remove(3) to return pointer to the destination cap_rights_t structure. This already matches manual page. r258150: Sync return value with actual implementation. r258151: Style. r258152: Precisely document capability rights here too (they are already documented in rights(4)). r258153: The CAP_LINKAT, CAP_MKDIRAT, CAP_MKFIFOAT, CAP_MKNODAT, CAP_RENAMEAT, CAP_SYMLINKAT and CAP_UNLINKAT capability rights make no sense without the CAP_LOOKUP right, so include this rights. r258154: - Move CAP_EXTATTR_* and CAP_ACL_* rights to index 1 to have more room in index 0 for the future. - Move CAP_BINDAT and CAP_CONNECTAT rights to index 0 so we can include CAP_LOOKUP right in them. - Shuffle the bits around so there are no gaps. This is last chance to do that as all moved rights are not used yet. r258181: Replace CAP_POLL_EVENT and CAP_POST_EVENT capability rights (which I had a very hard time to fully understand) with much more intuitive rights: CAP_EVENT - when set on descriptor, the descriptor can be monitored with syscalls like select(2), poll(2), kevent(2). CAP_KQUEUE_EVENT - When set on a kqueue descriptor, the kevent(2) syscall can be called on this kqueue to with the eventlist argument set to non-NULL value; in other words the given kqueue descriptor can be used to monitor other descriptors. CAP_KQUEUE_CHANGE - When set on a kqueue descriptor, the kevent(2) syscall can be called on this kqueue to with the changelist argument set to non-NULL value; in other words it allows to modify events monitored with the given kqueue descriptor. Add alias CAP_KQUEUE, which allows for both CAP_KQUEUE_EVENT and CAP_KQUEUE_CHANGE. Add backward compatibility define CAP_POLL_EVENT which is equal to CAP_EVENT. r258182: Correct right names. Sponsored by: The FreeBSD Foundation Approved by: re (kib) END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-18T22:39:34.224069Z K 7 svn:log V 141 Switch to use atomic ops for VT window flags, because some modifications can come from another thread. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-11-18T22:53:24.897225Z K 7 svn:log V 75 Indicate which options are extensions to POSIX. Inspired by: DragonFlyBSD END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-11-18T22:55:50.521566Z K 7 svn:log V 137 Notify terminal about process on current terminal start to use mouse on a different "mouse level". Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gnn K 8 svn:date V 27 2013-11-18T22:58:14.584297Z K 7 svn:log V 211 Allow ethernet drivers to pass in packets connected via the nextpkt pointer. Handling packets in this way allows drivers to amortize work during packet reception. Submitted by: Vijay Singh Sponsored by: NetApp END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-11-18T23:11:42.572560Z K 7 svn:log V 27 Bump .Dd for recent change END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-11-19T00:34:59.357868Z K 7 svn:log V 44 Need to also test for defined(${v}_${PROG}) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-11-19T00:37:53.770264Z K 7 svn:log V 264 Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet adapters. Both devices support Gigabit Ethernet and USB 2.0, and the AX88179 supports USB 3.0. The driver was written by kevlo@ and lwhsu@, with a few bug fixes from me. MFC after: 2 months END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-11-19T00:40:38.413905Z K 7 svn:log V 35 Regenerate usb.conf after r258331. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-11-19T00:43:53.560760Z K 7 svn:log V 45 Provide the correct path to bus_autoconf.sh. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-19T01:07:25.409511Z K 7 svn:log V 19 Some words on i/o. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-11-19T09:35:20.265461Z K 7 svn:log V 113 Pre-zero the MAC context. Security: CVE-2013-4548 Security: FreeBSD-SA-13:14.openssh Approved by: re (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-19T10:05:53.654531Z K 7 svn:log V 486 Implement soft pressure on UMA cache bucket sizes. Every time system detects low memory condition decrease bucket sizes for each zone by one item. As result, higher memory pressure will push to smaller bucket sizes and so smaller per-CPU caches and so more efficient memory use. Before this change there was no force to oppose buckets growth as result of practically inevitable zone lock conflicts, and after some run time per-CPU caches could consume enough RAM to kill the system. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-19T10:10:44.071677Z K 7 svn:log V 557 Add two new UMA bucket zones to store 3 and 9 items per bucket. These new buckets make bucket size self-tuning more soft and precise. Without them there are buckets for 1, 5, 13, 29, ... items. While at bigger sizes difference about 2x is fine, at smallest ones it is 5x and 2.6x respectively. New buckets make that line look like 1, 3, 5, 9, 13, 29, reducing jumps between steps, making algorithm work softer, allocating and freeing memory in better fitting chunks. Otherwise there is quite a big gap between allocating 128K and 5x128K of RAM at once. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-19T10:17:10.267035Z K 7 svn:log V 284 Grow UMA zone bucket size also on lock congestion during item free. Lock congestion is the same, whether it happens on alloc or free, so handle it equally. Now that we have back pressure, there is no problem to grow buckets a bit faster. Any way growth is much slower then in 9.x. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-11-19T10:39:48.030408Z K 7 svn:log V 60 MFC r257874: Fix extattr(2) MLINKS. Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-19T10:51:46.263920Z K 7 svn:log V 293 Implement mechanism to safely but slowly purge UMA per-CPU caches. This is a last resort for very low memory condition in case other measures to free memory were ineffective. Sequentially cycle through all CPUs and extract per-CPU cache buckets into zone cache from where they can be freed. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-11-19T11:11:51.401354Z K 7 svn:log V 37 MFC r257874: Fix extattr(2) MLINKS. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-19T11:19:07.274793Z K 7 svn:log V 349 Reenable vfs.zfs.zio.use_uma for amd64, disabled at r209261. On machines with seveal CPUs and enough RAM this can easily twice improve ZFS performance or twice reduce CPU usage. It was disabled three years ago due to memory and KVA exhaustion reports, but our VM subsystem got improved a lot since that time, hopefully enough to make another try. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-11-19T11:47:30.268641Z K 7 svn:log V 63 MFH (r257954): upgrade to OpenSSH 6.4p1 Approved by: re (kib) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-19T12:21:47.970877Z K 7 svn:log V 26 Merge head up to r258343. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-11-19T13:32:24.907043Z K 7 svn:log V 72 One more BIND remnant: /etc/mtree/BIND.chroot.dist Discussed with: des END K 10 svn:author V 4 oleg K 8 svn:date V 27 2013-11-19T14:24:25.918757Z K 7 svn:log V 115 MFC: 257695 - Fix link loss on vlan reconfiguration. - Fix issues with 'vlanhwfilter'. Approved by: re (glebius) END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-11-19T15:35:26.416770Z K 7 svn:log V 355 Support SNI in libfetch SNI is Server Name Indentification which is a protocol for TLS that indicates the host that is being connected to at the start of the handshake. It allows to use Virtual Hosts on HTTPS. Submitted by: sbz Submitted by: Michael Gmelin [1] PR: kern/183583 [1] Reviewed by: des Approved by: bapt MFC after: 1 week END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-11-19T15:43:27.041030Z K 7 svn:log V 135 Follow-up to r258227 and document 'enabled' as a boolean instead of a string. Approved by: bapt MFC after: 2 days X-MFC-With: r258227 END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-11-19T16:11:03.195139Z K 7 svn:log V 236 Fix build with GCC SSL_set_tlsext_host_name(3) internally does not modify the host buffer pased to it. So it is safe to DECONST the struct url* here. Reported by: gjb Approved by: bapt (implicit) MFC after: 1 week X-MFC-With: r258347 END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-11-19T17:53:19.494729Z K 7 svn:log V 554 Pull in r191896 from upstream llvm trunk: CaptureTracking: Plug a loophole in the "too many uses" heuristic. The heuristic was added to avoid spending too much compile time in a specially crafted test case (PR17461, PR16474) with many uses on a select or bitcast instruction can still trigger the slow case. Add a check for that case. This only affects compile time, don't have a good way to test it. This fixes the excessive compile time spent on a specific file of the graphics/rawtherapee port. Reported by: mandree MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-19T18:35:01.408463Z K 7 svn:log V 300 fsx: new option to disable msync(MS_SYNC) after each write via mmaped region This option should be useful for testing if a filesystem uses the unified buffer / page cache. Or, if filesystem's emulation of the unified cache works as expected. This should be the case for e.g. ZFS. MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-19T18:35:38.848556Z K 7 svn:log V 621 fsx: add an option to randomly call msync(MS_INVALIDATE) This call should be a sufficiently close approximation of what happens when a filesystem is unmounted and remounted. To be more specific, it should test that the data that was in the page cache is the same data that ends up on a stable storage or in a filesystem's internal cache, if any. This will catch the cases where a page with modified data is marked as a clean page for whatever reason. While there, make logging of the special events (open+close before plus invalidation now) more generic and slightly better than the previous hack. MFC after: 10 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-19T18:43:47.492332Z K 7 svn:log V 856 zfs page_busy: fix the boundaries of the cleared range This is a fix for a regression introduced in r246293. vm_page_clear_dirty expects the range to have DEV_BSIZE aligned boundaries, otherwise it extends them. Thus it can happen that the whole page is marked clean while actually having some small dirty region(s). This commit makes the range properly aligned and ensures that only the clean data is marked as such. It would interesting to evaluate how much benefit clearing with DEV_BSIZE granularity produces. Perhaps instead we should clear the whole page when it is completely overwritten and don't bother clearing any bits if only a portion a page is written. Reported by: George Hartzell , Richard Todd Tested by: George Hartzell , Reviewed by: kib MFC after: 5 days END