ƒ²v273340 184 160 507 212 303 175 321 193 180 251 232 254 181 376 294 195 166 789 293 293 247 257 304 304 106 310 529 885 868 158 158 253 230 201 129 143 483 229 1066 158 243 184 316 164 222 222 162 201 332 197 554 184 185 244 302 255 192 220 286 1025 249 153 129 387 169 376 179 257 418 463 352 183 215 281 161 312 348 229 624 170 327 120 130 143 256 146 218 148 199 192 336 141 179 229 302 273 357 176 220 220 152 124 441 346 464 166 150 416 145 267 887 341 477 188 158 131 195 336 152 176 247 141 265 239 131 169 279 179 184 188 188 183 269 274 1495 1069 602 1241 528 424 203 170 441 461 143 132 190 441 407 392 550 119 119 141 131 123 110 205 330 139 383 607 708 311 266 552 226 317 134 582 213 289 162 228 258 428 314 178 208 336 121 406 204 309 173 K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-20T18:53:54.531037Z K 7 svn:log V 64 MFC r272884: accept(2) may and can return EAGAIN, document it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-20T18:58:45.938561Z K 7 svn:log V 410 MFC r272504: MFV r272494: Make space_map_truncate() always do space_map_reallocate(). Without this, setting space_map_max_blksz would cause panic for existing pool, as dmu_objset_set_blocksize would fail if the object have multiple blocks. Illumos issues: 5164 space_map_max_blksz causes panic, does not work 5165 zdb fails assertion when run on pool with recently-enabled spacemap_histogram feature END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-20T20:21:40.615206Z K 7 svn:log V 117 Fix a typo from r189544, which replaced unp_global_rwlock with unp_list_lock and unp_link_rwlock. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-20T21:53:51.265971Z K 7 svn:log V 206 MFC r272507: MFV r272496: Add tunable for number of metaslabs per vdev (vfs.zfs.vdev.metaslabs_per_vdev). The default remains at 200. Illumos issue: 5161 add tunable for number of metaslabs per vdev END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-20T21:57:24.289930Z K 7 svn:log V 83 filedesc: plug 2 write-only variables Reported by: Coverity CID: 1245745, 1245746 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-20T21:59:11.282407Z K 7 svn:log V 224 MFC r272510: MFV r272498: Add a new sysctl, vfs.zfs.vol.unmap_enabled, which allows the system administrator to toggle whether ZFS should ignore UNMAP requests. Illumos issue: 5149 zvols need a way to ignore DKIOCFREE END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-20T22:04:49.648458Z K 7 svn:log V 97 MFC r272511: MFV r272499: Illumos issue: 5174 add sdt probe for blocked read in dbuf_read() END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-20T22:09:30.227996Z K 7 svn:log V 84 MFC r272584: MFV r272501: Illumos issue: 5177 remove dead code from dsl_scan.c END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-20T22:13:50.286400Z K 7 svn:log V 154 MFC r272598: MFV r272585: Split the godfather zio into CPU number's to reduce lock contention. Illumos issue: 5176 lock contention on godfather zio END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-20T22:18:21.714242Z K 7 svn:log V 135 MFC r272599: MFV r272588: Handle old format deadlist. Illumos issue: 5178 zdb -vvvvv on old-format pool fails in dump_deadlist() END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-20T22:22:39.382374Z K 7 svn:log V 157 MFC r272601: MFV r272591: Use loaned ARC buffer for zfs receive to avoid copy. Illumos issue: 5162 zfs recv should use loaned arc buffer to avoid copy END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-20T22:52:15.638574Z K 7 svn:log V 89 Plug unnecessary binvp NULL initialization and test. Reported by: Coverity CID: 1018889 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-20T23:32:34.217863Z K 7 svn:log V 283 The imx6 hardware is fast enough to make good use of however much timecounter resolution is available, so ask for a 1 GHz frequency. It won't actually get one that fast, but that'll get the fastest available clock and use a divisor of 1 (probably 132 or 66mhz on current hardware). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-20T23:34:47.084252Z K 7 svn:log V 201 Attach the imx6 CCM driver during BUS_PASS_CPU. It controls the clocks for most on-chip devices and needs to be available before other drivers start attaching and asking to have their clocks enabled. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-21T00:06:03.854908Z K 7 svn:log V 102 MFC r273204: Add more descriptive metadata to the ISO images. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-21T00:07:37.529020Z K 7 svn:log V 74 Fix label for the UEFI bootonly cd. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-21T01:06:58.484194Z K 7 svn:log V 695 Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT misconfiguration VM-exit. An EPT misconfiguration is triggered when the processor encounters a PTE that is writable but not readable (WR=10). On processors that require A/D bit emulation PG_M and PG_A map to EPT_PG_WRITE and EPT_PG_READ respectively. If the PTE is updated as in the following code snippet: *pte |= PG_M; *pte |= PG_A; then it is possible for another processor to observe the PTE after the PG_M (aka EPT_PG_WRITE) bit is set but before PG_A (aka EPT_PG_READ) bit is set. This will trigger an EPT misconfiguration VM-exit on the other processor. Reported by: rodrigc Reviewed by: grehan MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-21T01:14:56.895710Z K 7 svn:log V 196 MFC r272721: Fix a long standing bug in MAC statistics register access. One additional register was erroneously added in the MAC register set such that 7 TX statistics counters were wrong. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-21T01:15:43.543175Z K 7 svn:log V 196 MFC r272721: Fix a long standing bug in MAC statistics register access. One additional register was erroneously added in the MAC register set such that 7 TX statistics counters were wrong. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-21T01:31:24.081287Z K 7 svn:log V 150 It seems multicast filtering of RTL8168F does not work. Workaround the silicon bug by accepting any multicast packets. PR: 193488 MFC After: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-21T01:34:18.463109Z K 7 svn:log V 165 cxgbetool: Catch up with r185979. One of MAP_ANON, MAP_PRIVATE, MAP_SHARED, or MAP_STACK must be specified. This fixes the "loadfw" subcommand. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-21T01:48:19.246706Z K 7 svn:log V 207 MFC r272729,272732: Add new quirk PCI_QUIRK_MSI_INTX_BUG to pci(4). QAC AR816x/E2200 controller has a silicon bug that MSI interrupt does not assert if PCIM_CMD_INTxDIS bit of command register is set. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-21T01:49:07.403727Z K 7 svn:log V 207 MFC r272729,272732: Add new quirk PCI_QUIRK_MSI_INTX_BUG to pci(4). QAC AR816x/E2200 controller has a silicon bug that MSI interrupt does not assert if PCIM_CMD_INTxDIS bit of command register is set. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-21T01:57:36.012234Z K 7 svn:log V 13 IFC @r273338 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-21T02:41:40.447319Z K 7 svn:log V 217 MFstable10 r273354: MFC r273204: Add more descriptive metadata to the ISO images. MFstable10 r273355: Fix label for the UEFI bootonly cd. PR: 165876 Approved by: re (hrs) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-21T04:30:00.092174Z K 7 svn:log V 434 Fix a few small bugs in the DTrace USDT rules: * anchor search strings appropriately, * use .ALLSRC to pass the full path to the D script to dtrace(1), * don't insert the auto-generated header into SRCS - it doesn't accomplish anything, and we end up having to remove it from OBJS anyway. Reviewed by: rpaulo Differential Revision: https://reviews.freebsd.org/D978 MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-21T04:48:49.550520Z K 7 svn:log V 788 MFC r272730,273018: Add support for QAC AR816x/AR817x Gigabit/Fast Ethernet controllers. These controllers seem to have the same feature of AR813x/AR815x and improved RSS support(4 TX queues and 8 RX queues). alc(4) supports all hardware features except RSS. I didn't implement RX checksum offloading for AR816x/AR817x just because I couldn't get confirmation from the Vendor whether AR816x/AR817x corrected its predecessor's RX checksum offloading bug on fragmented packets. This change adds supports for the following controllers. o AR8161 PCIe Gigabit Ethernet controller o AR8162 PCIe Fast Ethernet controller o AR8171 PCIe Gigabit Ethernet controller o AR8172 PCIe Fast Ethernet controller o Killer E2200 Gigabit Ethernet controller Relnotes: yes END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-21T04:50:07.298268Z K 7 svn:log V 771 MFC r272730,273018: Add support for QAC AR816x/AR817x Gigabit/Fast Ethernet controllers. These controllers seem to have the same feature of AR813x/AR815x and improved RSS support(4 TX queues and 8 RX queues). alc(4) supports all hardware features except RSS. I didn't implement RX checksum offloading for AR816x/AR817x just because I couldn't get confirmation from the Vendor whether AR816x/AR817x corrected its predecessor's RX checksum offloading bug on fragmented packets. This change adds supports for the following controllers. o AR8161 PCIe Gigabit Ethernet controller o AR8162 PCIe Fast Ethernet controller o AR8171 PCIe Gigabit Ethernet controller o AR8172 PCIe Fast Ethernet controller o Killer E2200 Gigabit Ethernet controller END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-21T04:54:37.064150Z K 7 svn:log V 62 MFC r272731: Document newly added controller AR816x/AR817x. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-21T04:55:55.537248Z K 7 svn:log V 62 MFC r272731: Document newly added controller AR816x/AR817x. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-21T05:19:08.345777Z K 7 svn:log V 158 Correct the calculation of tcps_rto in the struct tcpcb -> tcpsinfo_t translator. Submitted by: Grenville Armitage MFC after: 1 week END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-21T05:45:57.810367Z K 7 svn:log V 134 Use the size of the Ethernet address, not the entire header, when copying into forwarding entry. Reported by: Coverity CID: 1248849 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-21T06:23:14.473386Z K 7 svn:log V 108 MFC r262294 (by ivoras): Explain how and where kern.cam.ada.write_cache can be set in practical situations. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-21T06:24:15.563586Z K 7 svn:log V 37 MFC r262332 (by ivoras): Grammar fix END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-21T06:25:41.513927Z K 7 svn:log V 51 MFC r271926: Mention read_ahead tunables/sysctls. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-21T07:10:43.573552Z K 7 svn:log V 389 Merge projects/bhyve_svm into HEAD. After this change bhyve supports AMD processors with the SVM/AMD-V hardware extensions. More details available here: https://lists.freebsd.org/pipermail/freebsd-virtualization/2014-October/002905.html Submitted by: Anish Gupta (akgupt3@gmail.com) Tested by: Benjamin Perrault (ben.perrault@gmail.com) Tested by: Willem Jan Withagen (wjw@digiware.nl) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-10-21T07:24:58.168211Z K 7 svn:log V 134 Add the Intel BayTrail USB device which needs port routing for USB 3.0. Tested on the BayTrail E3845 platform. Reviewed by: hselasky END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-21T07:31:21.650799Z K 7 svn:log V 968 Fix multiple incorrect SYSCTL arguments in the kernel: - Wrong integer type was specified. - Wrong or missing "access" specifier. The "access" specifier sometimes included the SYSCTL type, which it should not, except for procedural SYSCTL nodes. - Logical OR where binary OR was expected. - Properly assert the "access" argument passed to all SYSCTL macros, using the CTASSERT macro. This applies to both static- and dynamically created SYSCTLs. - Properly assert the the data type for both static and dynamic SYSCTLs. In the case of static SYSCTLs we only assert that the data pointed to by the SYSCTL data pointer has the correct size, hence there is no easy way to assert types in the C language outside a C-function. - Rewrote some code which doesn't pass a constant "access" specifier when creating dynamic SYSCTL nodes, which is now a requirement. - Updated "EXAMPLES" section in SYSCTL manual page. MFC after: 3 days Sponsored by: Mellanox Technologies END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-21T07:49:34.111847Z K 7 svn:log V 61 Fix minor typo in currently unused macro. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-21T08:24:12.736957Z K 7 svn:log V 145 MFC r272683: - Fix compile warning when compiling with GCC. - Add missed chunk in previous driver code MFC. Sponsored by: Mellanox Technologies END K 10 svn:author V 2 br K 8 svn:date V 27 2014-10-21T09:14:16.745454Z K 7 svn:log V 93 Add driver for Micrel KSZ9021 Gigabit Ethernet Transceiver (PHY). Sponsored by: DARPA, AFRL END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T10:19:45.496689Z K 7 svn:log V 222 Add support for __cxa_throw_bad_array_new_length in libcxxrt It is required for use with newer g++49 Differential Revision: https://reviews.freebsd.org/D982 Reviewed by: theraven Approved by: theraven MFC after: 3 weeks END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T12:52:01.811077Z K 7 svn:log V 71 Fix build by marking the new functions as weak This is a temporary fix END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-10-21T13:07:36.082348Z K 7 svn:log V 124 MFC: r273034 Add one more AMD Kaveri APU device ID. Submitted by: Remy Nonnenmacher END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-10-21T13:09:52.767637Z K 7 svn:log V 124 MFC: r273034 Add one more AMD Kaveri APU device ID. Submitted by: Remy Nonnenmacher END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-21T14:47:26.322247Z K 7 svn:log V 67 Add basic UEFI boot procedure manpage MFC of r273218 and r273235. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-21T16:20:23.793987Z K 7 svn:log V 105 Add basic UEFI boot procedure manpage MFS10 of r273385 (r273218,r273235 in HEAD) Approved by: re (gjb) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-21T16:44:03.362515Z K 7 svn:log V 236 MFC r271287: Merge from NetBSD: PR/49185: Conrad Meyer: strvisx: Handle zero-length input strings gracefully. (don't abuse 0 to mean compute string length internally) PR: 193447 Submitted by: Conrad Meyer END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-10-21T17:17:40.592598Z K 7 svn:log V 104 spell out the arguments.. the + *offsetp does not belong w/ the type, move it outside the .Fn macro... END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-21T17:56:06.288040Z K 7 svn:log V 460 Port lib/libc/gen/t_siginfo to FreeBSD - mcontext_t on FreeBSD doesn't have a __gregs field (it's split out on FreeBSD into separate fields). In order to avoid muddying the test code with MD code, the debugging trace info has not been implemented - FreeBSD does not implement the si_stime and si_utime fields in siginfo_t, so omit the debugging code that dumps the values - sys/inttypes.h doesn't exist on FreeBSD Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-21T17:57:12.365605Z K 7 svn:log V 91 libutil.h is required for fparseln on FreeBSD Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-21T17:58:53.887160Z K 7 svn:log V 92 Add missing #include for sys/stat.h for fchmod Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-10-21T17:59:27.785713Z K 7 svn:log V 151 it is not cast to a pointer of the specified type, it is cast to the specified type... mtod(m, uint8_t) does not work, mtod(m, uint8_t *) does work.. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-21T18:00:55.620328Z K 7 svn:log V 208 Port t_write to FreeBSD - Mark the signo variable for the signal handle __unused - Use limits.h instead of sys/syslimits.h (the latter does not exist on FreeBSD) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-10-21T18:00:56.219072Z K 7 svn:log V 156 ixl: remove i40e_register_x710_int.h This file is not used by the FreeBSD ixl driver. Submitted by: Eric Joyner MFC after: 3 days END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-21T18:01:37.086020Z K 7 svn:log V 99 Mark osi __unused so this compiles cleanly on FreeBSD Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-21T18:06:04.084432Z K 7 svn:log V 126 unlink("/") fails with EISDIR instead of EBUSY on FreeBSD; test for that instead Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-21T18:10:05.032421Z K 7 svn:log V 192 Port t_chroot to FreeBSD - Add missing #include sys/stat.h for mkdir(2) - Omit the fchroot(2) tests because the support is not present on FreeBSD Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-10-21T18:31:08.021900Z K 7 svn:log V 929 MFC revisions 253175, 268999, 269027, 269351-269352, 269354, 269460, 270283, 270505, 270954, 270989, 273067, and 273068: r253175: Introduce f_which() to common.subr r268999: Add new bsdconfig example scripts; remove obsolete ones r269027: Update bsdconfig dot module; fixes and enhancements r269351: Add setvar() for non-FreeBSD platforms using bash as /bin/sh r269352: Fix syntax error when run under bash r269354: Update setvar() function introduced in r269351 r269460: Update f_xdialog_info() in bsdconfig's dialog.subr include r270283: Add `-A' flag to pkg-install(8) when installing dependencies r270505: Optimize f_which() to be slightly faster still (common.subr) r270954: Update f_dialog_init() for safer getopts usage (dialog.subr) r270989: Fix for previously mentioned r270954 r273067: Fix awk(1) asorti() implementation to work when called in a loop r273068: Rename awk(1) asorti() to prevent conflict with GNU awk(1) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T19:00:32.942702Z K 7 svn:log V 152 MFS r273149 (jkim): MFC: r273144, r273146 Merge OpenSSL 1.0.1j. This is part of an upcoming FreeBSD security advisory. Approved by: re (so@ blanket) END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-21T19:02:26.833166Z K 7 svn:log V 61 Rename sysctl_lock and _unlock to sysctl_xlock and _xunlock. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-21T19:05:44.787166Z K 7 svn:log V 37 Implement shared locking for sysctl. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-21T19:36:20.192366Z K 7 svn:log V 294 Fix an issue where a FreeBSD virtual machine provisioned in the Microsoft Azure service does not recognize the second attached disk on the system. Submitted by: kyliel@Microsoft Patched by: weh@Microsoft PR: 194376 MFC after: 3 days X-MFC-10.1: yes, ASAP Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-21T19:45:08.576100Z K 7 svn:log V 77 Make sysctl name2oid shared-locked as well. This is a follow-up to r273401. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T19:56:45.157974Z K 7 svn:log V 282 The dependencies are computed with CC even if sources are C++, when building when building with an external gcc, we want to be able to pass the path to the libc++ headers so dependencies are correctly computed for C++ source files. Add a DEPFLAGS for that purpose Reviewed by: imp END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T19:58:23.626495Z K 7 svn:log V 86 When using an external toolchain note that gcc 4.8+ supports C++11 Submitted by: imp END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T20:00:49.508068Z K 7 svn:log V 163 Always use libc++ as the default c++ stack when building with an external gcc 4.8+ While here disable building gcc from base when using gcc 4.8+ Reviewed by: imp END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T20:04:05.091994Z K 7 svn:log V 324 When using an external gcc 4.8+ and not building libstdc++ then create in the objectdir a fake libstdc++.so and libstdc++.a which is a symlink on libc++ that allow g++ to satisfy its links dependencies in the least hackish way. Please note that this hacky libstds++ never get installed on the final system Reviewed by: imp END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T20:07:15.074199Z K 7 svn:log V 369 Make the external toolchain support grows to the knowleged of XXFLAGS for C++ dedicated flags and DEPFLAGS for mkdep flags Pass the path to the libc++ headers in both, enforce the gnu++11 standard in the XXFLAGS to satisfy libc++ requirements pass the libc++ objectdir as a location where to find libraries so it can find libstdc++.so and libstdc++.A Reviewed by: imp END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T20:11:05.044167Z K 7 svn:log V 258 Do not make ld(1) warnings fatal anymore, binutils behaviour has changed over the time and gnu.warnings.symbol are now being fatal preventing building world. in the futur we want to investigate only making the gnu.warning.symbol non fatal Reviewed by: imp END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-21T20:17:05.017910Z K 7 svn:log V 90 Add sys/socket.h #include for bind(2), et al Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T20:20:07.593653Z K 7 svn:log V 118 Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20] Fix memory leak in sandboxed namei lookup. [SA-14:22] END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T20:20:17.312208Z K 7 svn:log V 184 Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20] Fix routed(8) remote denial of service vulnerability. [SA-14:21] Fix memory leak in sandboxed namei lookup. [SA-14:22] END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T20:20:26.036982Z K 7 svn:log V 65 Fix routed(8) remote denial of service vulnerability. [SA-14:21] END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T20:20:36.495261Z K 7 svn:log V 215 Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20] Fix routed(8) remote denial of service vulnerability. [SA-14:21] Fix memory leak in sandboxed namei lookup. [SA-14:22] Approved by: re (so@ blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T20:21:10.775513Z K 7 svn:log V 251 Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20] Fix routed(8) remote denial of service vulnerability. [SA-14:21] Fix memory leak in sandboxed namei lookup. [SA-14:22] Fix OpenSSL multiple vulnerabilities. [SA-14:23] Approved by: so END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T20:21:27.948987Z K 7 svn:log V 132 Fix routed(8) remote denial of service vulnerability. [SA-14:21] Fix OpenSSL multiple vulnerabilities. [SA-14:23] Approved by: so END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-21T20:29:42.916408Z K 7 svn:log V 531 You aren't allowed to test WITH_xxx or WITHOUT_xxx here, so remove it. Even if you were allowed to test for it, the test makes no sense as it always results in adding -DWITH_ATF unless WITH_ATF was already defined. But if MK_ATF != no, then we know it was defined. This, in turn, caused tools/build/options/makemake always think WITH_ATF is the default, which removed control of that from sys.conf.mk. To get the intent of the deleted comment, another mechanism is required, assuming that the intent of that comment is desirable. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-21T20:29:51.171941Z K 7 svn:log V 78 Generate both userland and kernel option settings for showconfig. PR: 191920 END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-21T20:29:53.078678Z K 7 svn:log V 234 For the kernel, we have USB_GADGET_EXAMPLES as defaults to yes. For userland defaults to no. This caused issues for the automated option documenation script. Turns out, this isn't used in userland at all, so just remove it from here. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-21T20:41:19.946240Z K 7 svn:log V 25 Regenerate after r273418 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-21T20:44:33.069402Z K 7 svn:log V 35 Fix typo in src option description END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T20:51:22.645714Z K 7 svn:log V 47 Commit 1/2: add patches for security advisory. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-21T21:04:44.383058Z K 7 svn:log V 158 Use the UAUTO SYSCTL type for exporting the bounce zone alignment, because the variable size depends on the build type. Reported by: kib @ MFC after: 3 days END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-21T21:08:45.907115Z K 7 svn:log V 54 Mark some more sysctl stuff shared-locked and MPSAFE. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T21:09:54.010498Z K 7 svn:log V 121 MFC r272830 (des): Change the hardcoded default back from SHA512 to DES. This will become EN-14:11.crypt. PR: 192277 END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T21:09:54.231695Z K 7 svn:log V 55 older binutils does not know about --no-fatal-warnings END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T21:11:25.448297Z K 7 svn:log V 102 MFC r272833 (des): Two more places where login_setcryptfmt() defaults to MD5 were missed in r252688. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T21:17:44.279946Z K 7 svn:log V 99 Revert r273426 r273409 A solution that work with both new and old binutils should be investigated END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-21T21:27:13.467428Z K 7 svn:log V 243 MFC r273402: Fix an issue where a FreeBSD virtual machine provisioned in the Microsoft Azure service does not recognize the second attached disk on the system. PR: 194376 Insta-MFC OK: re (rodrigc) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-21T21:27:13.522768Z K 7 svn:log V 49 tmpfs: allow shared file lookups Tested by: pho END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-21T21:29:20.776971Z K 7 svn:log V 87 Take the lock shared in linker_search_symbol_name. This helps sysctl kern.proc.stack. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-21T21:37:53.837887Z K 7 svn:log V 136 Bump __FreeBSD_version to track SA-14:20, SA-14:21, SA-14:22, SA-14:23 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-21T21:44:24.908803Z K 7 svn:log V 209 Document the following security advisories: FreeBSD-SA-14:20.rtsold FreeBSD-SA-14:21.routed FreeBSD-SA-14:22.namei FreeBSD-SA-14:23.openssl Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-21T21:49:06.973605Z K 7 svn:log V 179 Do not define bad_array_new_length::bad_array_new_length in libc++ anymore when used in combinaison with libcxxrt since it is now defined there already. This fixes building world END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-21T23:07:30.597873Z K 7 svn:log V 264 MFstable10 r273429: MFC r273402: Fix an issue where a FreeBSD virtual machine provisioned in the Microsoft Azure service does not recognize the second attached disk on the system. PR: 194376 Approved by: re (delphij) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-21T23:08:46.641109Z K 7 svn:log V 84 Eliminate unnecessary memory allocation in sys_getgroups and its ibcs2 counterpart. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-21T23:09:09.377555Z K 7 svn:log V 127 Update releng/10.1 to -RC3 as part of the 10.1-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T23:50:46.321558Z K 7 svn:log V 123 Time zone data file update. [EN-14:10] Change crypt(3) default hashing algorithm back to DES. [EN-14:11] Approved by: so END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T23:52:25.719291Z K 7 svn:log V 56 Time zone data file update. [EN-14:10] Approved by: so END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-21T23:57:31.633940Z K 7 svn:log V 28 Patch batch for 2014-10-22. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-22T00:23:43.664030Z K 7 svn:log V 348 filedesc: cleanup setugidsafety a little Rename it to fdsetugidsafety for consistency with other functions. There is no need to take filedesc lock if not closing any files. The loop has to verify each file and we are guaranteed fdtable has space for at least 20 fds. As such there is no need to check fd_lastfile. While here tidy up is_unsafe. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-22T00:58:50.639859Z K 7 svn:log V 250 GCC for PowerPC does not align .note sections to 4 bytes. When running ctfmerge on its objects, libelf asserts as it expects .note sections to be 4-byte aligned. Change that expectation. Approved by: jkoshy@ Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-22T01:04:16.166024Z K 7 svn:log V 368 Fix the conversion macro for .note sections, broken in the case the ELF file's byte order is not the native byte order. The bug is that the variables holding the name and description size are used (natively) after having been byte-swapped. The fix is to calculate sz from them just prior to byte-swapping. Approved by: jkoshy@ Obtained from: Juniper Networks, Inc. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-22T01:09:07.340097Z K 7 svn:log V 74 Avoid crdup when possible in kern_accessat. While here tidy up a little. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-22T01:35:30.229200Z K 7 svn:log V 58 Add defines for various FIRST PARTY DMA SEND subcommands. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-22T01:37:32.707123Z K 7 svn:log V 320 Virtual machines can easily have more than 16 option ROMs and when that happens, we happily access our resource array out of bounds. Make sure we stay within the MAX_ROMS limit. While here, bump MAX_ROMS from 16 to 32 to minimize the chance of leaving option ROMs unaccounted for. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-22T01:53:00.918010Z K 7 svn:log V 53 Reduce nesting in vn_access. No functional changes. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-10-22T03:32:27.060371Z K 7 svn:log V 172 Fix the kernel panic in hostap mode. rvp->beacon_mbuf was NULL in run_update_beacon(). PR: 189405 Submitted by: Gabor Simon MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-22T03:39:11.494001Z K 7 svn:log V 794 My previous commit exposed an issue as it fixed a different issue. lib/atf isn't a prereq_lib, since it isn't required for other libraries to build. Remove it. The old kludge of always building it had effectively been retired. Since we don't want to build the libraries with the tests when we're bootstrapping, invent MK_TESTS_SUPPORT which normally defaults to the current MK_TESTS value, except when explicitly defined. Make lib/atf depend on it being yes. When building the libraries set MK_TESTS to no, and MK_TESTS_SUPPORT to the current value of MK_TESTS so that later stages of the build work correctly. This should fix (and does for me) people's issues with parallel builds racing between lib/atf and libexec/atf. Since lib/atf is built during the libraries phase, the race disappears. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-22T04:01:27.122923Z K 7 svn:log V 245 MFC r272796: Add M_FLOWID to M_COPYFLAGS The M_FLOWID flag should be propagated to the new mbuf pkthdr in m_move_pkthdr() and m_dup_pkthdr(). The new mbuf already got the existing flowid value, but would be ignored since the flag was not set. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-22T04:09:47.294858Z K 7 svn:log V 381 MFC r272573: Change the UMA mutex into a rwlock Acquire the lock in read mode when just needed to ensure the stability of the keg list. The UMA lock may be held for a long time (relatively speaking) in uma_reclaim() on machines with lots of zones/kegs. If the uma_timeout() would fire during that period, subsequent callouts on that CPU may be significantly delayed. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-22T04:16:09.832821Z K 7 svn:log V 96 Plug unnecessary PRS_NEW check in kern_procctl. pfind does not return processes in such state. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-10-22T05:21:36.807265Z K 7 svn:log V 64 remove/fix old code for building ipfw and dummynet in userspace END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-10-22T06:53:55.367903Z K 7 svn:log V 39 fix spelling of DEFAULT in comments... END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-22T07:16:46.660306Z K 7 svn:log V 98 Allow overspecification of SYSCTL type in external kernel modules. PR: 194523 MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-22T07:50:19.872520Z K 7 svn:log V 238 Actually change the USB_PORT_ROOT_RESET_DELAY definition as stated in the r241987 commit message, instead of having users locally overriding the value using tunables in /boot/loader.conf . Found by: Adam Parco Discussed with: Nick Hibma END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-22T08:54:10.413410Z K 7 svn:log V 60 Document sort_io_queue sysctls/tunables. MFC after: 1 week END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-22T08:56:57.481059Z K 7 svn:log V 84 filedesc assert that table size is at least 3 in fdsetugidsafety Requested by: kib END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-22T08:59:23.629045Z K 7 svn:log V 152 Untangle iSCSI authentication code by splitting off the CHAP implementation. Reviewed by: mav@ MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-22T09:04:56.036119Z K 7 svn:log V 49 MFC r273129: Implement FIODTYPE for master ptys. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-22T09:06:36.173402Z K 7 svn:log V 172 MFC r273130: Change the deadfs poll VOP to return POLLIN|POLLRDNORM if the caller is interested in i/o state. Return POLLNVAL for invalid bits, similar to poll_no_poll(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-22T09:09:41.823816Z K 7 svn:log V 146 MFC r273131: When vnode bypass cannot be performed on the cdev file descriptor for read/write/poll/ioctl, call standard vnode filedescriptor fop. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-22T09:12:20.550851Z K 7 svn:log V 39 MFC r273132: Style changes for deadfs. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-22T09:17:17.316531Z K 7 svn:log V 75 Whitespace fixes. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-22T09:40:46.554101Z K 7 svn:log V 184 Fix ctld(8) to not show the "auth-group not assigned to any target" warning for auth-groups assigned to a portal-group. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-22T10:53:25.177953Z K 7 svn:log V 85 Remove spurious empty line. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-22T11:06:05.223552Z K 7 svn:log V 90 Comment out parts about iSER; it's not implemented. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-22T11:09:03.709139Z K 7 svn:log V 94 Remove misleading statement. Bump date. MFC after: 1 month Sponsored by: FreeBSD Foundation END K 10 svn:author V 2 br K 8 svn:date V 27 2014-10-22T11:30:03.816605Z K 7 svn:log V 97 Provide a character device allowing us to access BERI memory regions. Sponsored by: DARPA, AFRL END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-22T11:30:56.963434Z K 7 svn:log V 89 Fix ctl.conf example to use proper paths to ZVOLs. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-22T13:50:38.566319Z K 7 svn:log V 173 MFC r273088: Add support for the __aeabi_c*cmp* functions. These are similar to the existing functions with the exception they use the condition flags to store the result. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-10-22T16:49:00.905846Z K 7 svn:log V 178 xen: fix usage of kern_getenv in PVH code The value returned by kern_getenv should be freed using freeenv. Reported by: Coverity CID: 1248852 Sponsored by: Citrix Systems R&D END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-10-22T16:51:52.042637Z K 7 svn:log V 1398 xen: allow to register event channels without handlers This is needed by the event channel user-space device, that requires registering event channels without unmasking them. intr_add_handler will unconditionally unmask the event channel, so we avoid calling it if no filter/handler is provided, and then the user will be in charge of calling it when ready. In order to do this, we need to change the opaque type xen_intr_handle_t to contain the event channel port instead of the opaque cookie returned by intr_add_handler, since now registration of event channels without handlers are allowed. The cookie will now be stored inside of the private xenisrc struct. Also, introduce a new function called xen_intr_add_handler that allows adding a filter/handler after the event channel has been registered. Sponsored by: Citrix Systems R&D x86/xen/xen_intr.c: - Leave the event channel without a handler if no filter/handler is provided to xen_intr_bind_isrc. - Don't perform an evtchn_mask_port, intr_add_handler will already do it. - Change the opaque type xen_intr_handle_t to contain a pointer to the event channel port number, and make the necessary changes to related functions. - Introduce a new function called xen_intr_add_handler that can be used to add filter/handlers to an event channel after registration. xen/xen_intr.h: - Add prototype of xen_intr_add_handler. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-10-22T16:57:11.238120Z K 7 svn:log V 973 xen: import a proper event channel user-space device The user-space event channel device is used by applications to receive and send event channel interrupts. This device is based on the Linux evtchn device. Sponsored by: Citrix Systems R&D xen/evtchn/evtchn_dev.c: - Remove the old event channel device, which was already disabled in the build system. dev/xen/evtchn/evtchn_dev.c: - Import a new event channel device based on the one present in Linux. - This device allows the following operations: - Bind VIRQ event channels (ioctl). - Bind regular event channels (ioctl). - Create and bind new event channels (ioctl). - Unbind event channels (ioctl). - Send notifications to event channels (ioctl). - Reset the device shared memory ring (ioctl). - Unmask event channels (write). - Receive event channel upcalls (read). - The new code is MP safe, and can be used concurrently. conf/files: - Add the new device to the build system. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-10-22T16:58:52.903900Z K 7 svn:log V 506 xen: add a Xen to BSD error translation Since Xen and FreeBSD error codes are completely different add a translation layer in order to convert Xen error codes into native FreeBSD error codes. This will be used by the privcmd device, which needs to return the hypercall errors into user-space. Sponsored by: Citrix Systems R&D xen/error.h: - Import Xen error codes. - Create a table to map Xen error codes into FreeBSD native error codes. - Create an inline function that performs the translation. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-10-22T17:07:20.753176Z K 7 svn:log V 1144 xen: implement the privcmd user-space device This device is only attached to priviledged domains, and allows the toolstack to interact with Xen. The two functions of the privcmd interface is to allow the execution of hypercalls from user-space, and the mapping of foreign domain memory. Sponsored by: Citrix Systems R&D i386/include/xen/hypercall.h: amd64/include/xen/hypercall.h: - Introduce a function to make generic hypercalls into Xen. xen/interface/xen.h: xen/interface/memory.h: - Import the new hypercall XENMEM_add_to_physmap_range used by auto-translated guests to map memory from foreign domains. dev/xen/privcmd/privcmd.c: - This device has the following functions: - Allow user-space applications to make hypercalls into Xen. - Allow user-space applications to map memory from foreign domains, this is accomplished using the newly introduced hypercall (XENMEM_add_to_physmap_range). xen/privcmd.h: - Public ioctl interface for the privcmd device. x86/xen/hvm.c: - Remove declaration of hypercall_page, now it's declared in hypercall.h. conf/files: - Add the privcmd device to the build process. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-10-22T17:09:12.479135Z K 7 svn:log V 432 netback: change xnb naming convention Current FreeBSD netback names the interface with xnb, but this is not suitable for usage with the Xen toolstack, which expects something similar to . In order to solve this, change the netback naming convention to use xnb.. Sponsored by: Citrix Systems R&D dev/xen/netback/netback.c: - Change netback to use the nomenclature stated above. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-22T18:11:10.167699Z K 7 svn:log V 330 Fix linking static test binaries with atf.test.mk Check for -static in LDFLAGS or LDFLAGS., then pass in the appropriate dependency (LIBATF or LDATF) This unbreaks the build with some of the NetBSD tests that need to be compiled statically Reviewed by: imp, jmmv Phabric: D991 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-10-22T18:55:36.021807Z K 7 svn:log V 108 since we cast a pointer, use the correct signedness (this was already in, and got lost in a recent update). END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-22T18:55:44.288845Z K 7 svn:log V 79 cxgbe/iw_cxgbe: wake up waiters after flushing the qp. Obtained from: Chelsio END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-10-22T20:47:11.223436Z K 7 svn:log V 343 Clip the settings for the NFS rsize, wsize mount options to a power of 2. For non-power of 2 settings, intermittent page faults have been reported. Although the bug that causes these page faults/crashes has not been identified, it does not appear to occur when rsize, wsize is a power of 2. Reported by: tcberner@gmail.com MFC after: 2 weeks END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-22T21:04:54.108467Z K 7 svn:log V 367 The NetBSD libc tests use several definitions/macros that aren't available in FreeBSD Add the missing compat definitions/macros to lib/libnetbsd so the testcases can be compiled with libnetbsd without having to invent ad hoc #define's, or having to convert things over to FreeBSD idioms Reviewed by: brooks Phabric: D993 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-22T21:20:37.207031Z K 7 svn:log V 46 Rename log2 to tal_log2. Submitted by: luigi END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-22T21:45:12.230390Z K 7 svn:log V 36 Merge head r272688 through r273482. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-10-22T21:57:35.585772Z K 7 svn:log V 93 Revert r273481 so it can be recoded using fls(), which some feel will make it more readable. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-10-22T22:27:51.864086Z K 7 svn:log V 343 Clip the settings for the NFS rsize, wsize mount options to a power of 2. For non-power of 2 settings, intermittent page faults have been reported. Although the bug that causes these page faults/crashes has not been identified, it does not appear to occur when rsize, wsize is a power of 2. Reported by: tcberner@gmail.com MFC after: 2 weeks END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2014-10-22T23:35:32.378626Z K 7 svn:log V 309 Avoid leaking data from the kernel environment: When we convert the initial static environment to a dynamic one, zero the static environment buffer, and zero individual values when kern_unsetenv and freeenv are called. Tested by: kmoore (VM memory dump + grep) Tested by: cperciva (kernel panic dump + grep) END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-22T23:35:56.647204Z K 7 svn:log V 297 Fix some buglets in the error-handling of getdevice(). In particular, report an error if the argument to pciconf -a doesn't have a unit number, rather than triggering an assertion failure. PR: 194506 Reported by: Anthony Cornehl Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2014-10-22T23:41:15.166714Z K 7 svn:log V 452 Populate the GELI passphrase cache with the kern.geom.eli.passphrase variable (if any) provided in the boot environment. Unset it from the kernel environment after doing this, so that the passphrase is no longer present in kernel memory once we enter userland. This will make it possible to provide a GELI passphrase via the boot loader; FreeBSD's loader does not yet do this, but GRUB (and PCBSD) will have support for this soon. Tested by: kmoore END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-22T23:55:06.978525Z K 7 svn:log V 25 MFC r271692: Fix a typo. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-22T23:55:08.643366Z K 7 svn:log V 25 MFC r271692: Fix a typo. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T00:09:16.122871Z K 7 svn:log V 45 Remove gettext files as we don't enable NLS. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T00:31:26.034799Z K 7 svn:log V 35 MFV r273492: remove gettext files. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T00:33:25.044345Z K 7 svn:log V 27 Vendor import of xz 5.0.7. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T00:37:52.038430Z K 7 svn:log V 14 Tag xz 5.0.7. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T00:39:19.337355Z K 7 svn:log V 111 MFC r263264 (by glebius): Make talk(1) capable of displaying UTF-8 characters. Sponsored by: Nginx, Inc. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T00:40:40.128250Z K 7 svn:log V 236 MFC r270650: Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd" Also, add a missing LIBPANEL dependency for lldb Approved by: rpaulo (mentor) Suggested by: brooks Phabric: D675 (as part of a larger diff) PR: 192762 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T00:40:56.992767Z K 7 svn:log V 43 MFV r273494: xz 5.0.7. MFC after: 2 weeks END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T00:43:08.189673Z K 7 svn:log V 289 MFC r270650 (this is what should have been committed in r273497): Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd" Also, add a missing LIBPANEL dependency for lldb Approved by: rpaulo (mentor) Suggested by: brooks Phabric: D675 (as part of a larger diff) PR: 192762 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T00:51:52.657522Z K 7 svn:log V 513 MFC r271365: Remove many false positives with make checkdpadd - Reduce DPADD and LDADD in checkdpadd to -l - Skip over -Wl,[es]*-group because -Wl,--end-group and -Wl,--start-group might be required to properly link objects (see usr.bin/clang/lldb as an example) This caveat has been present for a while with some components of the build. However, these false positives were made more more apparent after r269648. Phabric: D635 Reviewed by: jmmv (an earlier version) PR: 192730 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T00:54:52.994735Z K 7 svn:log V 614 MFC r272055: Improve bsd.progs.mk compatibility with bsd.prog.mk 1. Do not install FILES/SCRIPTS multiple times if PROGS is specified; this is already handled via bsd.prog.mk when it's called recursively (PR: 191055, 191955). 2. Some variables, like BINDIR and PROGNAME, default to a value if unset whereas others get appended to, like CFLAGS. Add support for the former case (PR: 191056) 3. Make "checkdpadd" and "clean" available targets for recursive execution. Reviewed by: marcel, sjg Phabric: D822 PR: 191055, 191056, 191955 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T01:01:58.339341Z K 7 svn:log V 217 MFC r271336: Expand the tests structure in test_small(..) to workaround the "initializer not constant" warning with gcc Approved by: jmmv (mentor) Phabric: D744 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T01:02:37.256220Z K 7 svn:log V 172 MFC r271349: Add diagnostic printfs and disable test # 4 on i386 Reviewed by: jmmv, rpaulo Phabric: D749 PR: 191676 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T01:06:00.469393Z K 7 svn:log V 458 MFC r272053: Have distrib-dirs, distribution, hier, hierarchy, redistribute, and reinstall depend on the .MAKE special target This will allow users to do something like the following to print out the results of the running the simulated make target with bmake, like some of the other top-level make targets in Makefile.inc1: % make -f Makefile.inc1 -n distribution TARGET=i386 TARGET_ARCH=i386 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T01:08:31.137619Z K 7 svn:log V 132 MFC r272917: Add LDFLAGS to PROG_VARS so it can be overridden on a per-PROG basis Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T01:09:01.442413Z K 7 svn:log V 223 MFC r272778: Set the autoindent to 4 spaces with vim in BSD.tests.dist This will prevent vim users from accidentally checking in buggy mtree files (mixed tabs/spaces). Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T01:22:29.951087Z K 7 svn:log V 38 Sync with NetBSD. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T01:36:43.831165Z K 7 svn:log V 485 MFC r272806: MFV r272802: - Limit ARC for zdb at 256MB. zdb do not typically revisit data in the ARC. - Increase default max_inflight from 200 to 1000 (can be overriden by -I) so we can queue more I/Os when doing scrubbing. - Print status while loading meataslabs for leak detection. Illumos issues: 5169 zdb should limit its ARC size 5170 zdb -c should create more scrub i/os by default 5171 zdb should print status while loading metaslabs for leak detection END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T01:40:31.002750Z K 7 svn:log V 116 MFC r272809: MFV r272803: Illumos issue: 5175 implement dmu_read_uio_dbuf() to improve cached read performance END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-23T01:47:09.116997Z K 7 svn:log V 192 MFC r272810: FV r272804: Refactor the code and stop restore_object from creating two transactions. Illumos issue: 3693 restore_object uses at least two transactions to restore an object END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-23T02:18:23.911282Z K 7 svn:log V 67 Add vtfontcvt(8) cross-reference to vt(4) man page MFC of r273332 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-10-23T02:50:18.263046Z K 7 svn:log V 135 MFC r271787: simple_httpd: cosmetic cleanups. Many tab vs space cleanups. Use setpgid() instead of setpgrp() which is more portable. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-10-23T02:53:57.925751Z K 7 svn:log V 165 MFC r271789: lpr: replace setpgrp(2) with setpgid(2). setpgid(2) is more portable than setpgrp(2). The BSD variant of setpgrp is a wrapper for setpgid(2) anyways. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-23T03:13:14.785598Z K 7 svn:log V 335 Unconditionally enable the clocks for all imx6 devices that we have drivers for, or that are required to run the chip (such as busses). Turn off all the devices we don't yet have drivers for. Some day we will have a fully functional imx6 clock driver so that we can manage clocks based on fdt data. This will have to do until then. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-23T04:47:32.822378Z K 7 svn:log V 218 Add VirtIO console driver Support for the multiport feature is mostly implemented, but currently disabled due to some potential races in the hot plug code paths. Requested by: marcel MFC after: 1 month Relnotes: yes END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T05:46:10.887733Z K 7 svn:log V 85 Add netinet/in.h for struct sockaddr_in Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T05:58:02.334238Z K 7 svn:log V 114 Expect getgroups_err to fail on FreeBSD PR: 189941 Submitted by: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-10-23T06:11:16.371307Z K 7 svn:log V 241 Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11. Europe/Minsk will go from FET to MSK. Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-10-23T06:13:42.412175Z K 7 svn:log V 27 Tag of tzdata2014i sources END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T06:18:28.335167Z K 7 svn:log V 312 Port t_pipe2.c to FreeBSD - Omit the pipe2_nosigpipe testcase on FreeBSD (FreeBSD doesn't have O_NOSIGPIPE). - Convert "fcntl(n, F_CLOSEM)" to "closefrom(n)". - Save and restore the resource limit on the number of files (RLIMIT_NOFILE). In collaboration with: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T06:21:10.757749Z K 7 svn:log V 110 Convert "fcntl(n, F_CLOSEM)" to "closefrom(n)" Submitted by: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T06:24:36.447184Z K 7 svn:log V 215 - Mark unused parameters __unused in handler - Call sigqueue with getpid() instead of 0 -- the latter idiom appears to only be valid on NetBSD In collaboration with: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-23T06:25:52.083313Z K 7 svn:log V 80 Add limits.h #include for LINE_MAX Sponsored by: EMC / Isilon Storage Division END