summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSDemaste2014-03-2442-294/+0
| | | | | | | | | | | The NetBSD Foundation states "Third parties are encouraged to change the license on any files which have a 4-clause license contributed to the NetBSD Foundation to a 2-clause license." This change removes clauses 3 and 4 from copyright / license blocks that list The NetBSD Foundation as the only copyright holder. Sponsored by: The FreeBSD Foundation
* MFC r263471:kib2014-03-241-0/+1
| | | | Initialize vm_map_entry member wiring_thread on the map entry creation.
* Merge r263497: fix ipfw + VIMAGE sysctls.glebius2014-03-241-14/+6
| | | | PR: kern/187665
* MFC: r263441:pfg2014-03-231-1/+1
| | | | msdosfs: minor format fix - spaces vs tab
* Merge r263658 from head: remove unneeded fake _KERNEL definition.glebius2014-03-231-2/+0
| | | | Should fix broken builds.
* Turn off warnings for building aicasm. Various versions of yacc exist,dim2014-03-231-3/+4
| | | | | | | | which can result in different warnings-as-errors in this tool, but these are all completely harmless. This is a direct commit to stable/7, stable/8, stable/9 and stable/10, since this kernel build tool has already been removed in head.
* Further refine the auth fail regex to catch more auth failures andbrueffer2014-03-231-1/+1
| | | | | | | | | | | | reduce false positives. The committed patch was provided by Christian Marg. PR: 91732 Submitted by: Daniel O'Connor <doconnor at gsoft.com.au> Skye Poier <spoier at gmail.com> Alan Amesbury <amesbury at umn.edu> Christian Marg <marg at rz.tu-clausthal.de>
* Merge missed r262819, that fixes broken build.glebius2014-03-231-4/+4
|
* MFC r263434:gjb2014-03-231-0/+3
| | | | | | | Update commit template to include 'Relnotes:' tag, to help re@ track release notes candidates. Sponsored by: The FreeBSD Foundation
* MFC r263159:hselasky2014-03-224-0/+45
| | | | | Workaround for USB MIDI adapters which use non-supported values of wMaxPacketSize for BULK endpoints.
* MFC r263155:hselasky2014-03-221-1/+5
| | | | | | Add support for more sample rates to USB audio driver. PR: usb/171254
* MFC of 263062:mckusick2014-03-222-9/+13
| | | | | | | | | | | | | | | | | | | Avoid segment fault when attempting to clean up cylinder group buffer cache. PR: 187221 Submitted by: Petr Lampa <lampa@fit.vutbr.cz> Obtained from: Petr Lampa <lampa@fit.vutbr.cz> MFC after: 1 week MFC of 262488: Arguments for malloc and calloc should be size_t, not int. Use proper bounds check when trying to free cached memory. Spotted by: Xin Li Tested by: Dmitry Sivachenko MFC after: 2 weeks
* MFC r263181:bdrewery2014-03-221-0/+4
| | | | Fix ASSUME_ALWAYS_YES not being parsed properly from config after UCL conversion.
* MFC r263180:bdrewery2014-03-221-0/+11
| | | | Fix ABI from /usr/local/etc/pkg.conf not being respected.
* MFC 262999edavis2014-03-211-78/+36
| | | | | | | Fixed MSI interrupt allocation and handling. Fixed a DMA mapping leak that occurs when defragmenting packet chains. Approved by: davidch (mentor)
* MFC r262868asomers2014-03-212-35/+32
| | | | | | | | | | | | Only use -lpthread for unix_seqpacket_test, not for all test programs. MFC r262894 kern/Makefile Set WARNS=5 for all files in this directory kern/unix_seqpacket_test.c Fix compiler warnings. Most were benign, but rcvbuf_oversized wasn't working as intended because I forgot to set the buffer sizes.
* MFC 261991:dim2014-03-212349-138298/+259594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade our copy of llvm/clang to 3.4 release. This version supports all of the features in the current working draft of the upcoming C++ standard, provisionally named C++1y. The code generator's performance is greatly increased, and the loop auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The PowerPC backend has made several major improvements to code generation quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ backends have all seen major feature work. Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.4/docs/ReleaseNotes.html> <http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html> MFC 262121 (by emaste): Update lldb for clang/llvm 3.4 import This commit largely restores the lldb source to the upstream r196259 snapshot with the addition of threaded inferior support and a few bug fixes. Specific upstream lldb revisions restored include: SVN git 181387 779e6ac 181703 7bef4e2 182099 b31044e 182650 f2dcf35 182683 0d91b80 183862 15c1774 183929 99447a6 184177 0b2934b 184948 4dc3761 184954 007e7bc 186990 eebd175 Sponsored by: DARPA, AFRL MFC 262186 (by emaste): Fix mismerge in r262121 A break statement was lost in the merge. The error had no functional impact, but restore it to reduce the diff against upstream. MFC 262303: Pull in r197521 from upstream clang trunk (by rdivacky): Use the integrated assembler by default on FreeBSD/ppc and ppc64. Requested by: jhibbits MFC 262611: Pull in r196874 from upstream llvm trunk: Fix a crash that occurs when PWD is invalid. MCJIT needs to be able to run in hostile environments, even when PWD is invalid. There's no need to crash MCJIT in this case. The obvious fix is to simply leave MCContext's CompilationDir empty when PWD can't be determined. This way, MCJIT clients, and other clients that link with LLVM don't need a valid working directory. If we do want to guarantee valid CompilationDir, that should be done only for clients of getCompilationDir(). This is as simple as checking for an empty string. The only current use of getCompilationDir is EmitGenDwarfInfo, which won't conceivably run with an invalid working dir. However, in the purely hypothetically and untestable case that this happens, the AT_comp_dir will be omitted from the compilation_unit DIE. This should help fix assertions occurring with ports-mgmt/tinderbox, when it is using jails, and sometimes invalidates clang's current working directory. Reported by: decke MFC 262809: Pull in r203007 from upstream clang trunk: Don't produce an alias between destructors with different calling conventions. Fixes pr19007. (Please note that is an LLVM PR identifier, not a FreeBSD one.) This should fix Firefox and/or libxul crashes (due to problems with regparm/stdcall calling conventions) on i386. Reported by: multiple users on freebsd-current PR: bin/187103 MFC 263048: Repair recognition of "CC" as an alias for the C++ compiler, since it was silently broken by upstream for a Windows-specific use-case. Apparently some versions of CMake still rely on this archaic feature... Reported by: rakuco MFC 263049: Garbage collect the old way of adding the libstdc++ include directories in clang's InitHeaderSearch.cpp. This has been superseded by David Chisnall's commit in r255321. Moreover, if libc++ is used, the libstdc++ include directories should not be in the search path at all. These directories are now only used if you pass -stdlib=libstdc++.
* Merge r262763, r262767, r262771, r262806 from head:glebius2014-03-2130-171/+195
| | | | | | | | | | - Remove rt_metrics_lite and simply put its members into rtentry. - Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This removes another cache trashing ++ from packet forwarding path. - Create zini/fini methods for the rtentry UMA zone. Via initialize mutex and counter in them. - Fix reporting of rmx_pksent to routing socket. - Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode.
* MFC r263304:kib2014-03-211-2/+2
| | | | Trim at EOL.
* MFC r262408 (by ian):dim2014-03-211-0/+2
| | | | | | Eliminate an unused-var warning by wrapping #if 0 around some tables of values that were probably entered "for completeness" from a datasheet, and for all I know may be useful/necessary some day.
* MFC r262393 (by ian):dim2014-03-201-1/+1
| | | | Fix a typo _IMX51_TZICRREG_H_ -> _IMX51_TZICREG_H_ (extra R)
* MFC r260183: MFV r260154 + 260182:delphij2014-03-2034-280/+1676
| | | | | | | 4369 implement zfs bookmarks 4368 zfs send filesystems from readonly pools Illumos/illumos-gate@78f171005391b928aaf1642b3206c534ed644332
* MFC r259850: MFV r258384:delphij2014-03-206-49/+60
| | | | | | 2583 Add -p (parsable) option to zfs list illumos/illumos-gate@43d68d68c1ce08fb35026bebfb141af422e7082e
* MFC r256999 (smh):delphij2014-03-202-16/+24
| | | | | | | | | | | | | | | Added support for the 'zfs list -t snap' and 'zfs snap' aliases which are available under Oracle Solaris 11. This includes an update to the ZFS(8) man page to reflect all the available alias (snap, umount, and recv). Initial changes obtained from ZFS On Linux + fixes for man page and cmd help: https://github.com/zfsonlinux/zfs/commit/10b75496bb0cb7a7b8146c263164adc37f1d176a https://github.com/zfsonlinux/zfs/commit/cf81b00a73fe47fdb21586ac1cc179b734540973 Obtained from: https://github.com/zfsonlinux/zfs
* MFC r260181:delphij2014-03-201-0/+4
| | | | Fix build on platforms where atomic_swap_64 is not available.
* MFC r260157: MFV r260153:delphij2014-03-201-1/+1
| | | | | | | 4121 vdev_label_init should treat request as succeeded when pool is read only illumos/illumos-gate@973c78e94bf9634782164382c9e291bf81161fa5
* MFC r260150: MFV r259170:delphij2014-03-1937-396/+701
| | | | | | | | | | | 4370 avoid transmitting holes during zfs send 4371 DMU code clean up illumos/illumos-gate@43466aae47bfcd2ad9bf501faec8e75c08095e4f NOTE: Make sure the boot code is updated if a zpool upgrade is done on boot zpool.
* MFC r260141: MFV r258385:delphij2014-03-192-18/+230
| | | | | | | | | (Note: this change is not applicable to FreeBSD and the file is not included in build. It's integrated for completeness). 4128 disks in zpools never go away when pulled illumos/illumos-gate@39cddb10a31c1c2e66aed69e6871d09caa4c8147
* MFC r260138: MFV r242733:delphij2014-03-198-59/+230
| | | | | | | | | | | | | 3306 zdb should be able to issue reads in parallel 3321 'zpool reopen' command should be documented in the man page and help message illumos/illumos-gate@31d7e8fa33fae995f558673adb22641b5aa8b6e1 FreeBSD porting notes: the kernel part of this changeset depends on Solaris buf(9S) interfaces and are not really applicable for our use. vdev_disk.c is patched as-is to reduce diverge from upstream, but vdev_file.c is left intact.
* MFC r259813 + r259813: MFV r258374:delphij2014-03-1928-284/+366
| | | | | | | | | 4171 clean up spa_feature_*() interfaces 4172 implement extensible_dataset feature for use by other zpool features illumos/illumos-gate@2acef22db7808606888f8f92715629ff3ba555b9
* MFC r259860 (by mjacob):dim2014-03-192-3/+2
| | | | | | | | | | Harvest one no longer used constant string. Remove another and place it into play in the normally ifdef protected zone it would be used int. Noticed by: dim
* MFC r258005: Merge upstream LLVM r192118:emaste2014-03-192-3/+7
| | | | | | | Formally added an explicit enum for DWARF TLS support. No functionality change. Sponsored by: DARPA, AFRL
* MFC r258003: Merge upstream LLVM r182803:emaste2014-03-191-1/+100
| | | | | | [Mips] Add Mips specific dynamic table entry tags. Sponsored by: DARPA, AFRL
* Merge r257485: install netpfil/pf includes.glebius2014-03-191-0/+5
|
* MFC r258897: Update LLDB to upstream r196322 snapshotemaste2014-03-192-10/+31
| | | | | | | | Upstream revisions of note: r196298 - Fix use of std::lower_bound r196322 - Fix log message for new invalidation checks Sponsored by: DARPA, AFRL
* MFC r258892: lldb: Threaded inferior support for FreeBSDemaste2014-03-1911-205/+343
| | | | | | | | | | This is in the process of being submitted to the upstream LLDB repository. The thread list functionality is modelled in part on GDBRemoteCommunicationClient. LLDB bug pr16696 and code review D2267 Sponsored by: DARPA, AFRL
* MFC r258884: Update LLDB to upstream r196259 snapshotemaste2014-03-19150-2692/+6577
| | | | Sponsored by: DARPA, AFRL
* MFC r258873: Workaround lldb issue with main module base addressemaste2014-03-191-0/+11
| | | | | | | | | | | | | On FreeBSD lldb sometimes reloads the the main module's (executable's) symbols at the wrong address. Work around this for now by explicitly reloading at base_address=0 when it happens. A proper fix is needed but early testers have reported this issue so this workaround should allow them to make further progress. http://llvm.org/bugs/show_bug.cgi?id=17880 Sponsored by: DARPA, AFRL
* MFC r258098: Merge upstream LLDB r194487:emaste2014-03-192-3/+6
| | | | | | | | Log failure to restore thread state in ThreadPlanCallFunction::DoTakedown In order to help track down llvm.org/pr17226. Sponsored by: DARPA, AFRL
* MFC r258094: lldb: Correct a standalone debug file pathemaste2014-03-191-4/+4
| | | | | | | | | | | For a file /bin/ls with a .gnu_debuglink entry of "ls.debug" the path should be /usr/lib/debug/bin/ls.debug, not /usr/lib/debug/bin/ls. ref: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html Upstream defect pr17903 (http://llvm.org/pr17903) Sponsored by: DARPA, AFRL
* MFC r258054: Update LLDB to upstream r194122 snapshotemaste2014-03-19428-7936/+26554
| | | | | | | | | | | | | Inludes minor changes relative to upstream, for compatibility with FreeBSD's in-tree LLVM 3.3: - Reverted LLDB r191806, restoring use of previous API. - Reverted part of LLDB r189317, restoring previous enum names. - Work around missing LLVM r192504, using previous registerEHFrames API (limited functionality). - Removed PlatformWindows header include and init/terminate calls. Sponsored by: DARPA, AFRL
* MFC r263095:kib2014-03-191-0/+1
| | | | Initialize paddr to handle the case of zero size.
* MFC r263092:kib2014-03-191-1/+2
| | | | | Do not vdrop() the tmpfs vnode until it is unlocked. The hold reference might be the last, and then vdrop() would free the vnode.
* MFC r263080:kib2014-03-193-15/+6
| | | | Use correct types for sizeof() in the calculations for the malloc(9) sizes.
* MFC r263079:kib2014-03-191-1/+1
| | | | | The auio structure is only initialized when the vnode is symlink, avoid reading from it otherwise.
* Merge r259562,r259566,r259638,r259645,r260124 by melifaro:glebius2014-03-197-214/+351
| | | | | Switch netstat -rn to use standard API for retrieving list of routes instead of peeking inside in-kernel radix via kget.
* Merge r262747: remove extraneous ifa_ref()/ifa_free().glebius2014-03-191-9/+1
|
* MFC r263105, r263106:gjb2014-03-199-0/+639
| | | | | | | | | | | | r263105: Add hyperv manual pages provided by Microsoft, formatted for FreeBSD standards. Very little, if any, content was modified. r263106: Connect the hyperv driver manuals to the build. Sponsored by: The FreeBSD Foundation
* MFC r263021:bdrewery2014-03-191-0/+6
| | | | Support Last-Modified behind proxies which return UTC instead of GMT.
* Merge r263091: fix mbuf flags clash that lead to failure of operationglebius2014-03-184-23/+15
| | | | | | | of IPSEC and packet filters. PR: kern/185876 PR: kern/186755
OpenPOWER on IntegriCloud