at bafd66a59141a7c2ef8dac7442af7e867f6120ac (tag) tagging d3a104b2c0221de6badf8943a0a978176cb39e67 (commit) replaces v4.7.0 tagged by Justin C. Sherrill on Sat Mar 11 20:46:24 2017 -0500
DragonFly 4.8.0rc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQE3BAABCAAhBQJYxKhwGhxqdXN0aW5Ac2hpbmluZ3NpbGVuY2UuY29tAAoJEFUX bO+LAd2JE5MH/1dbe8dD64P5b5askmqjNIk54q8iF7YDDsyMVdkMNZWGD7I7VMSH ygY/oVhaU3IhemDUfsJ2QPO71Bgu429qBWBEWjygYW8uOXKPSksfrzockEFyg5Ob 3gcYHOsD5TSQhxyRCtiZJKLn+HvaR4+9CV1apPvCp4nQFIT1W/MR71WmX35ZTuBI tsSOdrrOMV3GjewK+Ir1hmLFRyJ7euTvo+5tEL5K+v2a/QHOlYcD01ozZI+kogcY I3ywIFhJH+RGyINpV/fChx5qth9rJW528rrq41R6ilsUKbOLHPpPBvlw8tShjCSv ANDA1MjdVqQ6VPckbvUuKp/rJXj0EJhvrhI= =BZhq -----END PGP SIGNATURE----- Antonio Huete Jimenez (18): vkernel - Fix a vkernel lockup on startup vkernel - Invalidate pte before setting attributes to the vm_page kernel/vmm - Fix build with VMM_DEBUG kernel/vmx - Add a missing lwkt_reltoken() installer - Reorganize test directory a bit installer - Enhance test_storage program installer - Allow to specify cmdnames file path installer - Fix a bug in survey_storage() lwp: vkernel actually uses some lwp_* functions vkernel: Fix build kernel: Rename vm_object_init() to vm_object_init1() kernel: Add a new vm_object_init() vkernel: Make kptobj a static structure. rc.d - Make sure rootimgs are empty for every vkernel rc.d - Follow up previous commit rc.d - Allow vkernel to run as non-root rc.d - Add an option to specify memimg file for vkernels rc.conf.5 - Adjust manpage to the last changes. Bill Yuan (1): ipfw3: 'or' supports more filters Daniel Bilik (1): kernel/psm: Support newer Synaptics touchpads Eitan Adler (1): Always use unix line endings François Tigeot (45): drm/i915: Update to Linux 4.4 drm/i915: Mark a DragonFly-specific change as such drm: Sync a few headers with Linux 4.4 drm/i915/gem: Reduce differences with Linux 4.4 kernel: Fix compilation drm/linux: Clean-up pci_resource_start() drm/linux: Add vmap() drm/linux: Add linux/kobject.h drm/linux: kernel_ulong_t is defined in linux/mod_devicetable.h drm/linux: Add kstrtouint() drm/linux: Add kasprintf and kvasprintf() drm/linux: Add sign_extend64() drm/linux: Add get_nr_swap_pages() drm/linux: Add kmap_to_page() kernel: Replace struct device* by device_t kernel: Rename the struct behind device_t to bsd_device drm: Implement and use Linux struct device drm: Implement and use the Linux i2c API drm/linux: Add ktime_get_boottime and ktime_ms_delta() drm/linux: Add clamp_val() drm/linux: MODULE_FIRMWARE is defined in linux/module.h drm/i915/trace: Add missing include files drm/linux: Add cache_line_size() drm/linux: Add ida_simple_get() drm/linux: Improve request_firmware() compatibility drm/linux: Add request_firmware_nowait() firmware(9): Change type of data pointer drm/i915: build firmware handling code drm/i915: Update to Linux 4.5 drm/linux: Add USEC_PER_MSEC definition drm/i915: Update to Linux 4.6 drm/i915/psr: Try to program link training times correctly drm/i915: Revert DisplayPort fast link training feature drm/i1915: Disable stolen memory support drm/linux: Add acpi/video.h drm/linux: Add local_clock() drm/linux: Remove a redundant definition of NSEC_PER_SEC drm: Sync drm_crtc.c with Linux 4.6 drm: Partial revert of "drm: Sync drm_crtc.c with Linux 4.6" drm/i915: Set GPU freq to idle_freq initially drm/radeon: Replace some spinlocks by lockmgr locks drm/linux: u64 is unsigned long long kernel: fix LINT64 build after old SCSI drivers removal drm/linux: Implement tasklets drm/i915: Fix compilation with clang Imre Vadász (156): if_iwm - Fix inverted logic in iwm_tx(). if_iwm - Fix iwm_poll_bit() usage in iwm_stop_device(). if_iwm - Remove two duplicate const qualifiers. if_iwm - Remove unused wantresp field in iwm_rx_data struct. if_iwm - Fix comments and struct definition for struct iwm_sf_cfg_cmd. if_iwm - Use htole16 for policy field in struct iwm_time_event_cmd_v2. if_iwm - Add some pcie device stop code from iwlwifi. Adjust a delay. if_iwm - Fix off-by-one check in iwm_read_firmware(). if_iwm - Fix iwm_poll_bit() error value check in iwm_attach(). if_iwm - Remove wrappers around iwm_dma_contig_free() calls. if_iwm - Remove deprecated scan API definitions. if_iwm - Remove more old unused scan API definitions. if_iwm - The HW Revision stepping constants should be in if_iwmreg.h. if_iwm - Remove some unneeded #include-s from all .c files. if_iwm - Sync if_iwm_phy_db code with Linux iwlwifi. if_iwm - Sync iwm_nvm_read_chunk() function with Linux iwlwifi. if_iwm - Remove calib_version field from struct iwm_nvm_data. if_iwm - Make sure we call iwm_detach_local only once. if_iwm - Sync nvm parsing code with Linux iwlwifi. if_iwm - Use ic->ic_tq for iwm_endscan_cb instead of a private taskqueue. if_iwm - Use chipset configuration structs like iwlwifi does. if_iwm - Sync valid_tx_ant and valid_rx_ant mask handling with iwlwifi. if_iwm - Remove unused fw_totlen field in struct iwm_fw_sects. if_iwm - Get rid of SYNC_RESP_STRUCT and SYNC_RESP_PTR macros. if_iwm - Get rid of some gratuitous constant renaming wrt. Linux iwlwifi. if_iwm - Store paging_mem_size field in firmware image information struct. if_iwm - Change 2nd arg of iwm_phy_db_set_section() to struct iwm_rx_packet. if_iwm - Add implementation of the notification wait api from iwlwifi. if_iwm - Use notification wait API to wait for calibration to complete. if_iwm - Get rid of iwm_disable_rx_dma, just use iwm_pcie_rx_stop directly. if_iwm - Add scan abort functions, to properly cancel a running scan. if_iwm - Use iwm_mvm_scan_stop_wait to properly abort scans. if_iwm - Fix up RSSI calculations for scan results and normal RX operations. if_iwm - Implement apmg_wake_up_wa workaround properly for 7000 family. if_iwm - Only for family 7000 power-down busmaster DMA clocks when stopping. if_iwm - Remove some more fields from struct nvm_data which are irrelevant. if_iwm - Very basic DTS thermal sensor support (prints temp as debug msg). if_iwm - Recognize IWM_DTS_MEASUREMENT_NOTIF_WIDE notification. iwmfw - Update to version 17 firmware for all devices supported by iwm. if_iwm - Recognize the IWM_UCODE_TLV_FW_MEM_SEG firmware section type. if_iwm - Revert 8000C firmware (for AC8260) to version 16 for now. if_iwm - SCAN_ABORT_UMAC response doesn't use a wide id if_iwm - Remove 1s delay after fw loading. Can't reproduce issues on AC8260. if_iwm - Improve reliability of iwm_release on disassociation a bit. iwmfw - Fixup revert to version 16 for the 8000C firmware. if_iwm - Synchronize firmware loading code with Linux iwlwifi. if_iwm - Sync IWM_MVM_ALIVE waiting and start_fw handling with iwlwifi. if_iwm - With the previous commits, this DELAY no longer seems to be needed. if_iwm - Get rid of unneeded IWM_FWDMASEGSZ and IWM_FWMAXSIZE constants if_iwm - Fix typo in commit a7697ea01c11fd493aec52260a02f31df680eb91. if_iwm - Remove OpenBSD-specific comment. Beautify pci cfg space accesses. if_iwm - Simplify device id matching code a bit. if_iwm - Move struct iwm_cfg chipset configs to if_iwm_7000.c and _8000.c iwmfw - Import 7265D firmware for AC3165 and newer AC7265 revisions. if_iwm - Switch 7265D and 3165 devices to 7265D firmware. if_iwm - Move iwm_dma_contig_alloc/_free functions to if_iwm_util.c. if_iwm - Add support for Firmware paging, needed for newer 8000C firmware. if_iwm - Get rid of some more superfluous bus_dmamap_sync calls in rx path. cpuctl(4): Require write rights for CPUCTL_MSRSBIT and CPUCTL_MSRCBIT. if_iwm - Get rid of struct iwm_rx_data argument for iwm_mvm_rx_rx_mpdu. if_iwm - Move mbuf hacks after sanity checks in iwm_mvm_rx_rx_mpdu(). pc64: Fix typo in wrmsr_safe. if_iwm - Remove a couple of unneeded IWM_UCODE_TLV_FLAGS_* flags. if_iwm - Make ucode capabilities and api flags handling more like iwlwifi. if_iwm - Tiny cleanup in iwm_rx_addbuf(). if_iwm - GC unused code from if_iwm_scan.c, copyied from iwn or iwlwifi/dvm. if_iwm - Enable Energy Based Scan (EBS). if_iwm - Add the BSS's basic rates to iwm's LQ command, not all the rates. if_iwm - iwm_{read,write}_prph() don't grab the nic lock in iwm themselves. if_iwm - Add iwm_nic_unlock() calls missing from previous commit. if_iwm - Add basic powermanagement support via ifconfig wlan0 powersave. iwm.4: Mention iwm7265Dfw firmware. Update DIAGNOSTICS section a bit. if_iwm - Allow listening on both chains/atennas to get diversity. if_iwm - Move in_phyctxt from struct iwm_node to phy_ctxt in struct iwm_vap. if_iwm - Partly sync if_iwm_binding.c to Linux iwlwifi code. if_iwm - Get rid of another usage of the IWM_DEFAULT_MACID/_COLOR constant. if_iwm - Sanity check channel for IEEE80211_CHAN_ANYC in if_iwm_mac_ctxt.c. if_iwm - change the check for ADD_STA status, use IWM_ADD_STA_STATUS_MASK. if_iwm - Sync iwm_read_firmware()'s loop to iwlwifi's code. if_iwm - Change UCODE_TLV_API #define-s from bitmasks to indexes. if_iwm - Process multiple frames per RX buffer. if_iwm - Properly implement iwm_wme_update callback function. if_iwm - No need for iwm_assoc() in AUTH->ASSOC transition. if_iwm - Deduplicate code in iwm_auth() from an if condition. if_iwm - Factor out firmware station handling into if_iwm_sta.c. if_iwm - Handle AUTH->SCAN/INIT and ASSOC->SCAN/INIT better if_iwm - Refuse connection to APs with beacon interval < 16. if_iwm - Already call iwm_mvm_power_update_mac() during SCAN<->AUTH paths. if_iwm - Switch arguments from iwm_node* to iwm_vap* in if_iwm_power.c. if_iwm - Clean up if_iwm_power.c a bit. Fix iwm_power_scheme debug print. if_iwm - Make powersaving more similar to Linux iwlwifi behaviour. if_iwm - Adjust if_iwm_sta.h prototypes, don't pass iwm_node to rm_sta(). if_iwm - Fix iwm_mvm_send_cmd_pdu(_status) declarations. Make id a uint32_t. Revert "if_iwm - SCAN_ABORT_UMAC response doesn't use a wide id" if_iwm - Recognize IWM_FW_PAGING_BLOCK_CMD wide cmd response correctly. mmc: With this workaround, both eMMC and sd-card slot on hp x2 210 work if_iwm - Move Smart Fifo handling into if_iwm_sf.c, sync with Linux iwlwifi. if_iwm - Check for lar_disable tunable, and lar_enabled flag from NVM. if_iwm - Remove dead code from iwm_pcie_load_cpu_sections(). if_iwm - Set correct state in smart-fifo configuration. if_iwm - Set command code for PHY_DB as well. if_iwm - Ignore IWM_DEBUG_LOG_MSG notifications. iwmfw - Update 7265D and 8000C firmwares to version 22. if_iwm - Remove support for fw older than -17 and -22 if_iwm - Factor out and improve iwm_mvm_scan_rxon_flags() in if_iwm_scan.c. if_iwm - Use chan list from ieee80211_scan_state for scan, not ic_channels. if_iwm - Cleanup mbufq draining. Add iwm_xmit_queue_drain() like in iwn(4). if_iwm - Sync statistics API definitions with Linux iwlwifi. if_iwm - Add iwm_mvm_send_lq_cmd() from Linux iwlwifi to if_iwm_util.c. if_iwm - Sync rs (rate-selection) API definitions from Linux iwlwifi. if_iwm - Update firmware rs table, instead of indexing the table in tx cmds. if_iwm - Use rates given in struct ieee80211_txparam for non-data transfers. if_iwm - The iwm_prepare_card_hw() in iwm_attach() is only needed on 8K hw. wlan - Import initial full-offload scan support from FreeBSD. if_iwm - Advertise full-offload scan support, fixes scan while associated. iwmfw - Add version 22 firmwares for AC3168 and AC8265 chipsets. if_iwm - Attach to new AC3168 and AC8265 chipsets (untested). if_iwm - Move iwm_read_firmware() call into iwm_attach(). if_iwm - Check sc->sc_attached flag in suspend/resume callbacks. wlan - Don't check bgscanidle setting in net80211 for full-offload scan. drm: Use struct fb_info * as arg for syscons fb restore helper function. iwm - Reduce gratuitous differences with Linux iwlwifi in struct naming. drm/radeon: restore the fbdev mode in lastclose syscons - Handle kms framebuffer activation better when not in text mode. syscons - Remove unneeded NULL check from register_framebuffer(). kernel/pc64: Don't fill uefi framebuffer with 0x77 during early boot. syscons - Fix syscons with UEFI fb when drm fb is registered during boot. syscons - Make sure we draw the terminal border during syscons startup. drm: Improve integration with syscons. Move taskqueue handling to syscons. syscons - Clean up log messages for KMS console. syscons - Add option for the default terminal border color to kernel config. syscons - Add range check for color value in KDSBORDER ioctl. poll.2: Add some information about the ppoll() syscall. syscons - Add need_unlock arg to sc_clean_up and sc_wait_scrn_saver_stop. kernel: Fix stop_cpus()/restart_cpus() usages when panicing. drm: Use fb_blank hooks from drm_fb_helper.c as a syscons screensaver. syscons - Set cons_unavail when blanking framebuffer screen from syscons. vgapci: There is no drmn driver in DragonFly, there is only drm. drm/i915: Fix typo in get_bdb_header(), fixes vbt validity check. drm: Invert del_timer_sync return value, to match behaviour in Linux. sdhci - Use bus_dmamem_coherent for allocating memory for sdma DMA. sdhci - Add some missing register constants, and dump some more registers. sdhci - Fix typo, support bits for drive types A,C,D are in capabilities. mmcsd(4): Declare device D_MPSAFE. Move start_transaction to mmcsd thread. if_iwm - Update struct iwm_scan_results_notif. Remove old/unused definitions vgapci: Remove verbose printf() messages from pci_(get/set)_powerstate(). kernel - Add PCIER_DEVCAP2 and PCIER_DEVCTRL2 definitions to pcireg.h. if_iwm - Configure the PCIe LTR, fix PCI express capability accesses. kernel/usb4bsd: Configure the correct bMaxPacketSize for control endpoints. sdhci - Use the right capability field for printing the bus width. sdhci - Add a new interface method, get_card_present. sdhci - Simplify SDHCI_PRESENT_STATE register loop in sdhci_start_command(). if_iwm - Add firmware API definitions for TX power commands. sdhci - Use pci_alloc_1intr in sdhci pci attachement. kernel/usb4bsd: Use pci_alloc_1intr() for MSI allocation in xhci_pci.c. virtio: Fix and activate PCI MSI-X support. Johannes Hofmann (1): rc.d - Add option to load kernel modules from rc.conf(5) John Marino (34): Update gcc-50 to SVN version 239798 (gcc-5-branch) gcc50: Upgrade version 5.3.1 => 5.4.1 + 3 months Remove NO_OPENSSH variable functionality Update to bmake-20160818 on the vendor branch contrib/bmake: remove 2 local modifications to prepare for merge bmake: upgrade version 20141111 => 20160818 Update less from version 471 to 481 less(1): Upgrade from 471 to 481 binutils 2.25 linkers: Set default interpreter to valid path Import LibreSSL v2.4.2 to vendor branch Add private versions of libcrypto and libssl (LibreSSL v2.4.2) Switch base to use private LibreSSL libaries Remove duplicate XAUTH_PATH handling Fix build with NO_OPENSSL set Belatedly bump DF version after SSL libraries were privatized ath_hal: Add FCC6_FCCA regulatory domain (0x0014) Expose ld.bfd and ld.gold Relocate private panel library to intended location Update LibreSSL from version 2.4.2 => 2.4.3 LibreSSL: complete update v2.4.2 => v2.4.3 localedef: Fix ctype dump (fixed wide spread errors) localedef: Improve cc_list parsing Step 1/2 of OpenSSL remove: Suppress building Bump __DragonFly_version after md/crypt/ressl conflict resolution Relocate readline and ncurses headers to /usr/include/priv Fix world build in NO_ALTBINUTILS edge case Take II on fallback HOST_BINUTILSVER Update LibreSSL from version 2.4.3 => 2.4.4 Update libressl README.DRAGONFLY for v2.4.4 security/libressl: Fix ECDSA P-256 timing attack vulnerability Expand fpusave union to include x86_64 versions npx.h: fix comment alignments (cosmetic) libc: Add temporary (get|set)affinity DF404.0 symbols sort(1): Fix some obvious issues Justin C. Sherrill (1): Numbering changes to name 4.8 branch correctly. Matthew Dillon (310): systat - enhance interrupt display docs - Update tuning.7 systat - enhance interrupt display (2) nvme - Fix BUF_KERNPROC() SMP race hammer2 - Fix deadlocks, bad assertion, improve flushing. kernel - Refactor buffer cache code in preparation for vm_page repurposing kernel - repurpose buffer cache entries under heavy I/O loads drm - Stabilize broadwell and improve skylake kernel - Fix excessive ipiq recursion (3) kernel - Fix excessive ipiq recursion (4) kernel - Add vfs.repurpose_enable, adjust B_HASBOGUS kernel - Fix TDF_EXITING bug, instrument potential live loops kernel - Enhance indefinite wait buffer error message hammer - Try to fix improper DATA CRC error hammer - remove commented out code, move a biodone() kernel - Refactor Xinvltlb a little, turn off the idle-thread invltlb opt kernel - Fix atomic op comparison drm - Fix subtle plane masking bug. kernel - cli interlock with critcount in interrupt assembly kernel - Add some more options for pmap_qremove*() kernel - Cut buffer cache related pmap invalidations in half kernel - Close a few SMP holes mountd, mount - Change how mount signals mountd, reduce mountd spam kernel - Fix mountctl() / unmount race systat - Refactor memory displays for systat -vm kernel - Fix VM bug introduced earlier this month kernel - refactor CPUMASK_ADDR() kernel - Reduce atomic ops in switch code kernel - Fix namecache race & panic kernel - Minor cleanup swtch.s kernel - Disable lwp->lwp optimization in thread switcher libc - Fix numerous fork/exec*() leaks, also add mkostemp() and mkostemps(). test - Add umtx1 code systat - Restrict %rip sampling to root kernel - Fix getpid() issue in vfork() when threaded libc - Fix more popen() issues kernel - Be nicer to pthreads in vfork() libthread_xu - Don't override vfork() kernel - Fix rare tsleep/callout race kernel - Cleanup namecache stall messages on console kernel - Reduce memory testing and early-boot zeroing. systat - Adjust extended vmstats display kernel - Refactor cpu localization for VM page allocations kernel - cleanup vfs_cache debugging kernel - Refactor cpu localization for VM page allocations (2) kernel - Refactor cpu localization for VM page allocations (3) kernel - Cleanup vm_page_pcpu_cache() kernel - Remove PG_ZERO and zeroidle (page-zeroing) entirely kernel - Fix lwp_fork/exit race kernel - Fix lwp_fork/exit race (2) (vkernel) dma - Fix security hole kernel - Fix kern.proc.pathname sysctl kernel, world - Remove the remaining vestiges of linux emul libc - Include information on the 'e' flag in the popen() manual page. kernel - Fix memcpy assembly ABI kernel - Cleanup gcc warnings kernel - Fix minor bug in powermng build - prepare for higher optimization levels build - Add support for new NO_* make variables build - prepare for higher optimization levels (2) tcsh - Work around gcc-5 bug boot - Force -O kernel - Remove some debug output kernel - Add workaround for improper yield in ACPI path kernel - Fix STOP/CONT race kernel - Attempt to fix panic during shutdown from tmpfs kernel - Remove coredump spew on console kernel - Fix coredump race with threaded processes kernel - More threaded core dump fixes kernel - Fix LOOPMASK debugging for Xinvltlb ps - Adjust STATUS formatting libc - Fix malloc() alignment for small allocations kernel - Fix indefinite wait buffer during heavy swapping kernel - Deal with lost IPIs (VM related) kernel - Deal with lost IPIs (VM related) (2) powerd - Add temperature-based management libc - restir arc4random() on fork() powerd - Detect power state changes kernel - Change IPI recovery watchdog kernel - Remove mplock from KTRACE paths kernel - Fix a system lockup with vmm kernel - Fix low memory process kill bug kernel - Refactor VMX code vkernel - Add COW image capability vkernel - Fix FP corruption in VMX/EPT mode kernel - Fix improper user-space access in sys___semctl() kernel - Rename desiredvnodes to maxvnodes, fix deadlock tmpfs - Fix mount_tmpfs -C kernel - Reduce excessive inode hash table allocations kernel - Modestly reduce default maxvnodes calculation kernel - Fix panic/crash in vm_object_page_remove() kernel - Fix directory scanning bug in msdosfs kernel - Minor documentation adjustment for arc4random libcrypt - Internalize additional symbols build - Rewire secure, remove conflicts from libmd, libcrypt buildkernel - Fix -j race build - use libressl md5.h for kernel build - remove whitespace buildkernel - Fix build issue w/libmd changes build - Fix pam issues, fix 'su', fix libopie. build - Remove openssl from base (is now permanently replaced by ressl) boot - Add EFI support for placing /boot in a disklabel's 'a' partition. kernel - Fix mmcsd read/write issues kernel - adjust sdhc timeouts, cleanup kernel - Fix a vty switch/history bug kernel - Add trackpoint and elantech mouse support kernel - Add trackpoint and elantech mouse support (2) md5 - Fix seg-fault build - Fix bootstrap build for csh doc - Document 'crypt' option in fstab(5) build - Fix modifying operation to /usr/obj during installworld. build - Fix modifying operation to /usr/obj during installworld (2) kernel - Add nvme to the default kernel build kernel - Attempt to fix cluster pbuf deadlock on recursive filesystems kernel - Fix swap warning message when swap is full drm - Fix lock order reversal efi - Add EFI run-time ABI support efi - Add EFI run-time ABI support (2) efi - Add EFI run-time ABI support (3) kernel - Fix deadlock in vm_page_repurpose() kernel - Remove buffer flush debug message fsstress - Fix compiler warning hammer2 - Revamp flush and xopq mechanism, stabilization kernel - Fix bug in socket_wait() (used by samba) kernel - Cleanup macros smbfs - Fix mount_smbfs authentication error (but 'ls' still broken) kernel - Remove NETSMBCRYPTO option (make it the default) kernel - Fix smbfs readdir and umount hammer - Remove global VOP counters kernel - Reduce spinning on shared spinlocks kernel - Overhaul namecache operations to reduce SMP contention test - Adjust blib and sc1 kernel - set default locale name for smbfs kernel - Skip vmm_shutdown() when in a panic kernel - more kmalloc and nlookup performance optimizations kernel - Try to idle cpus when in panic() kernel - Remove debugging kprintf kernel - Make kern_proc cache-friendly kernel - Spiff up locks a bit kernel - Remove unused process_exit and process_exec eventhandlers kernel - Increase worst-case maximum exec rate dntpd - Fix memory leak libc - Take care of minor buffer overrun in link_ntoa() hammer - Disallow modifying ioctls when filesystem is read-only docs - Modernize swapcache(8) smbfs - Fix rename operation kernel - Re-fix chromebook keyboard drm - Fix memory leak in broadwell or later GPUs kernel - Tag vm_map_entry structure, slight optimization to zalloc, misc. debug - Update kmapinfo, zallocinfo, slabinfo kernel - remove mapzone vmstat - Revamp output vmstat - Adjust headers ahci - Adjust a few things ahci - Add quirks for Marvell devices ahci - Implement FBS for port-multipliers ahci - Improve port-multiplier detection ahci - Add workarounds for Marvell 88SE9215 AHCI - Misc fixes kernel - Do a better job locking CAM ref counts kernel - Implement RLIMIT_RSS, Increase maximum supported swap kernel - Cleanup swap comments kernel - Increase KVM from 128G to 511G, further increase maximum swap kernel - Add flexibility to the RSS rlimit kernel - Fix swap issue, implement dynamic pmap PT/PD/PDP deletion libkvm - Interim solution to boost swap statistics fields libutil - Add HN_FRACTIONAL to humanize_number() df, pstat - Use HN_FRACTIONAL vmstat - (-m) Make large values more readable kernel - Fix bugs in recent RSS/swap commits kernel - Fix TRIM bugs in UFS kernel - Fix kmalloc pool accounting for M_NETCRED nvme - Adjust manual page vmstat - Make vmstat -m more readable kernel - Add kmalloc_set_unlimited() kernel - vm_object work vmstat - Make vmstat -m more readable (2) cam - Fix bus registration race kernel - Refactor phys_avail[] and dump_avail[] kernel - Add NUMA awareness to vm_page_alloc() and related functions kernel - Add NUMA awareness to vm_page_alloc() and related functions (2) kernel - vmm_init() must run after SMP startup kernel - Fix swap issue, implement dynamic pmap PT/PD/PDP deletion (2) kernel - Fix swap issue, implement dynamic pmap PT/PD/PDP deletion (3) kernel - Implement CPU localization hinting for low level page allocations kernel - Fix swap issue, implement dynamic pmap PT/PD/PDP deletion (4) kernel - CAM cleanup 1/N - Remove ancient scsi pccard drivers ncv, nsp, stg kernel - Remove unused pmap_list kernel - CAM cleanup 2/N - adjust make upgrade kernel - Cleanup PFIL_MPSAFE kernel - Remove mplock from swapon/swapoff kernel - CAM cleanup 3/N - Remove unnecessary mplocks kernel - Fix improper mplock in mount path kernel - Change machdep.pmap_dynamic_delete default kernel - Move vm_page spin locks from pool to vm_page structure kernel - Reduce size of struct spinlock kernel - Remove most global atomic ops for VM page statistics kernel - Refactor struct vmstats and vm_zone kernel - Further refactor vmstats, adjust page coloring algorithm sdhci - Use MPSAFE version for the taskqueue and callouts kernel - Incidental MPLOCK removal (non-performance) buf - Remove B_ORDERED, Incidental CAM MPSAFE acpi - Incidental MPSAFE kernel - Make gpio and gpio_led MPSAFE kernel - Incidental mplock removal kernel - Incidental mplock removal - NTP support kernel - Remove global debug counters from device path kernel - Incidental MPLOCK removal (non-performance) kernel - Incidental MPLOCK removal (non-performance) kernel - Incidental MPLOCK removal kernel - Incidental MPLOCK removal (devfs) buf - Remove B_ORDERED, Incidental CAM MPSAFE (2) kernel - Make misc crypto functions MPSAFE kernel - Remove mplock in process trap/signal code (non-performance) mmcsd - Wasn't quite MPSAFE, fix startup race mmcsd - Wasn't quite MPSAFE, fix startup race (2) kernel - Fix recursive module loading (from MPSAFE changes) kernel - Incidental MPLOCK removal kernel - kernel - Incidental MPLOCK removal (usched, affinity) kernel - Change vm.swapcache.use_chflags default to 0 acpi - Incidental MPSAFE (2) kernel - kmemstatistics list wasn't MPSAFE vkernel.7 - Update manual page vkernel - Restabilize pmap code, redo kqueue, systimer, and console code kernel - Fix NFS sillyrename code vkernel - Fix pv_entry_count bug vkernel - Fix races in if_vke.c vkernel - Fix vmspace_*() call bottleneck kernel - Improve vm_page_register_action*() performance. sort - Don't live-loop threads vkernel - change hz default, optimize systimer kernel - pmap and vkernel work procfs - don't try to count rss kernel - Allow VM_FAULT_DIRTY to use a shared lock kernel - Optimize lwp-specific signaling. vkernel - Clock optimizations, pre-zero 'ram'. kernel - Optimize lwp-specific signaling. (2) kernel - Remove object->agg_pv_list_count vkernel - Refactor pmap kernel - Accomodate high-ncpu + low-mem configurations kernel - Refactor suword, fuword, etc. change vmm_guest_sync_addr() vkernrel - Synchronize w/master, adjust for vmm_guest_sync_addr() changes kernel - Fix improper dereference in the vmspace subsystem msdosfs - Mount ricoh camera cards kernel - Prune pcpu vmzone a bit vkernel - Partial fix to EPT swapu32 and swapu64 kernel - Remove ffs_rawread() kernel - Remove direct mapping of user buffers to CAM kernel - Remove numerous user VM page functions kernel - Remove ffs_rawread() (2) kernel - Change vm_fault_page[_quick]() semantics + vkernel fixes kernel - Adjust vmm_guest_sync_addr() vkernel - Zero out memory on startup vkernel - Fix numerous pmap invalidation bugs vkernel - Save/restore errno in signal code kernel - Fix vkernel race in host kernel - Use GDF_VIRTUSER to help measure user% in the vkernel host kernel - Fix races in the vm_map and vm_object page-scanning code kernel - Fix races created by a comedy of circumstances kernel - Fix races created by a comedy of circumstances (2) kernel - Add missing flag to vm_page_alloc() initializer. kernel - Fix shared/exclusive spinlock race kernel - Fix VTEXT/open race kernel - Fix races created by a comedy of circumstansces (3) vkernel - Change how VPTE_M works to fix seg-faults during paging rc.d - Use kldstat -m to test existance before kldload kernel - Fix race with vmspace_entry destroy race kernel - Minor formatting cleanup kernel - Validate that previous pte was cleaned. vkernel - Adjust invalidation ABI a bit kernel - Augment vm_fault_page() for vkernel operations kernel - Avoid p->p_token when sending a signal to a particular lwp kernel - Many fixes for vkernel support, plus a few main kernel fixes vkernel - Fix more pagein/pageout corruption kernel - Increase temporary bootstack kernel - Fix lockup due to recentn pmap change kernel - Disable vmm by default kernel - Add missing p_token use in swapout scheduler callback vkernel - Change default pre-zeroing of main memory kernel - Fix broken assertion for "pv->pv_m != NULL" panic kernel - Refactor vm_page_alloc() to improve hot pages kernel - Remove unneeded map token use from the vm_fault path. kernel - Turn off pmap_dynamic_delete by default kernel - Reduce priority range from dynamic priority kernel - Use __predict_* in spinlock2.h kernel - Default kernel build to -O2 build - Separate out CFLAGS for kernel & module build kernel - Remove some debug warnings for now kernel - Fix vmspace termination race kernel - Fix pmap dynamic deletion code, leave disabled kernel - Fix vmspace termination race (2) kernel - Fix bug in pmap_unwire() kernel - Fix machdep.pmap_mmu_optimize bug Revert "kernel - Reduce priority range from dynamic priority" kernel - Fix estcpu calculation kernel - Support FreeBSD style loader.conf hints for resources kernel - Fix bug in physio() drm - Fix major stalls by fixing an improper taskqueue priority kernel - Expand p_nice effect more, fix %cpu calculation bug kernel - Remove old SCSI drivers - aic, aic7xxx, ahc, ahd boot - Fix insufficient malloc()s build - Fix nativekernel build kernel - Disallow remote growstack from procfs kernel - Add atomic ops features kernel - Slightly reduce extra spinlock ops in _pv_alloc() kernel - Improve exec performance kernel - Add missing bus lock to CAM mrsas - release devq before freeing the sim. xargs - Add dummy -r option kernel - Fix cluster_write() inefficiency Michael Neumann (1): rc.subr: Add ${name}_env and ${name}_prepend. Peter Avalos (14): Import OpenSSL-1.0.2h. Update files for OpenSSL-1.0.2h import. Add IDEA support for libcrypto(3). libcrypto(3): Remove some cruft from when we supported 32-bit. Fix typo. libcrypto(3): Set CC variable for Perl scripts. Remove most local modifications from OpenSSH. Import OpenSSH-7.3p1. Update files for OpenSSH-7.3p1 import. Add a openbsd-compat file for latest import. sshd(8): Disable tunneled cleartext passwords. Patch ssh vendor code for xauth's default location. Unbreak build. Allow make.conf to override ssh's xauth location. Sascha Wildner (212): <sys/param.h>: Fix comments. Run make depend in quickkernel, too. build.7: Mention that KERNCONF can have more than one config. dmesg.8: Improve markup a bit and fix a typo (dumnr -> dumpnr). bsd-family-tree: Sync with FreeBSD. Fix VKERNEL64 build. Add a realquickkernel target, analogous to realquickworld. sysconf.3: Document _SC_PAGE_SIZE and _SC_PHYS_PAGES. libc/strptime: Return NULL, not 0, since the function returns char *. sysconf.3: Fix typo. ed(1): Remove handling of non-POSIX environment. ed(1): Sync with FreeBSD. mktemp.3: Fix a typo and bump .Dd Sync ACPICA with Intel's version 20160729. Clean up whitespace in a few headers (no functional change). <netinet/tcp.h>: Clean up the POSIX namespace a bit. <sys/msg.h>: Some POSIX adjustments. <sys/sem.h>: Some POSIX adjustments. <sys/shm.h>: Some POSIX adjustments. <sys/ipc.h>: Some POSIX adjustments. <sys/aio.h>: Remove unneeded includes (cleans up namespace). <sys/stat.h>: Clean up the POSIX namespace. <sys/types.h>: Use __BSD_VISIBLE instead of !_POSIX_SOURCE. Adjust a couple of manual pages to the recent header changes. librt/aio: #ifndef notyet -> #if 0 /* not yet */ vkernel: Add a simple pagezero() macro (unbreaks build). strftime.3: Remove extra whitespace. make upgrade: Remove no longer existing manpages after the OpenSSL upgrade. bsd-family-tree: Sync with FreeBSD (DragonFly 4.6.0). Use ; instead of , where appropriate. <time.h>: Adjust the visibility of CLOCK_REALTIME and TIMER_ABSTIME. Clean up some more after the sys/emulation/linux removal. i386 removal, part 52/x: Remove the old cs(4) network driver. kernel: Remove the old ep(4) and ex(4) network drivers. i386 removal, part 53/x: Remove the code of the fe(4) driver too. i386 removal, part 54/x: Remove perfmon(4) remains. i386 removal, part 55/x: Remove if_sbni(4) remains. kernel: Remove the old vx(4) network driver. i386 removal, part 56/x: Remove old i386 specific manual pages. kernel: Remove useless I586_PMC_GUPROF option. i386 removal, part 57/x: Remove two i386 leftovers. make upgrade: Remove one more file I forgot in 859c2e538. <sys/termios.h>: Adjust whitespace (no functional change). <sys/termios.h>: Clean up the namespace. tcsetattr.3: Adjust for recent termios.h changes. ppp(8): Remove useless _POSIX_SOURCE checks (no functional change). <sys/errno.h>: Adjust whitespace (no functional change). <sys/errno.h>: Use __BSD_VISIBLE instead of !_POSIX_SOURCE. Update the pciconf(8) database. kernel/vfs: Sort pathconf cases in the default pathconf. kernel/msdosfs: Sort pathconf cases in msdosfs_pathconf(). kernel/msdosfs: Add pathconf(3) support for FILESIZEBITS. Add/fix some HISTORY sections in bin/ manual pages. Correct some spelling mistakes/typos in manual pages. libkiconv: Remove dead code. libkiconv: Sync a bit with FreeBSD. kernel/libiconv: Sync with FreeBSD. <sys/iconv.h>: Fix typo in a comment (taken from FreeBSD). Link mount_msdos(8) dynamically. mount_cd9660(8): Add -b and -j to usage(). mount_{cd9660,ntfs}(8): Link dynamically to enable -C again. kernel: Remove useless if (...). bsd-family-tree: Sync with FreeBSD (OpenBSD 6.0). Sync ACPICA with Intel's version 20160831. kernel/clock: Solve aa85218e6 a bit better. fortune(6): Fix some typos in the datfiles. Update the pciconf(8) database. kernel/clock_gettime: Various fixes. libpthread: Some more adjustments for pthread_attr_setschedpolicy(). Add HISTORY sections in most sbin/ manual pages. Sync zoneinfo database with tzdata2016g from ftp://ftp.iana.org/tz/releases bsd-family-tree: Sync with FreeBSD (various NetBSD versions). Remove old timezone via 'make upgrade'. Split out <sys/_termios.h> for struct termios and the flags. Use <termios.h> instead of the deprecated <sys/termios.h>. mtree(8): Fix wrong extern. Sync ACPICA with Intel's version 20160930. kernel/ecc: Add MODULE_VERSION()s. kernel/iwm: Allow IWM_DEBUG to come in via the kernel config too. kernel/iwm: Fix building into the kernel without IWM_DEBUG. <sys/types.h>: Add definitions of bool, true and false for the kernel. Update the pciconf(8) database. bsd-family-tree: Sync with FreeBSD (FreeBSD 11.0). kernel: Remove the COMPAT_43 kernel option along with all related code. Remove dead /usr/include/compat symlink, too. kernel: Mark some syscalls obsolete which are really libc functions. mtree(8): Use getcwd(). routed(8): Remove SGI specific code. Remove <sys/stdbool.h>. The kernel has bool etc. in <sys/types.h> now. libcompat: Remove various unneeded functions. Sync zoneinfo database with tzdata2016h from ftp://ftp.iana.org/tz/releases installer: Fix comment typo. sysctl(8): Fix types of structure format functions. boot/libi386: Use SMAP_TYPE_MEMORY constant. <sys/efi.h>: Move the efi_next_descriptor() macro to <sys/efi.h>. kernel/efi: Add a sysctl machdep.efi_map to dump the raw EFI memory map. <sys/cdefs.h>: Remove some duplicate definitions. <sys/cdefs.h>/<machine/stdint.h>: Fix __STDC_VERSION__ macro. Sync zoneinfo database with tzdata2016i from ftp://ftp.iana.org/tz/releases boot: Use snprintf() when filling command_errbuf[] w/ dynamic content. Adjust various things after the removal of secure/. Do 3b5eca529baf58ea74a485139963552cc4c1d977 a bit better. dntpd: Fix typo. i386 removal, part 58/x: Remove <sys/link_aout.h>. Remove some old architecture handling. i386 removal, part 59/x: Revert a i386 specific local change in dma(8). i386 removal, part 60/x: Generalize a buildkernel error message a bit. i386 removal, part 61/x: Adjust some further #ifdefs. Remove /usr/include/readline from mtree too. kernel/if_re: Adjust permissions. Update the pciconf(8) database. Sync ACPICA with Intel's version 20161117. libc: Fix up compat-43 a bit. Move efirt.ko's source to sys/dev/misc/efirt. kernel/efirt: Hook efirt.ko into the build. kernel/efirt: Make efirt compilable into the kernel and add to LINT64. mdoc.local: Add definition for '.Lb libefivar'. libefivar: Remove unneeded WARNS setting (lib/Makefile.inc has it). efivar.{3,8}: Fix some mdoc issues. sigpause.3: Add missing comma. Sync zoneinfo database with tzdata2016j from ftp://ftp.iana.org/tz/releases <machine/limits.h>: Add some i386 limits which libstand's strtol() needs. libstand: Add strtoul(). boot/efi: Use strtoul(). kernel/ath: Limit check index variables before using them. libstand: Add uuid_{from,to}_string() and uuid_create_nil() (from libc). boot/efi: Add three new commands, efi-show, efi-set and efi-unset. boot/efi: Add paging to the 'memmap' and 'configuration' commands. Fix some typos in manual pages. efivar.3: Fix prototypes in the SYNOPSIS. mbuf.9: Adjust for removal of m_devget()'s 'copy' argument. Fix manual pages for s/struct device */device_t/. examples/rconfig: Fix CD/PXE check in two scripts. Sort SEE ALSO in some manual pages. <sys/{ipc,stat}.h>: Remove duplicate inclusion of <sys/cdefs.h>. kernel: Remove some ep(4) driver remains. libusbhid: Remove some unneeded compat code. Add a minimal nvmectl(8) manual page. libefivar: Fix wrong MLINKS. Rename cpumask.9 -> CPUMASK.9 newfs_msdos(8): Sync with FreeBSD. installer: Rename is_livecd -> is_installmedia. installer: Fix source directory specification. kernel/acpica: Fix shutdown issues with ACPICA 20161117. Some mdoc cleanup in tuning.7 and swapcache.8 libc: Include <unistd.h> for ftell/ftruncate/truncate prototypes. Update the pciconf(8) database. <errno.h>: Generally include <sys/cdefs.h>. kernel: Fix a -Wundef warning. nlookup.9: Adjust for the removal of nlookup_set_cred(). zone.9: Adjust for the removal of the 'zalloc' arg to zinit/zinitna. chmod.c: Remove mention of POSIX in a comment. Raise WARNS to 3 for sftp(1) and sftp-server(8). humanize_number.3: Fix typo. Bump copyrights. Sync ACPICA with Intel's version 20161222. Remove portal file system, mount_portal and examples. <sys/vfscache.h>: Sync enum vtagtype with what we have. alc.4: Add Killer E2400 to the list of supported devices. pfil.9: Remove references to PFIL_MPSAFE (removed in 48e93b2f5147bacf8). Clean up a bit after the recent CAM work (075c6d38244abd0b0c8). kernel: Fix GPT detection a bit. <sys/diskmbr.h>: Rename DOSPTYP_GPT to DOSPTYP_EFI. nrelease: Add UEFI mode capable boot media. rconfig: Add a script for setting up a HAMMER/UEFI system. Add a uefi(8) manual page giving some info on the UEFI boot procedure. installer: Add basic UEFI system setup. Wipe the start of the disk when formatting the disk with MBR, too. cpdup: When verbose, also log the successful creation of a directory. Update the pciconf(8) database. kernel/acpica: Include <stdarg.h> only for userland compilation. Sync ACPICA with Intel's version 20170119. kernel/if_wi: Unlock before returning. fetch.9/store.9: Adjust for recent changes. Remove no longer needed include <sys/ccbque.h> (see 075c6d38244a). libc: Remove the unused NO_P1003_1B variable checks. libc/libpthread: Some manual page cleanup after the *setaffinity* work. Fix two typos in manual pages. {rfork,setresuid}.2: Remove wrong/bogus sections. Remove the remaining traces of linux emulation. libc/sys: Clean up Symbol.map for the recent get/setaffinity work. libc: Adjust Versions.def. <sched.h>: Clean up a bit (whitespace etc.). No functional change. <sched.h>: Clean up the namespace a bit. <aio.h>: Prepare for the removal of <sys/types.h> from <sys/_timespec.h>. <sys/{_iovec,_timespec,_timeval}.h>: Namespace cleanup. kernel: Use CPUSTATES constant. kernel: Add a simple kern.cp_times sysctl. kernel: Fix the type of 'cmd' in various ioctl functions (int -> u_long). kernel/vinum: Fix the position of VINUM_LABEL ioctl handling. kernel/slaballoc: Separate some parts better that need INVARIANTS. Update the pciconf(8) database. Unbreak vkernel build. libc/nmalloc: Remove some kernel code remains. sdpquery(1): Remove an unneeded explicit -Wno-unused-but-set-variable. kernel/usb4bsd: Add a quirk for the Corsair STRAFE Gaming keyboard. kernel/re: Fix hw.re.phy_mdix_mode tunable. Clean up a bit after the recent ahc/ahd/aic removal. <sys/procctl.h>: Include <sys/types.h> explicitly for userland. vmbus.4: It can be compiled into the kernel as well. Sync ACPICA with Intel's version 20170224. installer: Turn off soft updates for /boot in the UFS install. kernel: Remove unused DIRECTIO option (see 12b70cea73eef6a67). Adjust whitespace in a couple of standard headers (no functional change). Clean up the namespace in a number of standard headers. rc.conf.5: Adjust the memimg documentation a bit. xargs.1: Add some words about -r (taken from FreeBSD). Sync zoneinfo database with tzdata2017a from ftp://ftp.iana.org/tz/releases Remove old timezone Pacific/Johnston via 'make upgrade'. Sync ACPICA with Intel's version 20170303. libc/getnameinfo: Clean up the comments in getnameinfo_link() a bit. libc/getnameinfo: Whitespace fix to my last commit. Sepherosa Ziehau (74): hyperv/vmbus: Passthrough interrupt resource allocation to nexus acpi: Save I/O ports for I/O ports range, as long as its reasonable. uipc: Make sure that listen is completed. corepower: Fix identify method for multi-cpu-package systems x86_64: Work around AMD erratum 793 for family 16h, models 00h-0Fh route: addroute may change rt->rt_ifa; keep the local copy in sync. carp: Add net.inet.carp.setroute to disable routes changes. acpi/cst: Keep parsing rest of the GAS, even if the mwait hint is wrong. test/udp: Add echo test for connected->disconnected socket. udp: Don't propagate connect error, as long as the inpcb has local port. re: Leverage Realtek driver's chip/PHY initialization/reset. mbuf: Factor function to set mbuf hash. ip: Move multicast addresses detection into common place. ip: Add parenthesis properly. cputimer: Add more IDs for VMM cputimers. hyperv: Implement Hyper-V reference TSC cputimer. hyperv: Move commonly shared header files to the module's top dir. hyperv: Add API to read raw value of Hyper-V timer. ip: Set mbuf hash for output IP packets. tcp: Nuke the sysctl to disable local port extension. tcp: Save faddr/fport before lport selection. loopback: Allow turning off RSS. syncache: Simplify port calculation by reusing ACK's hash for IPv4. tcp: Fix connect to INADDR_ANY. pci: Add a quirk for chips w/ broken MSI support. alc: Sync w/ FreeBSD hyperv: Reorder the Hyper-V TSC initialization a bit. hyperv/vmbus: Fix interrupt timer detection logic. alc: Add Killer E2500 support. if: Remove unnecessary critical sections. if: Defer the if_up until the ifnet.if_ioctl is called. ifq: Switch to drop-head for default enqueue method. ifq: Factor out if_classq from altq_classq and use it for default ifq. test/passdesc: Allow specifying the payload length. usched: Add USCHED_SET_CPUMASK. usched: Implement LWP lazy migration support. lwp: Add two syscalls to set/get lwp's CPU affinity mask. usched: Fix the returned CPU affinity make by smp_active_mask. libc: Add sched_{set,get}affinity(). libc: Add const to the cpu_set_t for sched_setaffinity. libc: Take cpusetsize into consideration for sched_getaffinity() pthread: Implement pthread_{set,get}affinity_np man: Add cross references lwp: Add lwp_create2 syscll, which takes cpumask for scheduling. x86_64: Fix machdep.smp_active sysctl type. pthread: Implement pthread_attr_{get,set}affinity_np param: Bump version according to the comment. lwp: Move all lwp syscalls to sys/lwp.h tools/kq_sendcli: Add sendfile support. tool/kq_sendcli: Add option to set write size. tools/kq_recvserv: Add option to set read size tools/kq_sendcli: Add option to set sending thread's CPU affinity tools/kq_recvserv: Add option to enable SO_REUSEPORT tools/kq_recvserv: Add option to set receiving thread's CPU affinity. tools/kq_sendrecv: Fix building on FreeBSD em/emx: Retry interrupt allocation with MSI libc: Add sched_getcpu(). sched: Add cpuset_t for FreeBSD compat cputimer: Initialize explicitly. cputimer: Reorder fields a bit to avoid implicit padding. lwp: Bump version for shuffle lwp syscalls. lwp: Restore lwp syscalls (except lwp_create*) declaration. cputimer: Update comment pktgen: Ifnet lock is required by ifunit. net: Make sure that local variable is really used. libkern: Make inet_ntoa MPSAFE by passing string buffer to it. altq: Use microuptime() instead of microtime() - boottime. kern: Add cpucounter which returns 64bit monotonic counter. hyperv: Reorganize hyperv: Implement cpucounters. Unbreak kernel building re: Update to Realtek 1.93 re: Fix typo for disabling txcsum. re: Only limited versions of this chip require explicit padding. Tomohiro Kusumi (255): sbin/hammer: Remove rel_volume() sys/vfs/hammer: Add HAMMER_VOL_BUF_SIZE() sbin/hammer: Directly access volume in volume list sbin/hammer: Add verbose volume message while recovering sbin/hammer: Abort if failed to creat recover target dir sbin/hammer: Use HAMMER_BTREE_TYPE_RECORD sbin/hammer: Add debug prints while scanning node during recovery sbin/hammer: Increment recovery scan offset regardless of get_buffer() result sbin/hammer: Move score_printf()/hammer_check_restrict() to cmd_mirror.c sbin/newfs_hammer: Link against sbin/hammer/misc.o sbin/newfs_hammer: Add -d option from hammer(8) sbin/hammer: Cleanup sbin/hammer/hammer_util.h sbin/hammer: Rewrite hammer bstats/iostats sbin/hammer: Don't include libhammer.h unconditionally sbin/hammer: Cleanups sys/vfs/hammer: Change/Fix ioctl API for HAMMERIOC_PFS_ITERATE sys/vfs/hammer: Rename HAMMERIOC_PFS_ITERATE to HAMMERIOC_SCAN_PSEUDOFS sys/vfs/hammer: Drop redundant error initialization sbin/newfs_hammer: Add -C option from hammer(8) sbin/hammer: Cleanups sbin/newfs_hammer: Add exit_code arg to usage() sbin/newfs_hammer: Add -h option sbin/hammer: Refactoring sbin/hammer: Fix memory leak sys/vfs/hammer: Fix wrong comment and unnecessary argument sbin/hammer: Minor hammer show cleanups sbin/hammer: Add inode size check to hammer show sbin/hammer: Remove if(QuietOpt) conditionals in hammer show/checkmap sys/vfs/hammer: Remove unused HAMMER_IOC_PFS_XXX macros sys/vfs/hammer: Integrate ondisk uint32 reserveds into [] sys/vfs/hammer: Add comments on filesystem capacity sbin/hammer: Don't ioctl(SET_PFS) before attempt to destroy PFS sbin/hammer: Drop bug fix by 750beaef after 9376f71b sbin/hammer: Remove AssertOnFailure assertion in blockmap lookup sbin/hammer: Remove unused AssertOnFailure sbin/hammer: Make get_buffer() static sbin/hammer: Add print_blockmap() for common blockmap output format sbin/hammer: Make sizetostr() print B if <1KB sbin/hammer: Don't print mountpoint of PFS lib/libhammer: Fix segmentation fault by null dereference sbin/hammer: Sync dce7ae2c format with zone statistics sbin/newfs_hammer: Set HAMMER_OBJTYPE_DIRECTORY for ondisk PFS#0 data sbin/hammer: Use "objid" for inode# sys/vfs/hammer: Remove wrong comment sbin/hammer: Use . for pfs-status if no arg sys/vfs/hammer: Use typedef'd for struct hammer_blockmap_xxx* sys/vfs/hammer: Use typedef'd for struct hammer_volume_ondisk* sys/vfs/hammer: Conform to typical hammer code format sys/vfs/hammer: Use typedef'd for struct hammer_pseudofs_data* sys/vfs/hammer: Use typedef'd for union hammer_data_ondisk* sys/vfs/hammer: Use typedef'd for struct hammer_base_elm* sys/vfs/hammer: Use typedef'd for struct hammer_btree_leaf_elm* sys/vfs/hammer: Use typedef'd for struct hammer_node_ondisk* sys/vfs/hammer: Use typedef'd for struct hammer_transaction* sys/vfs/hammer: Use typedef'd for struct hammer_inode* sys/vfs/hammer: Use typedef'd for struct hammer_record* sys/vfs/hammer: Use typedef'd for struct hammer_io* sys/vfs/hammer: Use typedef'd for struct hammer_volume* sys/vfs/hammer: Use typedef'd for struct hammer_buffer* sys/vfs/hammer: Use typedef'd for struct hammer_node* sys/vfs/hammer: Use typedef'd for struct hammer_node_lock* sys/vfs/hammer: Use typedef'd for struct hammer_mount* sys/vfs/hammer: Remove prototypes for not existing functions sys/vfs/hammer: Typedef struct on declaration sys/vfs/hammer: Use typedef'd for enum hammer_io_type sys/vfs/hammer: Remove unused struct hammer_io_list sbin/hammer: Don't expose softprune specific data structure sbin/hammer: Sync zone statistics format with print_blockmap() sbin/hammer: Fix irrelevant comments sys/kern: Make struct buf::b_dep a member of union sys/vfs/hammer: Add typedefs for ondisk structures without typedefs sys/vfs/hammer: Use typedef'd for struct hammer_snapshot_data* sys/vfs/hammer: Use typedef'd for struct hammer_inode_data* sbin/hammer: Don't expose VolList sbin/hammer: Make struct volume_info::name const sbin/hammer: Make use of struct buffer_info::cache at offset 0 sbin/hammer: Remove hammer_cache_set() sbin/hammer: Make blockmap.c/misc.c include hammer_util.h (not hammer.h) sbin/hammer: Move pidfile_loc[] to hammer.h sbin/hammer: Always call check_volume() sbin/hammer: Cleanup struct volume_info sbin/hammer: Use int64_t for zone stats blocks/items/used sbin/hammer: Don't use hard-coded 1024 for # of layer1 per volume sbin/hammer: Add assert_volume_offset() sbin/hammer: Remove default volume initialization from alloc_bigblock() sys/vfs/hammer: Remove HAMMER_RECTYPE_LOWEST sys/vfs/hammer: Fix comment on lo in direntry sys/vfs/hammer: Fix confusing comment sys/vfs/hammer: Fix numbering of reserved fields for vol0 sys/vfs/hammer: Integrate ondisk reserved fields and unused fields sbin/hammer: Remove unused zone field in struct zone_stat sbin/newfs_hammer: Don't bother initializing reserved ondisk field sbin/newfs_hammer: Cleanup sbin/hammer: Use HAMMER_ENTRY_NAME_OFF sys/vfs/hammer: Add inline CRC functions hammer_crc_get_xxx() sys/vfs/hammer: Make the existing CRC functions inline sys/vfs/hammer: Add inline CRC functions for layer1/2 sys/vfs/hammer: Add inline CRC functions for undo/redo fifo head sys/vfs/hammer: Add inline CRC functions for mrec head sys/vfs/hammer: Add sys/vfs/hammer/hammer_crc.h sbin/hammer: Use inline CRC functions in userspace sys/vfs/hammer: Change HAMMER_VOLUME_NUMBER_XXX macros to inline functions sbin/hammer: Refactoring sbin/hammer: Return -1 if readlink(2) failed sys/vfs/hammer: Remove wrong comment sbin/hammer: Add clrpfs() sys/vfs/hammer: Change unused PFS ioctl flag to reserved sys/dev/disk/dm: Cleanup sys/dev/disk/dm: Remove #if0'd dmminphys() from NetBSD sys/dev/disk/dm: Remove default:break for switch enums on kldload sbin/hammer: Make get_node() a wrapper over get_buffer_data() sbin/hammer: Remove get_node() sbin/hammer: Remove get_ondisk() after previous commits sbin/hammer: Rename alloc_btree_element() to alloc_btree_node() sbin/hammer: Move hammer_btree_cmp() to cmd_show.c sbin/hammer: Sync return value of test_btree_search() with hammer_btree_cmp() sys/vfs/hammer: Add HAMMER_FSTYPE_STRING sbin/hammer: Remove alloc_data_element() sbin/hammer: Partly revert 2c1d3cef in 2010 sbin/newfs_hammer: Check/initialize uuid after getopt sbin/hammer: Remove XXX in a comment sbin/hammer: Remove redundant ioctl(GET_PSEUDOFS) call in getpfs() sbin/hammer: Remove meaningless sscanf for "@@PFS%d" format sbin/hammer: Make getdir() support more than 1 trailing / sbin/hammer: Don't wait 5 secs on pfs-destroy if -d (for devs) sbin/hammer: Change "PFS #" to "PFS#" sbin/hammer: Use dirname(3) instead of getdir() in scanpfsid() sbin/hammer: Partly revert 8b640662 in 2014 sbin/hammer: Cleanup getpfs()/scanpfsid() sbin/hammer: Remove getdir() sys/vfs/hammer: Mention ondisk fields are in little endian sys/dev/disk/dm: Make dmdebug() print __func__ sys/vfs/hammer: Use MIN/MAX macros for B-Tree node's elm base sys/vfs/hammer: Add HAMMER_MIN|MAX_ONDISK_LOCALIZATION sys/vfs/hammer: Use HAMMER_MAX_KEY for initial trunc_off values sbin/hammer: Add verify argument to load_volume() sbin/hammer: Make hammer recover use hammer_parsedevs_noverify() sbin/hammer: Cleanup arguments of init_volume() sbin/hammer: Add volume signature check on loading a volume sbin/hammer: Mention bug in hammer recover command sbin/mount_hammer: Fix warning messages sbin/mount_hammer: Add missing switch case from bab16452 sys/vfs/hammer: Fix zone/iotype/iostring conversion sys/vfs/hammer: Add hammer_zone_to_iotype()/hammer_io_to_iostring() sys/vfs/hammer: Rename HAMMER_STRUCTURE_XXX to HAMMER_IOTYPE_XXX sys/vfs/hammer: Rename HAMMER_UNDO_LAYER2 to HAMMER_MAX_UNDO_BIGBLOCKS sys/vfs/hammer: Remove wrong comment sys/vfs/hammer: Add HAMMER_MIN_UNDO_BIGBLOCKS to set minimum undo fifo to 512MB sbin/newfs_hammer: Check maximum undo fifo size with explicit error message sbin/newfs_hammer: Fix low limit of -b and -m option sbin/newfs_hammer: Remove \n from errx(3) sbin/hammer: Remove \n from err(3)/errx(3) sbin/hammer: Test high limit in init_{boot,mem}_area_size() sbin/hammer: Fix default behavior of init_{boot,mem}_area_size() sys/vfs/hammer: Rename mem_area_size to memory_log_size sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [1/3] sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [2/3] sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [3/3] sbin/newfs_hammer: Add assertion for header junk space size sbin/newfs_hammer: Add hidden -j option for header junk space sys/vfs/hammer: Add HAMMER_VOL_JUNK_SIZE/HAMMER_{MIN,MAX}_VOL_JUNK sbin/newfs_hammer: Replace hard-coded 512MB/1GB strings with sizetostr() sbin/newfs_hammer: Fix source for filesystem info after formatting sbin/newfs_hammer: Add printf for HAMMER version after formatting sbin/newfs_hammer: Fix remaining one from 3e7805d7 sbin/newfs_hammer: Fix newfs_hammer(8) manpage sbin/newfs_hammer: Fix print_volume() for non-root volume sbin/hammer: Fix print_blockmap() for non-root volume sys/vfs/hammer: Use HAMMER_OFF_{SHORT,LONG}_ENCODE() sys/vfs/hammer: Fix terminology for undo fifo sys/vfs/hammer: Add ascii-art for volume layout sys/vfs/hammer: Add HAMMER_ENCODE_UNDO() sbin/mount_hammer: Simplify ondisk verification sbin/mount_hammer: Fix/cleanup test_volumes() sbin/hammer: Fix wrong error message sbin/hammer: Add a TODO comment for hammer recover sys/vfs/hammer: Add HAMMER_BLOCKMAP_LAYER2_DOALIGN() sys/vfs/hammer: Add HAMMER_BUFSIZE_DOALIGN() and variants sys/vfs/hammer: Add HAMMER_DATA_DOALIGN() and variants sbin/hammer: Split alloc_bigblock() into two functions [1/2] sbin/hammer: Split alloc_bigblock() into two functions [2/2] sbin/hammer: Add another condition to assert_volume_offset() sbin/hammer: Cleanup alloc_blockmap() sys/vfs/hammer: Add HAMMER_BIGBLOCK_DOALIGN() sys/vfs/hammer: Cleanups sys/vfs/hammer: Use HAMMER_BUFSIZE_DOALIGN() and variants sys/vfs/hammer: Add HAMMER_ZONE_LAYER1_NEXT_OFFSET() sys/vfs/hammer: Add HAMMER_ZONE_LAYER2_NEXT_OFFSET() sbin/hammer: Cleanup blockmap sys/vfs/hammer: Add HAMMER_UNDO_DOALIGN() sbin/hammer: Make hammer show-undo support zone statistics sbin/hammer: Cleanup hammer show-undo sbin/hammer: Cleanup zone statistics sbin/hammer: Refactor left/right boundary elms in hammer show sys/vfs/hammer: Add hammer_xlate_to_undo() sbin/hammer: Fix hammer show-undo output format sys/vfs/hammer: Change unused ondisk redo_mtime to reserved sbin/hammer: sbin/hammer: Fix hammer show-undo output format sys/vfs/hammer: Use HAMMER_HEAD_DOALIGN() sys/vfs/hammer: Remove wrong comment sys/vfs/hammer: Fix comments sys/vfs/hammer: Fix wrong comment sys/dev/disk/dm: Sync with Linux changes in flakey read behavior sys/dev/disk/dm: Remove dm/targets/ directory and move its entries to dm/ sys/dev/disk/dm: Remove dm_dev::dev_type sys/dev/disk/dm: Cleanups sys/dev/disk/dm: Remove obvious/redundant/disabled kprintfs sys/dev/disk/dm: Remove dm_table_init_target() call with NULL sys/dev/disk/dm: Make init/destroy handlers optional sbin/hammer: Fix recursively called hammer_parsedevs() sbin/hammer: Add "[y/n]" before getyn() sbin/hammer: Make hammer_parsedevs() take open(2) flag sbin/hammer: Add hammer strip command sbin/hammer: Minor cleanup for hammer recover sbin/hammer: Fix inode/data messages in hammer recover sbin/hammer: Fix direntry message in hammer recover sbin/hammer: Use HAMMER_OBJID_ROOT sbin/hammer: Minor cleanup for hammer blockmap sbin/hammer: Fix whitespace alignment changed by e0d7dd09 sbin/hammer: Add quick mode for hammer recover sbin/hammer: Fix typo from 14331391 sbin/hammer: Minor fix for hammer recover quick mode sbin/hammer: Use last active big-block to limit recovery scan range sbin/hammer: Add full mode for hammer recover to revive full scan sbin/hammer: Cleanup hammer recover sys/vfs/hammer: Remove redundant function btree_max_elements() sbin/hammer: Use big-block append offset to limit recovery scan range sbin/hammer: Fix rename printfs to differentiate recover paths sbin/hammer: Fix known bug in full scan recovery mentioned in f2dd4b0c sbin/hammer: Remove redundant volume arg in find_buffer() sbin/hammer: Add __alloc_buffer() to refactor get_buffer() sbin/hammer: Add __blockmap_xlate_to_zone2() to refactor get_buffer() sbin/hammer: Cleanup blockmap_lookup() sys/vfs/hammer: Use hammer_is_zone_xxx() sbin/hammer: Add a trivial wrapper over blockmap_lookup() sbin/hammer: Fix/remove redundant error variable sbin/hammer: Change fprintf/exit to err variants [1/2] sbin/hammer: Change fprintf/exit to err variants [2/2] sbin/hammer: Don't hardcode 0 for root PFS sbin/newfs_hammer: Mention root volume is volume#0 in manpage sbin/newfs_hammer: Use warn(3) variants sbin/newfs_hammer: Refactoring sbin/mount_hammer: Use warn(3) variants sbin/hammer: Change fprintf (without exit) to err variants sbin/hammer: Use HAMMER_BUFSIZE to calculate CacheMax sbin/hammer: Remove redundant cache counter NCache sbin/hammer: Refactor hammer_cache_flush() sbin/hammer: Properly use calloc(3) sbin/hammer: Use calloc(3) instead of malloc(3)+bzero(3) sbin/hammer: Remove redundant blockmap lookup in hammer show sys/vfs/hammer: Rename misleading macro hammer_is_zone2_mapped_index() sbin/hammer: Fix terminology of buf_offset sbin/hammer: Fix bug in get_buffer_data() Revert "sbin/hammer: Fix bug in get_buffer_data()" sbin/hammer: Redo e4323571 partly (after reverted by 03d5db37) zrj (254): drm/i915: Re-apply lost intel_dp.c diff. sys: Extract CPUMASK macros to new <machine/cpumask.h> cpumask.h: Turn CPUMASK_ELEMENTS as implementation defined. cpumask.9: Add short manpage. mdoc.local: Add DragonFly 4.6 for future reference. mktemp.3: Improve the manpage, add mklinks. libc/strptime: Check for NULL, not 0. libc/strptime: Add support for %t and %n per POSIX. libc/strptime: Attempt to fix up %U and %W. strptime.3: Sync with FreeBSD. libc/strptime: Fix "%Y %W %w %H:%M:%S". libc/strptime: Handle ISO 8601 time zone formats in %z. gold: Fix CFLAGS override. TRE: Fix const discard issue for all compilers. strcoll(3): Make source compatible to more compilers. xz: Don't use SSE headers for gcc < 5. bsd.sys.mk: Make build permissive for pre gcc 5 compilers. sys.mk: Introduce WORLD_CCOPTLEVEL. sys.mk: Introduce WORLD_CFLAGS. sys/boot: Unbreak WORLD_CCVER=gcc47 Sync arc4random() with OpenBSD a bit. libc/readpassphrase: Sync with OpenBSD sed(1): Fix issue with basename()/dirname() invoke. lib/libexecinfo: Fix sysctl wrong argument order. buildworld - bootstrap compatibility compiling older DragonFly's Prefer to use data model (like __LP64__) for basic types. <stdarg.h>: Change visibility of va_copy(). <stdlib.h>: Fix MB_CUR_MAX return type. <wchar.h>: Explicitly add va_list definition. <stdio.h>: Fix va_list visibility. Prevent dports gcc "fixing" the last headers. <wchar.h>: Fix namespace pollution from <stdio.h> libc/net: Rename dprintf() to not conflict with dprintf(3). Rename getline with get_line to avoid collision with getline(3). <strio.h>: Drop ancient guards from getline() and dprintf(). Remove usage of _WITH_GETLINE and _WITH_DPRINTF. <sys/param.h>: Bump __DragonFly_version for global getline() visibility. fortune(6): Perform some cleanup. fortune(6): Use argc and argv. fortune(6): Turn writing to disk a runtime option. fortune(6): Add FORTUNE_PATH env variable. fortune(6): Use arc4random_uniform(3). fortune(6): Rework manpages. fortune(6): Remove some dup fortunes. fortune(6): Resort few fortunes databases. fortune(6): Clean up the murphy. fortunes: Fix typos in some of the fortunes. fortune(6): Sync fortunes-o with FreeBSD kernel/scsi: Do not announce pass/sg in bootverbose. fortune(6): Fix typos in some of the fortunes. fortune(6): Add new fortunes from FreeBSD bcd(6): Add decoding option and few extras. WORLD_CCOPTLEVEL: Unbreak world at -O2 caesar(6): Mention rot13(6) too. bootstrap: Fix old boostrapping issue once and for all. <sys/cdefs.h>: Style(9) fixes. <sys/cdefs.h>: Move __warn_unused_result__ to 3.4 <sys/cdefs.h>: Be more careful with _Noreturn. <sys/cdefs.h>: Add support for alloc_align, alloc_size and malloc attributes. style(9): Perform some cleanup in few standard headers. <stdlib.h>: Change visibility of few POSIX extensions to ISO C. Use recently added attributes in few standard headers. <pthread.h>: Perform some style(9) cleanup. <pthread.h>: Visibility changes. <pthread.h>: Mark some __nonnull(x) cases. <pthread.h>: Avoid namespace pollution. pthread: Init libthread_xu also in pthread_key_create() bootstrap: Expand BOOTSTRAPPING case to avoid warning. libncurses: Avoid -Woverflow in baud rates. libncurses: Avoid warning when calling cgetent(). libncurses: Set WANRS at 5. crunchgen(1): Fix few spurious warnings. gcc47: Prevent -Wswitch-bool noise. gcc47: Backport objc fix from gcc trunk. gcc47: Fix misplaced NULL usage in strings. gcc47: Suppress last codegen warning. OpenSSH: Suppress warning on login_getcapstr(). OpenSSH: Suppress last warning in session.c OpenSSH: Add missing prototypes and bump WARNS to 3. wpa_supplicant: Avoid cpp warning during buildworld. pthread: Sync copyright changes with FreeBSD. pthread: General pre-cleanup (style, typos etc) pthread: Fix return value for pthread_attr_setschedpolicy() pthread: Move out pthread_md.c from x86_64 dir to common code. pthread: Change single weak reference to strong one. pthread: Collect separated mutex functions. pthread: Fix some warnings, do not raise WARNS to 6. pthread: Add vprintf variant of _thread_printf, reformat PANIC() pthread: Move few attr private structs to thr_init.c pthread: Use spin hint for cpu on x86_64 too. pthread: Set default contention scope to system. pthread: Prefer explicit return on error. pthread: Split mutex_init(). pthread: Split pthread_exit() to smaller chunks. libc_r: Tiny adjustment, git add. <sys/cdefs.h> Also add __malloclike to lint case. gcc50: Compile and install collect2 utility. kernel/adv: Fix extern type to match the real one. kernel/smbfs: Fix type mismatches for smbfs_pbuf_freecnt. cxm(4): Fix type mismatches on firmware variables. usb4bsd: Fix compilation with -flto. kernel: Explicitly exclude -flto cflags for genassym.c Remove profiled version of libraries too. Import missing source needed to enable plugin support in utilities. binutils225: Make plugin dir overridable at compile time. sys/boot: Annotate LTO issue in pxe.c restore(8): General cleanup. restore(8): Fix formats in prints. restore(8): Use size_t were appropriate. restore(8): Fix and enable WARNS. restore(8): Fix extern type mismatch. restore(8): Remove (void *) casts. tcpdmatch(8): Honor global CFLAGS. binutils225: Honor global CFLAGS. tcpdchk(8): Honor global CFLAGS. install(1): Silence false gcc warnings. csh(1): Allow to bootstrap with -flto. backgammon(6): Prevent LTO seeing details for now. devd(8): Make it possible to compile with LTO. cvs: Use mempcpy() from libc. less(1): Fix type mismatches in different objects. talkd(8): Avoid warning on gcc with -flto. dm(8): Avoid warning on gcc with -flto. adventure(6): Fix type to match public one. sbin/quotacheck: Rename maxino to remove globals conflict. cal(1): Avoid gcc warnings. usr.bin/rfcomm_sppd: Avoid gcc warnings. systat(1): Fix curscale type to match other one. users(1): Avoid gcc warning. wall(1): Avoid gcc warning. telnet(1): Fix line definition to match extern one. mlxcontrol(8): Provide defaults to few variables. setkey(8): Fix m_len type to match real one. ppp: Avoid gcc warnings. installer: Init payload to NULL. <wchar.h>: Add support for compilers -fshort-wchar. bootstrap: Fix old boostrapping issue once and for all part 2. bootstrap: Add workaround for chflagsat() from 4.0. sys/boot: Remove empty source. grep(1): Trim sources that create empty objects. libmpfr: Trim sources that create empty objects. libmgmp: Trim sources that create empty objects. gcc50: Trim sources that create empty objects. libedit: Trim sources that create empty objects. libmagic: Trim sources that create empty objects. libpam: Trim sources that create empty objects. libssh: Trim sources that create empty objects. ncurses: Trim sources that create empty objects. libusbhid: Trim sources that create empty objects. groff: Trim sources that create empty objects. libgomp5: Trim sources that create empty objects. libstdcxx5: Trim sources that create empty objects. lvm2: Trim sources that create empty objects. librpcsvc: Trim sources that create empty objects. diffutils: Trim sources that create empty objects. gdb: Trim sources that create empty objects. Unbreak buildkernel. <stdio.h>: Always inline functions. camcontrol: Force scsi_8btou64() to be inlined. sbin/hammer: Mark few functions as always inlineable. machine/endian.h: Mark bswap functions always inlineable. libc: Rip out pthread_cancel stub symbol. <sys/cdefs.h>: Rework __weak_reference() macro. Move __weak_reference() after symbols it links to. xlocale: Fix LC_*_MASK bit shifting. xlocale: Fix type of freelocale(). xlocale: Few style(9) fixes. bsd.sys.mk: Make buildworld permissive for -Os and -Og. gcc47: Allow gcc47 to compile itself at WORLD_CCOPTLEVEL=g. znew(1): Convert to use sh. config(8): Comment out some linux emulation remains. kernel/ddb: Fix type mismatch in different objects. binutils225: Add plugin support in ar, nm, ranlib. binutils225: Add bfd-plugins directory to mtree. binutils225: Symlink liblto_plugin.so from default base gcc compiler. gcc50: Build lto-wrapper when buildworld is LTO enabled. binutils225: Trim sources that create empty objects. libstand: Add -fno-builtin in case of -flto. LTO: Prevent -flto being used by host native tools. LTO: Prevent -flto exposing csu internals when linking v2. LTO: Prevent -flto being used in main system libraries. LTO: Prevent -flto being used by main gcc libraries. LTO: Prevent -flto being used by any of libstdc++ stuff. gcc47: Disable use of -flto. crunchgen(1): Switch to use cc for ld. LTO: Use CC for kernel linking. LTO: Prevent -flto from creating crashing kernels. installer: Fix typo in handling null mounts array. bsd.sys.mk: Exclude PROG from PHONY list. tic(1): Restrict termsort.c hack to btools. gcc47: Do not include empty header. bsd.libnames.mk: Remove outdated XXX. build: Fix wrong DPADD for libcrypto. gcc50: Hook missing source into the libgcc.a. libressl: Few local modifications for netcat. nc(1): Adjust makefile and hook into buildworld. <netinet/ip.h>: Add ToS defs for RFC 2474 and 5865. <netinet/ip.h>: Few style(9) fixes. tic(1): Add missing beforedepend for termsort.c. bsd.crunchgen.mk: Use single style for variables. bsd.crunchgen.mk: No longer exclude -P option. bsd.crunchgen.mk: Remove dub handling of CANONICALOBJDIR. bsd.crunchgen.mk: Simplify mk logic a bit. bsd.crunchgen.mk: Split few monolitic targets. bsd.crunchgen.mk: Sync with FreeBSD. flex: Rename and install the main libl.a as primary one. flex: Break the hardlinks to fix quickworld issues. LIBPRIV: Introduce PRIVATELIB knob (just like INTERNALLIB). LIBPRIV: Add common PRIVATELIB_LDFLAGS definitions. build: Suppress exessive echoing. gcc50: Install liblto_plugin.so as +x. gcc50: Fix logic in cxx hostlib. gcc47: Remove bits/ handling. nvi: Convert catalog creation to use hostprog. LINT64: Fix buildkernel with WANT_HAMMER2=yes. gcc50: Add alternative variant of pthread presence checking. drm/linux: implement div64_u64_rem() helper in math64.h drm/linux: add atomic64_cmpxchg() drm/linux: add few ida_* functions. drm/linux: add sg_pcopy_{from/to}_buffer() LIBPRIV: Add private includes for dfuife_curses. libdevstat: Install .so.3 into /lib to unbreak vinum(8). libsmb: Install .so.2 into /lib to unbreak mount_smbfs(8). svc(8): Link as static. gcc50: Activate workaround for libgcc_pic.a. Initial import of binutils 2.27 on vendor branch binutil227: Add DF README's and local modifications. binutils227: Add build dirs. Replace binutils 2.24 with latest binutils 2.27. Retire the binutils-2.24. rtld: Fix handling of DT_TEXTREL for object with multiple read-only segments. binutils227: Symlink liblto_plugin.so from default base gcc compiler too. drm/linux: add circ_buf.h needed for guc client bits ncurses: Fix parallel buildworld race. vkernel: Add a dummy cpu_smp_stopped() function (unbreaks build). Revamp alt compiler handling for clang 3.9.1 import. libc: Avoid negative offsets in link_ntoa(). flex: Disable LTO in the libfl.a for clang. Switch to binutils227 as default base binutils. <sys/param.h>: Bump __DragonFly_version for binutils update. gcc50: Build lto-wrapper even if buildworld is not LTO enabled. Fix typo. <stddef.h>: Add max_align_t guards for future reference. Unbreak world after make upgrade REMOVE_OPENSSL_FILES=yes. ssl: Consistently use LibreSSL base headers. ssl: Unhook internal usage of include/openssl/. gencat(1): Limit and mark bootstrap hack. Prevent implicit -Wsystem-headers passing from CFLAGS to CXXFLAGS. devd(8): Remove build workaround. Prevent implicit -std=* passing from NXCFLAGS to NXCXXFLAGS. Add entries for initial clang import in mtree. Unbreak VKERNEL64 for clang compatibility. wlan: Remove duplicate typedef. vkernel: Prevent clang optimizing out the traps. -- DragonFly BSD source repository