at 3fd2e14ae904662a43cc60df546e12161584a3d8 (tag) tagging 548802dd82f5538ca4de7db51ee1ebf71a6b240a (commit) replaces v5.7.0 tagged by Justin C. Sherrill on Sat Feb 15 17:29:59 2020 -0500
DragonFly 5.9.0 -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKoVKXbrlZApHvlHBr7wLqlzDf6YFAl5IcOcACgkQr7wLqlzD f6Z1zwf/UdL5oMddMPl1Dlwc/n9LlKchoMnAR+OC99b/FlmDN7OSWl/Im0f1l669 nOGnMt239cKmoZc6zERfsY3ElI+D7tAgJdRNiCqo/C42xFIK5TReKqfeW1kxgmDU UNOIp2dHFYSlkpzagTXUG7OdMOGp6JNKnvssB7Ao10wBWHP8ElBIBZHxDcuvNd4e xfWLgkrCKvssBOhfMnLg0ge2MIIi2GrZtYVqibS4/K5plvs27aSuuFOhEBVJVkpm 1iEN3V87T8+3Et2mxqvjAqzQH9fr+bjW8fWFp9eTj7q90HtvOsaOc80LaX1y9MKy Cos04LRPsBbKEFLK3ytSKLma7KzoMg== =v155 -----END PGP SIGNATURE----- Aaron LI (49): u4b/audio: Fix panic by kfree(NULL) libstand/hammer1: Fix vol_name to be vol_label Makefile: Require explicit target Use NULL instead of 0 for the third argument in fts_open() terminfo: Build and install st, st-16color and st-256color rconfig(8): Allow '.', '-' and '+' in tag names rconfig(8): Update usage in program and manpage jail: Implement read-only sysctl "jail.jailed" jail.8: Document sysctl entries jail.{allow_raw_sockets,chflags_allowed} gpt(8): Explicitly avoid out of range in searching MBR partitions initrd: cd to '/' before umounting '/var' rc: Move stop_boot() from rc.d/fsck to rc.subr and improve it rc.d: Use stop_boot() function to really stop boot nrelease: Replace ${NRLOBJDIR}/nrelease with a temp directory nrelease: Simplify by not handling multiple kernel configs nrelease: Remove obsolete targets and update the help nrelease: Reorder and clean up the "srcs" target nrelease: Split "pkgs" target out from "customizeiso" target nrelease: Minor style improvements to the Makefile release.7: Sync environment variables with nrelease/Makefile nrelease: Fix 'make restartpkgs' cpdup(1): Minor cleanups cpdup(1): Improve the help text a bit cpdup(1): Add '-h' option and sort options in help and code cpdup(1): Check the return value of asprintf() and exit if fails nrelease: Support to use binary packages calendar(1): Sync calendars from FreeBSD calendar(1): Sync with FreeBSD calendar(1): Rework calendar files installation calendar(1): Use UTF-8 for all calendars calendar(1): Remove redundant fr_FR.UTF-8/calendar.french calendar(1): Various cleanups calendar(1): Improve UTC offset and longitude handling calendar(1): Significant update to calendars from OpenBSD calendar(1): Do not ignore errors of setuid/setgid in '-a' mode calendar(1): Add '-h' and '-?' to show usage help calendar(1): Merge two fixes to calendars from FreeBSD calendar(1): Remove pointless playing with LC_TIME calendar(1): Use login caps for 'calendar -a' calendar(1): Merge 'pathnames.h' into 'io.c' calendar(1): Refactor mail header composition and sending calendar(1): Search calendar file in current directory first calendar(1): Reset locale after parsing each calendar file calendar(1): Define "LANG" for national calendars nos-tun(8): Directly use /dev/tun and remove option '-t' tools/wesside: Update to use /dev/tap directly if_tap: Handle 'SIOCSIFMTU' ioctl directly to support MTU > 1500 mtree.8: Add examples to create /var and /usr/include hierarchies rcorder(8): Import rcorder-visualize.sh from FreeBSD Antonio Huete Jimenez (36): Import byacc-20170709 test test (2) usr.bin/kcollect - Add F flag kcollect(8) - Fix mandoc -Tlint usr.bin/kcollect - Add O flag usr.bin/kcollect - Cleanup prototypes a bit. kcollect(8) - Add a description of the output fields. usr.bin/kcollect - Rework the hosthame mismatch cases a bit kcollect - Fix comments ahci - Add quirk for MCP73 AHCI Controller env(1) - Sync with FreeBSD printenv(1) - Sync with FreeBSD jail - Rework sysctl configuration variables jail - Remove MPLOCK rc: Adjust rc.d/jail for the new changes jail.8 - Adjust manpage for the new changes dhcpcd: Fix buildworld mtree: Fix installworld rc: Rename jail's rc default variables share/mk: Install bsd.crunchgen.mk libc/getaddrinfo: Accept numeric servname for AF_INET/AF_INET6 kernel: Fix a problem with shutdown(8) kernel: Merge crinit() into crget() kernel: Don't use atomic for cr_ref in crget() kernel: debug_64bit must be uint64_t <sys/sysctl.h>: Add runtime interface macros for BIT32/BIT64 sysctl.9: Document the new BIT32/BIT64 functionality. jail: Simplify a bit by using the new BIT64 sysctl functions <sys/priv.h>: Add filesystem specific constants <sys/mount.h>: Add mnt_cred field <sys/jail.h>: Add nullfs, devfs and tmpfs filesystem privs jail: Allow jails to mount nullfs(5) and tmpfs(5) jail: Use M_PRISON for sysctl allocation mount_devfs.8: Adjust fstab example to include the mount type. libfetch: Fix buffer overflow (CVE-2020-7450) Eitan Adler (2): bsd-family-tree: add several new releases [fish] require the user have the card they ask for François Tigeot (100): drm/linux: Fix schedule_timeout() drm/linux: Add LIST_HEAD_INIT() drm/linux: Rework wait queues drm/linux: Restore wait_event*() functionality drm/linux: Add io_schedule_timeout() drm/radeon: Upgrade to Linux 3.19.8 drm/radeon: Switch to Linux i2c APIs drm/linux: Fix a NULL pointer dereference in signal_pending_state() drm/linux: Add flush_delayed_work() drm: Start using flush_delayed_work() drm/linux: Add dmi_match() drm/linux: Add struct i2c_board_info and i2c_new_device() drm: Improve linux/pci.h drm: Remove no longer required iic code and dependencies drm/radeon: Update to Linux 4.4.180 drm/linux: Import linux/kfifo.h from NetBSD drm/linux: Port kfifo.h to DragonFly drm/linux: Add DEFINE_SPINLOCK() drm/linux: Add pci_name() kernel: Enable more generic drm code drm/linux: Implement more idr routines Build: Bump __DragonFly_version to 500703 drm/linux: Add X86_FEATURE_HYPERVISOR drm: Partially sync drm_ioctl() with Linux 4.7.10 drm/radeon: Disable acceleration on evergreen drm/linux: down_read() acquiress a shared lock drm/radeon: Update to Linux 4.7.10 drm/radeon: Use mm->mmap_sem drm/linux: Move vm_area_struct definition to the right header drm/ttm: Partially sync the vm fault code with Linux Partial revert of "drm: Partially sync drm_ioctl() with Linux 4.7.10" drm: Enable drm_pcie_get_max_link_width() drm: Make it clear CONFIG_GENERIC_ATOMIC64 is not set on x86 drm/linux: Add kstrtol() drm/radeon: Correct FIRMWARE_BONAIRE definition drm/linux: Add atomic64_inc_return() drm: Rename struct drm_file.master to .is_master drm: Remove mentions of i915kms and radeonkms drm/linux: Add vmalloc_to_page() drm/linux: Align Linux memory allocations to cache lines drm/linux: Make fence contexts 64 bit drm: Switch ktime_t to its post-Linux 4.10 definition drm/linux: Add DEFINE_RATELIMIT_STATE() drm: Remove most system headers from linux/list.h drm/linux: Only define GFP_KERNEL once drm/linux: Rework wait_event_xxx() macros devfs: Add a vnode pointer argument to dev_dopen() drm: Update generic, ttm and radeon code to Linux 4.9 drm/radeon: Disable acceleration on si drm/radeon: Use an amdgpu firmware file name with cik hardware drm/linux: Add arch_io_reserve_memtype_wc and arch_io_free_memtype_wc() drm: Fix debug messages issues introduced by the Linux 4.9 update drm/linux: Add some hrtimer.h functions drm: Sync device initialization code with Linux drm/radeon: Be explicit about disabled acceleration drm/linux: pfn_to_page() returns a struct page* drm/linux: Add pci_map_rom() and pci_unmap_rom() drm: Add linux/smp.h drm/linux: Stop using driver softcs for dev_set/get_drvdata() drm: Stop using an embedded struct drm_device in driver softcs drm/i915: Update to Linux commit 1f15b76f1ec973d1eb5d21b6d98b21aebb9025f1 drm/i915: Update PCI IDs from Linux 5.4 drm/i915: Revert unintended changes in i915_params.c drm/i915: Fix VGA_SWITCHEROO option handling drm/linux: Fix io_mapping() functions drm: Improve sysfs implementation drm: Protect vmmap_list with lockmgr locks drm: Protect iomap_list with lockmgr locks drm: Protect irq_list with lockmgr locks drm/linux: Add wait_for_completion() drm/linux: Add a few linux/sched functions drm/linux: Add Linux kthread functions drm/i915: Update to Linux commit b224c4dc70cdd5f42d24a7057148c6ace90e4f4e drm/linux: Add or improve some wait_queue functions drm/linux: Add some sysfs stub functions drm/linux: Add schedule_timeout_uninterruptible() drm/i915: Update to Linux 4.8.17 drm/i915: Disable GUC support again on Kabylake GPUs drm/linux: Add pci_alloc_consistent() drm/radeon: Use pci_alloc_consistent() drm: Remove the gen-drm_pciids script drm/linux: Add pci_free_consistent() drm/linux: Add readX() memory-mapped IO functions drm/radeon: Use Linux memory-mapped IO functions drm: Replace all Linux spinlocks by lockmgr locks drm: Fix lockinit() calls in previous commit drm: Improve drm_can_sleep() drm/linux: fix a bug in DEFINE_WAIT() libm: Bring in sincos, sincosf, and sincosl from OpenBSD drm/linux: Implement outb() drm/linux: Add framebuffer_alloc() and framebuffer_release() drm/linux: Rework wait_event_xxx and finish_wait functions drm: Use the Linux version of DRM_WAIT_ON() drm/linux: Fix DEFINE_SPINLOCK() drm/linux: Add jiffies_to_nsecs() drm/linux: Improve linux/fence.h drm/linux: Improve linux/bug.h drm/linux: Add boot_cpu_data drm/linux: Add drain_workqueue() drm/i915: Update base driver to 20160725 Jan Sucan (2): fw_stub.awk: fix processing of values for the options when separated by space fw_stub.awk: correct usage message Justin C. Sherrill (1): 5.9 setup Matthew Dillon (282): kernel - Fix gdb / tracing libdevstat - Fix a bug in DS_SELECT_REMOVE iostat - Fix column count bug kernel - Fix SMAP/SMEP caught user mode access part 1/2. kernel - Fix SMAP/SMEP caught user mode access part 2/2. libkvm - Increase ksw_devname from [32] to [64] libkvm - Increase static buffer for devname() drm - Fix system lockup bug in signal_pending_state() Revert "sshd(8): Add USE_PAM handling defaults." sshd - Change options defaults to be more secure kernel - Change fill_kinfo_lwp() and fix top kernel - Move trap_is_smap() test outside of DDB condition kernel - Fix pmap placemarker timing race build - Allow buildworld to run from a 4.9 base kernel - Increase elf limits kernel - Change tcp keepalive options from ms to seconds (DISRUPTIVE) man - Adjust tcp(4) for API change build - Bump __DragonFly_version to 500702 in master kernel - Change tcp keepalive options from ms to seconds (DISRUPTIVE) (2) kernel - Add TPS balancing mode to scsi_da (da* disks) ahci - Enforce 10-second poll of chipset docs - Update shm_open(3) manual page kernel - VM rework part 21 - Fix excessive paging to swap bug pthreads - Use mmap() for thread->specific data kernel - Fix lwp_tid ranging error who - Fix buffer termination sshd - Make sshd use utmpx / wtmpx kernel - Zen 2 - Make sure %fs's selector is loaded in AP bootstrap kcollect - Add hostname to .db file kcollect - Add hostname to .db file (2) kernel - Fix panic related to USB cd kernel - Fix rare NFS deadlock world - Change entropy file location debug - Adjust vmpageinfo world - Change entropy file location (2) kernel - Replace kmalloc_cachealign() with kmalloc(... M_CACHEALIGN) build - Update pkg-static to version 03, bootstrap https vknetd - Use the auto-clone /dev/tap device if_tap/if_tun - Remove pre-created devices if_tap - set pid reporting with FIOSETOWN too vknetd - Isue FIOSETOWN to set pid for tap interface build - Adjust _CMSG_ALIGN() for compatibility kernel - Enable busmaster on bridges (BIOS might not) kernel - Add quirks for CORSAIR STRAFE_RGB keyboard hammer2 - Reorder errno priority for unlink directory errors kernel - Add SIOCGIFALIAS telnet - Apply FreeBSD-SA-19:12.telnet.asc to telnet ahci - sili - Reduce insertion delay from 10 seconds to 5 rtld - Support static TLS bindings for late-loaded shared libraries rtld - Support static TLS bindings for late-loaded shared libraries (2) kernel - Fix SMP races in raw socket code kernel - Fix race in sys_shmmat() dsynth - Initial commit (unhooked from buildworld) dsynth - Fleshout functions dsynth - Misc/stabilization dsynth - Reap processes more generally in the poll loop dsynth - Misc work dsynth - Get skips working, etc dsynth - Optimize pty use dsynth - Stabilization kernel - merge m_pulldown() bug fix kernel - Rejigger midistat functions to close a race kernel - Fix dangling ref on fifo vnode dsynth - Improve DynamicMaxWorkers dsynth - Add manual page, change configuration directory, more dsynth - Fix waitpid() bug, revamp phase poll loop dsynth - Add #define for compression algo, default to .tgz dsynth - Stabilization kernel - Fix devfs bitmap races for pty and other devices dphase - Stabilization dphase - Stabilization dsynth - Add IGNORE/BROKEN dsynth - Add IGNORE handling dsynth - Add logfile tracking on the ncurses display dsynth - Add color dsynth - Add Dynamic memory load management dsynth - Stabilization dsynth - Add a pkgi depth calculation dsynth - Fix templating bugs, flesh out environment and make.conf dsynth - Reduce number of pre-installed pkgs in worker dsynth - Fix VersionName (UNAME_v) dsynth - pty CRs, readelf, better log formatting dsynth - Use foreground color instead of background color dsynth - Report phase on failure dsynth - Unbreak ncurses coloring dsynth - More pkg dependency fixes dsynth - Account for extraction size drm - Refactor task_struct and implement mm_struct dsynth - Do not count DUMMY nodes in the total dsynth - Stabilization, improve compatibility kcollect - Remove system calls from graph kernel - Fix devfs bitmap races for pty and other devices (2) dsynth - Fix master/slave pty race on fork() dsynth - Add missing env vars for dports scan dsynth - Implement 'test' and 'force', conditional /usr/src, etc dsynth - Cleanup dsynth - Fix bug in pty interlock handshake dsynth - Make rebuild-repository work again dsynth - Abstract the run-status infrastructure dsynth - Add hook_* support dsynth - Add hook_* support (2) Remove 'register' qualifier dsynth - Add more make.conf variables world - More ABI breakage world - Add dsynth to the build dsynth - Fix repository generation kernel - Add needed ccfence and more error checks tmpfs - Close rare vnode recycle race nfs - Fix utimes() bugs in NFS kernel - Fix improper use of CMSG_ALIGN() in unp_internalize() vkernel - Add MD_PAGE_FREEABLE() dummy macro dsynth - Check template change / worker count change dsynth - add 'dsynth monitor' directive dsynth - Dump final summary to the 00 log as well dsynth - Allow the package suffix to be configured hammer2 - add 'volhdr' directive to dump volume header hammer2 - Optimize hammer2 support threads and dispatch installworld - Generate /etc/os-release hammer2 - Fix pfs-delete panic kernel - Enhance krateprintf() API hammer2 - Add emergency mode to allow recovery of ENOSPC edge cases kernel - Fix lockfz wait state pf - Fix a few edge cases when the state table gets big pf - Increase default state table limit dsynth - Allow empty env variable assignment pthreads - Bypass third-party allocators for internal allocations dsynth - Enhance FAILURE log message dsynth - Conditionalize use of check-plist stage dsynth - Add ARCH make var to bulk scan dsynth - Change default compression from .tgz to .txz kernel - Deal with obsolete/misused SID_Sync flag in CAM virtio - Fix LUN scan issue w/ Google Cloud kernel - Add additional SI_ORDER_* flags kernel - Use SI_ORDER_THIRD for CAM peripheral modules. virtio - SI_ORDER_FIRST -> SI_ORDER_EARLIER dsynth - Improve 'debug' target, fix "x\n" in logs kernel - sigblockall()/sigunblockall() support (per thread shared page) libc - Implement sigblockall() and sigunblockall() libc - make strtok() thread-safe vmstat - Increase buffer for vmstat -m kernel - Repurpose td_tracker acpi - Catch infinite parser recursions kernele - lpmap work - split lwp_fork() into lwp_fork1() and lwp_fork2() libc - Implement sigblockall() and sigunblockall() (2) libc - Implement sigblockall() and sigunblockall() (3) kernel and libc - Reimplement lwp_setname*() using /dev/lpmap docs - Add manual page for sigblockall() and sigunblockall() pthreads - Fix incorrect fork assumption kernel - Fix first-lwp access race vs process creation dsynth - Use STRICT_DEPENDS instead of NO_DEPENDS cpuctl - Implement close() properly for /dev/cpuctl* kernel - Add lwp_getname() system call world - Add support for lwp_getname() and pthread_get_name_np() dsynth - Go back to NO_DEPENDS, with conditions build - Add build-all and install-all targets kernel - Update AMD chipset drivers for watchdog and smbus ig4 - Relabel as generic Designware I2c, add IDs hammer2 - Finally fix the 'file winds up with some zeros' bug dsynth - Properly set __MAKE_CONF for pkglist scan kernel - Fix race in VFS_MPLOCK/VFS_MPUNLOCK (affects UFS) kernel - Augment lwkt_reltoken() assertions dsynth - Set pty cols and finally fix ^M in handshake dsynth - Parse flavors on command line, parse text file dsynth - Fix 'debug' mode dsynth - Fix /var/mail uid/gid/perms in template libc - nmalloc clean part 1 libc - nmalloc clean part 2 libc - nmalloc clean part 3 tmpfs - Make tmpfs_move_pages() more robust dsynth - Add profile selection options dsynth - Adjust directive tests dsynth - Document -p profile option dsynth - Fix mktemplate bug when no keys in /etc/ssh kernel - Add SYSCTL_BIT32(n) and BIT64(n) support sysctl - Add support for CTLTYPE_BIT32 and BIT64 tools - Generate valid embedded newlines in strings devfs - Ensure lock held around devfs_cdev_terminate() devfs - Ensure lock held around devfs_cdev_terminate() (2) kernel - Warn on duplicate physical addresses passed from BIOS dsynth - Conditionalize .txz -> other_compression_fmt for pkg repo hammer2 - Rename 'bcopy' variable to 'bsave' hammer2 - Fix chain->error case in hammer2_chain_lookup() psm - Add Elantech touchpad IC type 15 found on Thinkpad L480 laptops dsynth - Improve compatibility with newer pkg's docs - Add note about powerd and serial port operation sio - Refactor some of the sio code du - Add an option to generate results based on file size kernel - Improve pmap_change_attr() when used on the DMAP kernel - Test pending ints in more crit_exit*() paths kern.pre.mk: Add back some Makefile code to fix VKERNEL64 (2) kernel - Refactor malloc_type to reduce static data in image kernel - Optimize nlookup() a bit more kernel - Clean up minor kernel memory leak leave - Allow up to 99 in the minutes field in + mode rtld-elf - Fix ancient C code rtld - Remove 'register' keyword kernel - Fix rman_make_alignment_flags() libkvm - Minor fix to debugging code kernel - Clean up minor kernel memory leak (2) dsynth - ignore cumulative errors for flavor dummy nodes dsynth - flavor hangs off separator, not tag dsynth - Fix bug in pkglist depend scan kernel - Fix vm.swap_size sysctl dsynth - Abort on certain probe errors during pkglist scan dsynth - Exit if command-line port specifications are mangled iwm - Full sync from FreeBSD dsynth - Delete obsolete packages for 'dsynth everything' dsynth - Don't prompt on purge-distfiles if no files to delete kernel - Update taskq code drm - Fix workqueue bugs w/recent drm pushes libc - Adopt more linux-friendly basename() and dirname() dsynth - Enhance purge-distfiles directive cpdup - Bump version, add usec timestamp precision kernel - Change default vfs timestamp precision sec -> usec kernel - Fix bug in malloc_reinit_ncpus() vmstat - Fix vmstat -m output libkvm - Fix minidump page table processing vmstat - Add verbose for -m vmstat - Pull ncpus from kmem/core-image dsynth - Remove /etc/localtime from template kernel - Fix ip6_setpktoptions() panic dsynth - Fix prepare-system directive hammer2 - Update manual page psm - Fix memory corruption and panic in psm driver libkvm - Fix 'ps' and 'fstat' on kernel cores installer - Change default /build size kernel - Cleanup unused / redundant code kernel - Reduce mpipe overhead kernel - Fix indefinite wait buffer bug with encrypted disks kernel - Fix missing lock in devfs libc - Check for invalid context in setcontext() and swapcontext() lockmgr - Fix bug in lockmgr() cancel path dsynth - Hack elfinfo note output a bit kernel - Document UPREQ and EXREQ cases better hammer2 - Fix inode & chain limits, improve flush pipeline. kernel - Add __realpath() and getrandom() system calls libc - Update for realpath() system call support kernel - Add __realpath() and getrandom() system calls (2) kernel - Rejigger random number generator to be per-cpu 1/2 kernel - Rejigger random number generator to be per-cpu 2/2 libc - Update for realpath() system call support (2) libc - Update manual page for realpath(3) and add page for __realpath(2) kernel - Make writing to /dev/urandom (to add entropy) faster kernel - Fix usb crash on detach dsynth - Add HTML support dsynth - Add HTML support (2) drm - Remove some of the linux_sched debugging kernel - Clean up memory leaks and a stack buffer disclosure bug kernel - Add cpu ident bit ADMSKX (address mask extensions) kernel - Warn/assert on broken ACPI MADT tmpfs - Cycle through buffer cache when pageout daemon is running kernel - Improve pageout daemon pipelining. dsynth - Improve auto SlowStart a bit dsynth - Adjust load calculations vmstat - Adjust format slightly dsynth - Add one more column for 'Lines' kernel - Require pages to be PQ_ACTIVE for quick vm_page soft refs kernel - Adjust vm.pageout_memuse_mode kernel - Improve vm_page_try_to_cache() kernel - Add B_TTC flag (buffer cache try-to-cache flag) tmpfs - Flush and recycle pages quickly during heavy paging activity kernel - Add vm.pageout_allow_active sysctl tmpfs - Improve write clustering vmstat - Change re, pi, po and fr from counts to bytes kernel - Improve tmpfs support kernel - Reduce excessive rdrand harvesting kernel - Offset the stathz systimer by 50% of the hz timer pctrack - Fix symbol table scan kernel - Add more dtypes to sys/dtype.h rdrand - Document massive improvement in performance kernel - Start work on a better burst page-fault mechanic dsynth - return max_load to 5.0x, reduce PkgDepMemoryTarget kernel - Increase size of the vm_page hash table kernel - Rejigger mount code to add vfs_flags in struct vfsops devfs - Clean up some SMP inefficiencies kernel - Recode the namecache mount transition cache kernel - Fix rare wait*() deadlock kernel - Reduce SMP contention during low-memory stress dsynth - Adjust 'Limit' display in upper right-hand corner kernel - Micro optimization for vnode exclusive lock kernel - Micro-optimization, only set v_lastwrite_ts for regular files kernel - Microoptimization, avoid dirtying vm_page_hash entry Peeter Must (1): drm: Pass CRTC ID in userspace vblank events Roy Marples (66): Test commit socket: introduce SO_RERROR to detect receive buffer overflow Document ENOBUFS error in read(2) and recv(2). net/if: introduce if_bylla to find an interface by hardware address inet6: discard NA messages with a lladdress we own route: Add support for route(4) message filtering. inet6: emit RTM_NEWADDR messages on address flag changes. bump version for prior inet6: Take route reference before announcing address route: Remove ref counting around rt_newaddrmsg(). Import dhcpcd-8.0.4 to vendor branch. dhcpcd: Add README.DRAGONFLY dhcpcd: Import new config.h dhcpcd: Adjust Makefile for dhcpcd-8.0.4 dhcpcd: Remove left over patches. sbin/route: Add support for SO_RERROR and log errors for monitor sbin/route: Add support for printing RTM_IEEE80211 messages sbin/route: Add support for printing link state from RTM_IFINFO sbin/route: Improve display of socket errors route: ensure RTM_IFINFO is sent first when bring interface down/up ieee80211: set link state before notifying of link state change route: Seperate route messages from creation/lookup. Import openresolv-3.9.2 to vendor branch. openresolv: Update README resolvconf: We need the onestatus argument openresolv: correct README inet: Don't mark cloned route as RTF_REJECT on RTM_MISS inet: return EHOSTDOWN if we cannot resolve an address in time route: Don't install a cloned route when interface is down sys/net: Add dom_if_up and dom_if_down sys/net: Call in6_if_up from the domain rather than directly route: introduce rt_purgecloned inet: hookup in_if_down with rt_purgecloned inet: hookup in6_if_down with rt_purgecloned inet: unhook and remove rip_ctlinput net/if_gre: unhook rip_ctlinput sys/net: Rename if_route_dispatch to if_up_dispatch rc.d/dhcpcd: Start before netif inet6: Introduce nd6_resolve, the mirror of arpresolve inet6: Restore ND6_LLINFO_WAITDELETE build: Adjust _CMSG_ALIGN() for portability route(4): Add ifam_pid and ifam_addrflags to ifa_msghdr getifaddrs(3): Add ifa_addrflags to struct ifaddrs dhcpcd(8): Add HAVE_IFADDRS_ADDRFLAGS to config.h build: define CMSG_ALIGN using __ALIGNBYTES route: Remove ifam_pid for the time being. inet6: Ensure that icmp6_error checks mbuf is for IPv6 dhcpcd(8): define HAVE_IFAM_ADDRFLAGS Import dhcpcd-8.0.6 with the following changes: Update README network: Don't report deletion of cloned routes Import dhcpcd-8.1.0 to vendor branch with the following changes: dhcpcd: Update README.DRAGONFLY Import dhcpcd-8.1.1 with the following changes: inet6: Support the ioctl SIOCSIFINFO_IN6 Import dhcpcd-8.1.2 contrib/dhcpcd - update README inet: Add support for IPv4 /31 prefixes, as described in RFC 3021. Import dhcpcd-8.1.3 with the following changes: dhcpcd: Update README.DRAGONFLY Import dhcpcd-8.1.4 with the following change: dhcpcd: Update README.DRAGONFLY route: constify sockaddr_print route: make INET6 addrs human readable with sockaddr_print route(4): add RO_MISSFILTER socket option. inet6: report RTM_MISS when probing a known address fails Sascha Wildner (377): <sys/param.h>: Fix _DragonFly_version. libc/pwcache: Remove some old RCS related stuff. libc: Add missing #include "un-namespace.h" in a few files. mtree: Indent with spaces. <sys/signal.h>: Adjust the type of stack_t's ss_sp from char * to void *. Use some standard type names better. Update the pciconf(8) database. Shorten some paths in various Makefiles. Nuke timed(8) (and timedc(8)). It is no longer used for time setting. kernel: Add whitespace between fw_stub.awk flags and their arguments. bsd-family-tree: Sync with FreeBSD (add NetBSD 8.1 and DragonFly 5.6). kernel: Use correct variable for debug.acpi.ec.timeout_backoff tunable. kernel/acpi_ec: Document sysctls better. kernel: Add NO_SYSCTL_DESCR option to exclude sysctl descriptions. axe.4: Add back rgephy(4) reference. Fix two typos in manual pages. bsd-family-tree: Sync with FreeBSD (add DragonFly 5.6.1). Add some missing whitespace/linefeeds in a few manpages. dhcpcd.8/tcplay.8: Whitespace fixes. dhcpcd.conf.5/swapon.8: Fix some typos. kernel/genassym: Remove some unneeded assyms. ftpd.8: Adjust for recent opie(4) removal. Test commit. mmap.2: Improve markup. isa.4: Remove obsolete reference. Remove .Ud in some manual pages. shm_open.3: Some miscellaneous cleanup. <sys/signal.h>: Adjust a number of struct member types to POSIX. <sys/conf.h>: Move SPECNAMELEN to <sys/param.h>. init(8): Put utmp/wtmp specific code under SUPPORT_UTMP. libc: Remove an unneeded .PATH. libc: Build inet/, isc/, and nameser/ from their subdirectories. Sync zoneinfo database with tzdata2019b from ftp://ftp.iana.org/tz/releases reboot(8): Log to wtmpx too. libutil/logwtmpx: Remove unneeded #include <utmp.h>. last(1): Switch the default to /var/log/wtmpx. last.1: Fix .Dd Sync ACPICA with Intel's version 20190703. Make va_*() macros available to the kernel in <sys/stdarg.h>. pfctl(8): -DPFDEBUG can be used too now for pfctl(8). kernel/drm: Use va_*() instead of __va_*(), just like upstream. ACPICA: Remove unneeded __va_*() definitions, include <sys/stdarg.h>. kernel/hammer2: Use <sys/stdarg.h> in the kernel, not <stdarg.h>. kernel/netgraph7: Remove unneeded __va_*() definitions. kernel/netgraph7: Fix build. i386 removal, part 73/x: Remove the ancient nextboot(8) command. last(1): Fix typo in an error msg. date(1): Log to wtmpx too. telnetd(8): Add wtmpx support and clean up a bit. Remove a few unneeded inclusions of <utmp.h>. telnetd(8): Little followup fix to 0ba3ecdcefa6c94daf. Update the pciconf(8) database. <signal.h> has to and does provide pid_t, so we can also use it. Remove rdate(8). hier.7: Mention /var/run/shm. Fix up recent entropy file commits. who/utmpentry: Remove duplicate include and sort better. boot/stand.h: Remove zipfs_fsops extern. libldns: Remove local copy of ldns.h. kernel/drm: Various cleanups. printf.3: .Fa -> .Dv libcrypto: Remove two no longer needed .PATHs. libefivar: Remove unused PACKAGE from Makefile. kmalloc.9: Mention M_CACHEALIGN. <sys/buf2.h>: Remove a number of unneeded #include's. <vfs/hammer2/hammer2.h>: Fix buildworld after 120385e8e4086a3b. etc/Makefile: Better handle removal of /var/db/entropy as a file. kernel/vga: Remove unneeded opt_*.h inclusions. bsd.cpu.gcc80.mk: Sync with GCC 8.3.0 documentation. Add missing <sys/filio.h> inclusion to vknetd(8). Fixes buildworld. Remove <machine/inttypes.h> from a number of files that don't need it. kernel: Clean up a bit after the recent tap/tun changes. sail(6): Sync with NetBSD. kernel/drm: Add print_hex_buffer() and use it. kernel/ixgbe: Use __restrict instead of restrict like everywhere else. FWIW, fix systags.sh. <sys/copyright.h>: Remove a K&R leftover; use just spaces instead of /**/. dbopen.3: Mention O_CLOEXEC. <uchar.h>: Define char16_t and char32_t better. <sys/stdint.h>: Remove obsolete typedefs for __wctrans_t and __wctype.h. reboot(8): Fix argument order in logwtmpx(). <machine/stdint.h>: Use __GNUC_PREREQ__() for a __GNUC__ check. libc/utmpx: Fix updwtmpx() across newsyslog rotation of /var/log/wtmpx. <machine/stdint.h>: Move __offsetof() to <sys/cdefs.h>. kdump(1): Remove an unneeded include path in the Makefile. kernel: Fix the _KERNEL/_KERNEL_STRUCTURES checks w/ error msg a bit. Update the pciconf(8) database. last(1): Fix braces. init(8): Pass waitpid() status to clear_session_logs() and log to wtmpx. <utmpx.h>: Some small updates. libc/utmpx: Some updates from NetBSD. setutxdb(3): Constify the file name argument. Sync utmp_update(8) with NetBSD. env(1)/printenv(1): Bump .Dd, remove (void) casts. who/utmpentry: Clean up a bit. cdefs.h/libm: Add __sym_{compat,default}() helper macros and use in libm. sbin/Makefile: Sort SUBDIR. ftpd(8): No need to specify WFORMAT=0 explicitly in the Makefile. newfs_msdos.8: Re-fix typo. :) <sys/cdefs.h>: Add a macro to control ISO/IEC TR 24731-1 visibility. libc: Add gets_s(3) from ISO/IEC TR 24731-1. libc: Add getutxuser() (adapted from FreeBSD). date(1): Switch to utmpx. Drop utmp support. last(1): Switch to utmpx. Drop utmp support. last(1): Fix wrong shutdown/reboot reporting. lastlogin(8): Switch to utmpx. Drop utmp support. init(8): Switch to utmpx. Drop utmp support. w(1): Switch to utmpx. Drop utmp support. telnetd(8): Switch to utmpx. Drop utmp support. pam_lastlog(8): Switch to utmpx. Drop utmp support. reboot(8): Switch to utmpx. Drop utmp support. csh(1): Drop utmp support. sshd(8): Drop utmp support. comsat(8): Sync with FreeBSD, i.e. switch to utmpx. Drop utmp support. rpc.rusersd(8): Sync with FreeBSD, i.e. switch to utmpx. Drop utmp support. who(1)/finger(1): Move to utmpx. Drop utmp support. ppp(8): Add utmpx support from FreeBSD. Drop utmp support. rwhod(8): Add utmpx support from FreeBSD. Drop utmp support. ftpd(8): Add utmpx support from FreeBSD. Drop utmp support. ac(8): Sync with FreeBSD, i.e. switch to utmpx. Drop utmp support. Remove the legacy "utmp" API, now that our utils have been moved to utmpx. Retire the utmp specific ttyslot() function, like FreeBSD did. Add a wtmpcvt(1) utility from FreeBSD to convert wtmp -> wtmpx. telnetd(8): Fix a warning and bump WARNS to 5. Adjust numerous manual pages, scripts and Makefiles for the utmp removal. at.1: Bump date. kern/pty: Fix comment to not name utmpx as reason for MAXPTYS == 1000. libc: Change psignal()'s signum argument from unsigned int to int. libc/psignal: Minor sync with FreeBSD to adjust to int signum. msgctl.2: Fix structure member name. shmctl.2: Refer to <sys/ipc.h> for the ipc_perm structure. utmpx.5: Fix .Xr pam_lastlog.8: Fix .Xr's synth.1: Fix some typos/markup. getifaddrs.3: Fix .Dd libc/string: Sort MLINKS <stdlib.h>: Fix typedef guard. libc/string: Add memset_s(3). ssh: Declare that we have memset_s(). dsynth(1): Fix 'make install' with $DESTDIR set. dsynth(1): Fix DPADD situation in the Makefile. boot/efi: Sync our TianoCore EDK II headers with the edk2-stable201908 tag. Update the pciconf(8) database. wtmpcvt.1: Fix a path and use .Mt for email addresses. dsynth.1: Ada is the name of a person, not an acronym. openresolv: The pdns_recursor manual page is in section 1, not 8. make_autoclone_dev.9: Fix for return value of devfs_clone_bitmap_set(). libc/nsdispatch: Use libc_dlopen(). showmount(8): Staticize and fix an unnecessary enum -> int cast. dsynth.1: Fix document title. hier.7: Mention /usr/share/dsynth. <sys/time.h>: Add 3rd arg to timespecadd()/sub() and make them public. dsynth(1): Change script perms to 644. install(1) handles final ones. dsynth(1): Some minor fixes / cleanup. Remove Theory. Available via https://data.iana.org/time-zones/theory.html Sync zoneinfo database with tzdata2019c from ftp://ftp.iana.org/tz/releases sort(1): Remove duplicate option check. fsck_msdosfs(8): Add missing free()s. nmalloc(3): Add missing #include "namespace.h" and adjust. Some cleanup regarding the removal of the old clang 3.8 framework. kprintf.9: Adjust for return value of krateprintf(). hammer2.8: Fix some mdoc and other issues. Fix two comments (in trek and the installer): whereever -> wherever. Fix immutable flag handling in our mtree(8) invocations. <sys/stat.h>: Rename two unused flags to names that we use elsewhere. Generate a fresh /etc/os-release on each installworld. <string.h>: Put memset_s() prototype inside __{BEGIN,END}_DECLS(). prop_bool.3: Don't use defined type names as variable names. kdump/mksubr: Improve a bit. libc/tls: Remove some code that has been #if 0'd since 2005. {i915,radeon}kms.4: Really clean up the manual page naming situation. openssh: Adjust README.DRAGONFLY for recent pam_ssh removal. corepower(4): Fix some Intel microarchitecture names in the comments. corepower(4): Add Coffee Lake support (numbers look reasonable at least). <machine/specialreg.h>: Fix whitespace. corepower(4): Fix comments based on the Intel SDM. libc/utmp{,x}: Add some __unused. libc/__errno_location: Fix indent. zic(8): Avoid -Wstringop-truncation warning. zic/zdump: Clean up Makefiles (remove unneeded stuff). kernel/libc: Use CTL_SYSCTL_* names instead of magic numbers. world/kernel: Use the howmany() macro in various places. fsck(8): Remove useless POWEROF2() macro. world/kernel: Use the powerof2() macro in various places. Clean up the namespace of <mqueue.h> a bit. Update the pciconf(8) database. libusb/libz: Install *.pc files (for dports) using FILES and FILESDIR. libz/savecore: Move the local zopen() from libz to savecore(8). Update zlib from 1.2.8 to 1.2.11 on the vendor branch. Adjust local files for the zlib upgrade. zlib: Adjust README.DRAGONFLY a bit more. zlib: Add commented out line to Makefile for debug build. libpcap: Add scanner.h to CLEANFILES. fsid/calendar: Clean up #includes a bit. libpcap: Remove unused -DYYBISON. rrenumd(8): Check if YYDEBUG is really 1. yacc(1): Remove unused define from the Makefile. sysctl(8): Sync manual page and usage() with getopt(). Fix some typos: enought -> enough fsck_hammer2.8: Sort SEE ALSO. mq_open.2: Add <sys/types.h> in the SYNOPSIS for mode_t. kernel/hammer2: Remove -DSMP from Makefile. It is no longer needed. <signal.h>/<sys/signal.h>: Fix whitespace. <signal.h>: Clean up the POSIX namespace a bit. <math.h>: Reduce namespace pollution. <sys/signal.h>: Some more whitespace fixes. world/kernel: Use the roundup2() macro in various places. world/kernel: Use the rounddown() macro in various places. world/kernel: Use the rounddown2() macro in various places. world/kernel: Use the {set,clr}bit() and is{set,clr}() macros a bit more. libc: Fix buildworld. dsynth.1: Fix wording (reported by noob237). getifaddrs.3: Fix macro (.PP -> .Pp). Fix wrong dates in several manual pages. libc: Use NULL for pointers. usr.bin/usr.sbin: Use NULL for pointers. sail(6): Use NULL for pointers. kernel/syscons: Add missing lwkt_reltoken() in some error paths. boot/efi: Use NULL for a pointer. usb: Use NULL for pointers. Use NULL for pointers in tools/usbtest too (forgotten in last commit). test/cocci: Improve a bit. <sys/_termios.h>: FWIW, add 460800 and 921600 baud rate defines. <pthread.h>: Fix typo: __restict -> __restrict. <termios.h>: Add TABDLY, TAB0 and TAB3 to satisfy POSIX a bit better. <termios.h>: #define MDMBUF as an alias for CCAR_OFLOW. routed(8): Use NULL for a pointer. libipfw3: Use NULL for a pointer. libtelnet: Use NULL for a pointer. Remove checknr(1) which stopped being useful a long time ago. Remove nextboot remains. termios.4: Add a bit more info about TABDLY, TAB0, and TAB3. libthread_xu: Remove local versions of 3 parameter timespec{add,sub}(). file(1): Fix CVE-2019-18218. <sys/msgport.h>: Add <sys/types.h> for boolean_t (kernel only). #include <sys/cdefs.h> in a number of headers that use macros from it. Remove OPIE remains. Makefile_upgrade.inc: Sort a bit. useful_macros.cocci: Improve a bit. libc: Fix up two Symbol.map's a bit. Use our standard bool type in a few places. libc: Remove _nmalloc_thr_init from Symbol.map again. Makefile_upgrade.inc: Remove redundant entry. Revert "sys/vfs/msdosfs: Correct _PC_FILESIZEBITS value" kernel/vga_switcheroo: Remove duplicate include of <sys/sysctl.h>. calendar(1): Remove a useless extern. libmagic: Sort MAGFILES before creating /usr/share/misc/magic. dsynth(1): Fix a couple of typos. sigblockall.3/sigprocmask.2: Various small fixes/markup improvements. Move libc_r's tests to a more generic location. test/libpthread: Clean up a bit. Remove the old libc_r. libc: Add more namespace.h/un-namespace.h. sail(6): Comment out a double assignment. <sys/wait.h>: Remove duplicate include. Update the pciconf(8) database. Add <sys/_siginfo.h> to provide the definitions of siginfo_t and sigval. <sys/wait.h>: Provide and use siginfo_t and union sigval. syscalls.master: Remove some trailing whitespace. <signal.h>/<sys/_siginfo.h>: Some fixes after my recent commits. <xlocale/_string.h>: Mention that we are missing strerror_l(). <string.h>: Clean up the namespace. boggle(6): Include <time.h> for time_t. libc/citrus: Include <sys/types.h> for int*_t etc. types. <langinfo.h>/<nl_types.h>: Clean up the POSIX namespace. <unistd.h>: Move pipe2() into __BSD_VISIBLE. <unistd.h>: Mark/add some missing functions. <unistd.h>: Move setpgrp() to __BSD_VISIBLE. mount_autofs.8: Fix missing .El <sys/snoop.h>: Fix typos in comments. Remove some unneeded \& from manual pages. hier.7: Adjust for the recent removals in /usr/include. <sys/types.h>: Fix comment. kernel: Remove no longer used vfinddev() function. <time.h>: Fix C++17 visibility of timespec_get(). mined(1): Fix -Wundef. stat(1): Fix -Wundef. from(1): Fix -Wundef. mtree(8): Fix -Wundef. install(1): Fix -Wundef. dhcpcd(8): Fix -Wundef. adventure(6): Fix -Wundef. truss(1): Fix -Wundef. ldconfig(8): Fix -Wundef. rwhod(8): Fix -Wundef. boot1/edk2: Fix -Wundef. bthcid(8): Fix -Wundef. sshd(8): Fix -Wundef. <stdlib.h>: Check if __cplusplus is defined before checking its value. Fix -Wundef in bzip2, libpcap, mdocml, and ncurses. larn(6): Fix -Wundef. m4(1): Fix -Wundef. tar(1): Fix -Wundef. <sys/types.h>: Get rid of udev_t. Rename some functions to better names. <sys/stat.h>: Fix odd indentation. <sys/stat.h>: Add S_TYPEISSEM() and S_TYPEISSHM() definitions. libc: Change getlogin_r()'s second argument to size_t, as POSIX likes it. sort.1: Mention that -o's argument can be one of the input files. libutil: Bring in a fparseln() bugfix from NetBSD. libc: Fix some -Wmissing-prototypes warnings. kernel/getsockaddr: Remove a COMPAT_43 removal leftover. <sys/stdarg.h>: Check if __cplusplus is defined before checking its value. <sys/cdefs.h>: Ensure that __{BSD,EXT1}_VISIBLE are never undefined. <cpu/ieeefp.h>: Just include <sys/cdefs.h> instead of complaining. getconf(1): Support NPROCESSORS_* too in addition to _NPROCESSORS_*. Remove wrong getvfsbytype.3 MLINK. The manpage doesn't document it. kernel/acpi: Fix debug.acpi.allow_method_calls functionality. kernel: Remove various (mostly commented out) references to vnode_if.[ch]. kern.{post,pre}.mk: Clean up a bit. kern.pre.mk: Add back some Makefile code to fix VKERNEL64. <sys/types.h>: Add some *_T_DECLARED guards for upcoming work. kern.pre.mk: Remove obsolete comment. Remove <sys/ata.h> in 'make distribution', too. login.conf: Don't dump /COPYRIGHT on users' screens when logging in. <machine/acpica_machdep.h>: Remove unused defines. boot/efi: Sync our TianoCore EDK II headers with the edk2-stable201911 tag. <machine/acpi_machdep.h>: More cleanup. <machine/acpica_machdep.h>: Adjust more whitespace. <machine/acpica_machdep.h>: Sigh another w/s fix. boot/edk2: Fix a -Wundef warning. boot/efi: Handle ACPI_USE_SYSTEM_INTTYPES definition in the Makefile. ACPICA: Fix including acpi.h when building standalone code. boot/loader: Fix -Wundef warnings in the legacy and UEFI loaders. Remove mrouted(8) and the associated utilities from our tree. Bump copyrights. Happy 2020!! Fix compiling iwm(4) into the kernel. <sys/resource.h>: Clean up visibility of defines, and other fixes. basename.3/dirname.3: Adjust for recent commits. <time.h>: Check strptime()'s format argument with __strftimelike. <sys/procctl.h>: Sync idtype_t comments with <sys/wait.h>. libc: Improve nslexer.c generation using FLAGS_GROUPS. Sync ACPICA with Intel's version 20200110 (coming from 20190703). yacc(1): Define GCC_PRINTFLIKE in the Makefile. Makefile.inc1: Add a missing '@' before an 'echo'. <sys/syslimits.h>: FWIW, use __GNUC_PREREQ__(). iasl(8): Remove -d from YFLAGS, it is default. rrenumd(8): Clean up the Makefile a bit wrt yacc(1) handling. Import flex-2.6.4 to the vendor branch. Local changes for the flex upgrade. pflogd(8): Fix a duplicate prototype and raise WARNS to 6. ifmcstat(8): Fix a -Wshadow and raise WARNS to 6. mtest(8): Fix two -Wunused-parameter warnings and raise WARNS to 6. libutil: Fix some weird indentation. kernel/ntfs: Fix lockinit() flags. rc.d/root: Fix return code that I broke in November. kernel/vga: Sort I/O port addresses in vgareg.h. phantasia(6)/dsynth(1): Add two missing DPADD definitions. kernel/atkbdc: Remove some dead code. daemon(8): Sync with FreeBSD. Some ports need options we didn't have. boot/pxe: Fix some typos in comments and (unused, as it seems) type names. vkernel: Include <sys/malloc.h> for malloc_reinit_ncpus() prototype. getrandom.2: Comment out reference to getentropy.3 and fix date. rman.9: Fix rman_make_alignment_flags() prototype. sysctl.9/sysctl_add_oid.9: Add missing BIT32 and BIT64 MLINKS. iso639: Fix some descriptions (from upstream). getrandom.2: Use .Dv for defines. kernel/iwm: Add back support for IWM_DEBUG (default is inactive). etc/defaults/rc.conf: Remove some leftovers from the mrouted(8) removal. hammer2.8: Fix typo. kernel/drm: Add missing opt_ddb.h to the Makefiles. kernel/vga_switcheroo: Add missing opt_ddb.h to the Makefile. kernel/apple_gmux: Add missing opt_ddb.h to the Makefile and sort. installer: Silence a kenv(1) warning. route(4): Remove a leftover closing brace. <sys/ttydefaults.h>: Add some includes for self-sufficiency. <sys/ttydefaults.h>: Sync up with FreeBSD, mainly for r179567. sincos.3: Add missing MLINKS. Import sincos() and friends directly to the vendor branch. libm: Remove sincos() and friends from lib/libm. Really sync <math.h> with OpenBSD on the vendor branch. flock.2: Document the correct header (<fcntl.h>) for flock(). wait.2: Fix markup and comment out some references. Sync ACPICA with Intel's version 20200214. Use our new partition id (0x6c) in several more places. Use <fcntl.h> instead of <sys/file.h> for open()'s prototype and flags. Stop passing "-s labels" to vnconfig(4). Sepherosa Ziehau (6): net/raw: Assert all APIs are called from netisr0. kevent: Leading white space. acpi/pstate: Be lenient about the invalid PPC. taskqueue: Fix TASKQUEUE_DEFINE_THREAD sound/hda: Use driver specific taskqueue, instead of per-cpu taskqueue taskqueue: Fix the order of TASKQUEUE_DEFINE_THREAD Tomohiro Kusumi (339): sys/vfs/hammer2: Drop obsolete comments on attr_tid/dirent_tid sys/vfs/hammer2: Minor cleanup sys/vfs/hammer2: Fix comments on HAMMER2_FREEMAP_LEVEL*_RADIX sbin/newfs_hammer2: Drop obsolete comment on inode sys/vfs/hammer2: Add XXX for obsolete comments on hardlink sbin/hammer2: Minor fix usr.sbin/fstyp: Add -l option support for HAMMER2 sbin/hammer2: Update printinode sbin/hammer2: Add missing inode fields (0x0084-) for printinode usr.sbin/fstyp: Minor fix for HAMMER2 sbin/hammer2: Add missing info for "show" sbin/mount_hammer2: Fix perror(3) message sys/vfs/hammer2: Update ascii-art/comments in hammer2_disk.h sbin/hammer2: Introduce HAMMER2_SHOW_TAB for "show" sys/vfs/hammer2: Use HAMMER2_BREF_TYPE_EMPTY for blockref type 0 sys/vfs/hammer2: Drop unused hammer2_chain::flush_node sys/vfs/hammer2: Drop unused CHAIN_CORE_DELETE_BMAP_ENTRIES sys/vfs/hammer2: Fix function name in panic() calls sys/vfs/hammer2: Test bref type HAMMER2_BREF_TYPE_EMPTY instead 0 sys/vfs/hammer2: Drop obsolete comments on chain sys/vfs/hammer2: Drop redundant ; in H2XOPDESCRIPTOR() sys/vfs/hammer2: Fix indentation sys/vfs/hammer2: Fix comments on inode lock on truncation sys/vfs/hammer2: Use MAXBSIZE for getblk() size limit sys/vfs/hammer2: Cleanup unused bp/nbio's in strategy sbin/newfs_hammer2: Drop unused GIG sbin/newfs_hammer2: Fix usage() output sbin/newfs_hammer2: Whitespace cleanups sbin/hammer2: Remove unnecessary { ... } scope sbin/hammer2: Don't test uuid on "info"/"mountall" if uuid is 0 sbin/newfs_hammer2: Drop -Isbin/hammer2 in Makefile sys/vfs/hammer2: Use HAMMER2_FREEMAP_LEVEL1_SIZE sys/vfs/hammer2: Drop unused inline function hammer2_freemapradix() sys/vfs/hammer2: Move duplicated macros H2FM*() to hammer2_disk.h sys/vfs/hammer2: Drop redundant H2FMSHIFT() macro sys/vfs/hammer2: Use HAMMER2_FREEMAP_LEVEL1_MASK sbin/hammer2: Fix root blockref type in "freemap" sbin/hammer2: Add -q mode (no blockref data) for "show"/"freemap" sbin/hammer2: Whitespace cleanups/etc for cmd_debug.c sbin/hammer2: Remove unused local variable sbin/hammer2: Refactor show_bref() sbin/hammer2: Print bcount(>0) for all blockrefs in "show"/"freemap" sbin/hammer2: Print rotation# (0-7) in "freemap" sbin/hammer2: Simplify bitmap offset calculation in "freemap" sys/vfs/hammer2: Drop obsolete comment on chain allocation sbin/*_hammer2: Fix/cleanup Makefile sbin/mount_hammer2: Include <errno.h> for errno sbin/newfs_hammer2: Make ascii-art a bit more descriptive sbin/newfs_hammer2: Zero clear boot/aux area sbin/newfs_hammer2: Eliminate (an only)tab in result output sbin/mount_hammer2: Fix usage() output sbin/hammer2: Fix hammer2(8) and usage() sbin/hammer2: Align usage() output sbin/hammer2: Add missing usage() exit for "destroy"/"destroy-inum" usr.sbin/fstyp: Fix compile warning on Linux distros sbin/hammer2: Fix compile warning on Linux distros lib/libdmsg: Fix compile warning on Linux distros sbin/hammer2: Minor fix in man sbin/hammer2: Fix remaining type warnings on Linux distros sbin/hammer2: Use hammer2_time64_to_str() in "printinode" sbin/hammer2: Use hammer2_uuid_to_str() instead of uuid_to_string() sbin/hammer2: Don't assume pthread_t is a pointer sbin/hammer2: Introduce hammer2_media_config::thread_started sys/vfs/msdosfs: Whitespace cleanups sys/vfs/msdosfs: Cleanups sys/vfs/msdosfs: Cleanups sys/vfs/msdosfs: Add mprintf() sys/vfs/msdosfs: Cleanups lib/libdmsg: Fix compile warnings on Linux distros lib/libdmsg: Fix compile warnings on Linux distros lib/libc: Whitespace fix sbin/hammer2: Remove unused if0'd malloc/free wrappers sys/vfs/msdosfs: Add description for fatblock() sys/vfs/msdosfs: Drop redundant msdosfsmount::pm_fatsize sys/vfs/msdosfs: u_int*_t -> uint*_t sys/vfs/msdosfs: Cleanups sys/vfs/msdosfs: Sync with FreeBSD (non functional diffs) sbin/newfs_msdos: Bring in FreeBSD/Git 902f77041b477be4d9d99608b463be01ac7611ea sys/vfs/msdosfs: Bring back EXBOOTSIG2 (unbreak lib/libfsid build) sbin/newfs_msdos: Bring in FreeBSD/Git 47266d91, b25a2bc0 sbin/newfs_msdos: Sync newfs_msdos.8 with FreeBSD sbin/newfs_msdos: Bring in -A/-T options from FreeBSD sbin/mount_msdos: Whitespace cleanups sbin/mount_msdos: Bring in FreeBSD/Git 7e476e89 sbin/mount_msdos: Bring in FreeBSD/Git 0c5ae3a9 (add -M option) sbin/fsck_msdosfs: Whitespace cleanups sbin/fsck_msdosfs: u_int*_t -> uint*_t sbin/fsck_msdosfs: Bring in FreeBSD/Git 9502e5ba (fix fullpath()) sbin/fsck_msdosfs: Bring in FreeBSD/Git f2e7bd69 (remove unused extern) sbin/fsck_msdosfs: Bring in FreeBSD/Git 10a5b874 (fix -F comment) sbin/fsck_msdosfs: Bring in FreeBSD/Git 41a4c010 (use calloc(3)) sbin/fsck_msdosfs: Bring in FreeBSD/Git 0d367b12 (fix LFN check) sbin/fsck_msdosfs: Bring in FreeBSD/Git 66dd3f2b (don't cast malloc(3)) sbin/hammer2: Use libkern instead of sbin/hammer2/icrc.c sbin/hammer2: Move hammer2_demon() to cmd_service.c sbin/newfs_hammer2: Use sbin/hammer2/subs.c sbin/fsck_msdosfs: Bring in freebsd/freebsd@1bb580c8 (rename struct fields) sbin/fsck_msdosfs: Bring in freebsd/freebsd@ce3384ad (bsdl changes from NetBSD) sbin/fsck_msdosfs: Bring in freebsd/freebsd@d704245c (s/perror/perr/) sbin/fsck_msdosfs: Bring in freebsd/freebsd@cbe11b37 (add \n) sbin/fsck_msdosfs: Bring in freebsd/freebsd@95647bc8 (fix ask()) sbin/fsck_msdosfs: Bring in freebsd/freebsd@07ebfe1b (add va_end()) sbin/fsck_msdosfs: Bring in freebsd/freebsd@136be466 (s/filesystem/file system/) sbin/fsck_msdosfs: Bring in freebsd/freebsd@c4e91f79 (cleanup) sbin/fsck_msdosfs: Bring in freebsd/freebsd@437a93c1 (test ./.. for dir dirents) sbin/fsck_msdosfs: Bring in freebsd/freebsd@53d879fa (mix of unrelated changes...) sbin/fsck_msdosfs: Bring in freebsd/freebsd@39c1449b (fix prompts) sbin/fsck_msdosfs: Bring in freebsd/freebsd@ce102225 (respect FSFIXFAT) sbin/fsck_msdosfs: Minor fixes/sync with FreeBSD sbin/fsck_msdosfs: Bring in freebsd/freebsd@4438d719 (boot block) sbin/fsck_msdosfs: Bring in freebsd/freebsd@f7ba4b24 (assertion) sbin/fsck_msdosfs: Bring in freebsd/freebsd@9503e2d6 (distinguish lseek) sbin/fsck_msdosfs: Bring in freebsd/freebsd@375de295 (fixes from other BSDs) sbin/fsck_msdosfs: Bring in freebsd/freebsd@89f9bddc (properly restore lfcl) sbin/fsck_msdosfs: Bring in freebsd/freebsd@e2cfe252 (optimize memsets) sbin/fsck_msdosfs: Bring in freebsd/freebsd@3b04951c (use MAX()) sbin/fsck_msdosfs: Bring in freebsd/freebsd@9d029ca4 (fix build) sbin/fsck_msdosfs: Bring in freebsd/freebsd@7a3e0d6f (fix readboot() check) sbin/fsck_msdosfs: Bring in freebsd/freebsd@3bf7697a (prevent OOB access when corrupted) sbin/fsck_msdosfs: Bring in freebsd/freebsd@55bd3d12 (fix index) sbin/fsck_msdosfs: Bring in freebsd/freebsd@f4323232 (style(9)) sbin/fsck_msdosfs: Bring in freebsd/freebsd@915380d5 (preen flag) sbin/fsck_msdosfs: Bring in freebsd/freebsd@7716a7c6 (be permissive) sbin/fsck_msdosfs: Bring in freebsd/freebsd@853a3e49 (fix cluster chain check) sbin/fsck_msdosfs: u_int32_t -> uint32_t sbin/hammer2: Remove dofreemap argument from show_bref() sbin/hammer2: Add assertion for freemap index in "show" sys/vfs/hammer2: Cleanup freemap index calculation sys/vfs/hammer2: hammer2_chain_t is unneeded for dummy blockref sbin/hammer2: Fix CountFreeBlocks() sbin/hammer2: Use appropriate macros and typedefs in CountFreeBlocks() sbin/hammer2: Show freemap stats for all bitmap states sbin/hammer2: Don't show 0 freemap stats in quiet mode sbin/hammer2: Explicitly clear stats in each show/freemap run sbin/hammer2: Use SEEK_SET sbin/fsck_hammer2: Add initial fsck support for HAMMER2 sbin/fsck_hammer2: Fix read(2) retvals to use ssize_t sbin/hammer2: Implement HAMMER2_CHECK_SHA192 case in "show" sbin/fsck_hammer2: Make blockref error message more verbose sys/vfs/msdosfs: Minimize diff vs FreeBSD sys/vfs/msdosfs: b*() -> mem*() (sync with FreeBSD mostly) sys/kern: Bring in timespec2fattime()/fattime2timespec() from FreeBSD sys/vfs/msdosfs: Use timespec2fattime()/fattime2timespec() usr.sbin/autofs: Add DOLLAR usr.sbin/autofs: Fix segfault that could occur on "automount -LL" usr.sbin/autofs: Change autounmountd(8) to use time_t for duration instead of double sys/vfs/msdosfs: Whitespace fixes (minimize diff noises against FreeBSD) sys/vfs/msdosfs: Reduce size of struct defid lib/libdmsg: Use libkern instead of lib/libdmsg/icrc.c sbin/hammer2: Sync checksum format in "show"/"freemap" with aa2131f062 sbin/hammer2: Add "volhdr" to man sbin/hammer2: Minor adjustments for "volhdr" sbin/hammer2: Add sbin/hammer2/hammer2_subs.h sbin/hammer2: Align usage output for "emergency-mode-disable" sbin/hammer2: Use hammer2_uuid_to_str() sys/vfs/msdosfs: msdos_iconv -> msdosfs_iconv (minimize diff noises) sys/vfs/hammer2: Use correct typedef for uint64_t for inode# sys/vfs/msdosfs: Extend fatcache size for extend write performance sys/vfs/msdosfs: Fix wrong memcpy(3) usage sys/vfs/msdosfs: Mount msdosfs with longnames support by default sys/vfs/msdosfs: Remove unused find_lcode() sys/vfs/msdosfs: Remove unused global statistic about fat cache usage sys/vfs/msdosfs: Add assertions for FAT bitmap state sys/vfs/msdosfs: Assert mount is not read-only when FAT modifications requested sbin/hammer2: Assert bytes > 0 for inode/indirect in "show"/"freemap" sbin/hammer2: Use old "show"/"freemap" format for -q sbin/fsck_hammer2: Add -p and -l option for per PFS scan sbin/fsck_hammer2: Fix return value on -f sbin/fsck_hammer2: Print blockref stats once if -q sbin/fsck_hammer2: Refactor verify_blockref() sys/vfs/msdosfs: Fix build break on LINT64 by 411df81600 sys/vfs/msdosfs: Fix loading msdos_iconv.ko sbin/fsck_hammer2: Test icrc_volheader in verify_volume_header() sys/vfs/msdosfs: Add FULL_RUN for (u_int)-1 sys/vfs/msdosfs: Use FSInfo instead of random# on cluster allocation sys/vfs/msdosfs: Avoid excessive flushing of FSInfo hints in updatefats() sys/vfs/msdosfs: Fixes for undefined behavior sys/vfs/msdosfs: Discarding local array based on return values sys/vfs/msdosfs: Use __DECONST() sys/vfs/msdosfs: Prevent buffer overflow when expanding win95 names sys/vfs/msdosfs: Long names of files are created incorrectly sys/vfs/msdosfs: Remove diff noises vs FreeBSD from iconv support sys/vfs/msdosfs: Use struct dirent sys/vfs/msdosfs: ANSIfy sys/fs/msdosfs sys/vfs/msdosfs: Add clusteralloc1() sys/vfs/msdosfs: Clear cluster bitmap on chainalloc() failure sys/vfs/msdosfs: Properly update ClnShutBitMask in FAT[1] in updatefats() sys/vfs/msdosfs: Verify BPB_Media value in FAT[0] in fillinusemap() sys/vfs/msdosfs: Style sys/vfs/msdosfs: Ensure cluster allocation is within volume limits sys/vfs/msdosfs: Change the return on impossible condition into KASSERT() sys/vfs/msdosfs: Invalid filesystem might brelse(bp) with NULL sys/vfs/msdosfs: Fix panic on corrupted fs in pcbmap() sbin/fsck_hammer2: Add -b to only scan best zone sbin/fsck_hammer2: Refactor zone/blockref scanning sbin/fsck_hammer2: More refactoring usr.sbin/fstyp: Support HAMMER2 PFS label and @name syntax usr.sbin/fstyp: Retry fopen(3) if failed sys/vfs/msdosfs: usemap_free() after fatentry() sys/vfs/msdosfs: Add markvoldirty() sys/vfs/msdosfs: Rename xcntobn() back to cntobn() sys/vfs/msdosfs: Remove redundant macro xcntodoff() sys/vfs/msdosfs: Rename de_bntodoff() to de_bn2doff() sys/vfs/msdosfs: FSInfo size handling is completely wrong sys/vfs/msdosfs: Don't rely on FSInfo for next free cluster# sys/vfs/msdosfs: Use vfs_timestamp() sys/vfs/msdosfs: vrecycle() vnode with SLOT_EMPTY sys/vfs/msdosfs: Remove unused msdosfs_args::magic sys/vfs/msdosfs: Use vop_stdpathconf() sys/vfs/msdosfs: Rename DOS_FILESIZE_MAX -> MSDOSFS_FILESIZE_MAX sys/vfs/msdosfs: Spelling fixes sys/vfs/msdosfs: Use howmany() sys/vfs/msdosfs: Fix a serious off by 1 for cluster bitmap sys/vfs/msdosfs: Fix detrunc() twice sys/vfs/msdosfs: Sync a comment on cdev_t with FreeBSD sys/vfs/msdosfs: Style bugs sys/vfs/msdosfs: Sync comments on cluster macros with FreeBSD usr.sbin/fstyp: Add XXX comments on HAMMER1/2 label sbin/hammer2: Minor "show"/"freemap" output format fix sbin/hammer2: Print dirent name length in "show" sbin/fsck_hammer2: Print blockref data on failure if possible sbin/fsck_hammer2: Add destroy.c to destroy ondisk inode/dirent sbin/fsck_hammer2: Print indirect blockref data on failure if possible sbin/fsck_hammer2: Make destroy.c support embedded dirent name sbin/fsck_hammer2: Rollback if second write failed on destroying dirent sbin/hammer2: Add 'B' to sizetostr() result when < 1024/2 sbin/fsck_hammer2: Correctly count HAMMER2_BREF_TYPE_EMPTY blockrefs sbin/hammer2: Add hammer2_breftype_to_str() sbin/fsck_hammer2: Use memmove(3) for overlapping regions sbin/fsck_hammer2: Add reconstruct.c to force reconstruct filesystem sbin/fsck_hammer2: Make destroy.c update dirent blockref key sbin/fsck_hammer2: Minor fixes on syscall retvals sys/vfs/msdosfs: Add nop MSDOSFS_LOCK_MP() sys/vfs/msdosfs: Drop nonexistent msdosfs_mountroot() prototype sbin/newfs_hammer2: Remove "m:" from getopt(3) sbin/hammer2: Fix error message format sbin/hammer2: #if0 unused structs sbin/fsck_hammer2: Add -e to count empty blockrefs sbin/fsck_hammer2: Allow -l to take multiple PFS names sbin/fsck_hammer2: Minor fix/cleanup sys/kern: Add init_va_filerev() sys/vfs/msdosfs: Fix FAT32 dotdot dirent corruption sys/vfs/msdosfs: Rewrite msdosfs_readdir() sys/vfs/msdosfs: Avoid loop after bread() sys/vfs/msdosfs: Don't set DE_ACCESS on read if readonly mount sys/vfs/msdosfs: uniqdosname() assumes 12 bytes char[] sbin/fsck_hammer2: Sort PFS names to scan on -p sbin/fsck_hammer2: Fix copying unterminated ondisk string sbin/fsck_hammer2: Fix invalid free(3) of PFS names sys/vfs/msdosfs: Don't sync update on msdosfs_setattr() sys/vfs/msdosfs: Fix style bugs sys/vfs/msdosfs: Fix comments in msdosfs_setattr() sys/vfs/msdosfs: msdosfs_read()/msdosfs_write() fixes Revert "world/kernel: Use the roundup2() macro in various places." sys/vfs/msdosfs: Remove VREG/VDIR support from msdosfs_mknod() sys/vfs/msdosfs: Fix comment on symlink sys/vfs/msdosfs: Remove obsolete comment sys/vfs/msdosfs: Remove confusing code on cluster# sys/vfs/msdosfs: Remove DragonFly specific macro de_off2bn() sys/vfs/msdosfs: Remove DragonFly specific macro de_off2cn() sys/vfs/msdosfs: Drop redundant ->uio_offset limit check sbin/fsck_hammer2: Fix build procedure comments usr.sbin/fstyp: Fix comparison against unterminated ondisk string sbin/fsck_hammer2: Add -c to cache subtree blockref stats for speed sbin/fsck_hammer2: Remove redundant hammer2_blockref_t in delta stats usr.sbin/fstyp: Fix warning on Linux distros sbin/hammer2: Test /dev/mampper for "info"/"mountall" targets sbin/hammer2: Add /dev/ad* and /dev/vn* to "info"/"mountall" targets sys/vfs/msdosfs: Sync debug prints with FreeBSD sys/vfs/msdosfs: Remove unrelated comment on rmdir sys/vfs/msdosfs: Remove seemingly unneeded unlock/relock of dvp sys/vfs/msdosfs: Improve fsync(2) behavior sys/vfs/msdosfs: Avoid "." corruption on rename(2) sys/vfs/msdosfs: Support async mount (delayed write) sys/vfs/msdosfs: Add/use DOINGASYNC() sys/vfs/msdosfs: Fix typo sys/vfs/msdosfs: Fix comments on corrupted fs sys/vfs/msdosfs: Remove BPB_TotSec16 test for FAT32 on mount(2) sys/vfs/msdosfs: Fix regression from cleanup commit 20241ea208 sys/vfs/msdosfs: Cleanup before implementing vfs clustering sys/vfs/msdosfs: Need to explicitly set bp to NULL sys/vfs/msdosfs: Support vfs clustering sys/vfs/msdosfs: Save/restore fatchain cache in VOP_BMAP() sys/vfs/msdosfs: Fix va_fileid casts sys/vfs: Use IO_SEQSHIFT sys/gnu/vfs/ext2fs: Use IO_SEQSHIFT sys/vfs/msdosfs: Include FAT headers via <vfs/msdosfs/...> sys/vfs/msdosfs: Don't use MSDOSFSMNT_WAITONFAT sys/vfs/msdosfs: Allow B_CLUSTEROK in deupdat() sys/vfs/msdosfs: Sync minor styles with FreeBSD sys/vfs/msdosfs: Return EBUSY on lookup on delete/rename of MSDOSFSROOT_OFS sys/vfs/msdosfs: Assume up to 8192 bytes sector for BPB sys/vfs/msdosfs: Remove seemingly unneeded mbnambuf code sys/vfs/msdosfs: Correct _PC_FILESIZEBITS value sys/vfs/msdosfs: Allow deupdat() against non root directory sys/vfs/msdosfs: Sync VFS lock assertion with FreeBSD sys/vfs/msdosfs: Fix comment on locking on rename(2) autofs: Change email address (sync with FUSE and others) sys/vfs/fuse: Add note to sys/vfs/fuse/fuse_abi.h sys/vfs/msdosfs: Unmount on update_mp() failure if !MNT_UPDATE sys/dev/disk/dm: Change email address (sync with autofs/FUSE and others) sys/vfs/msdosfs: Fix ->de_fndcnt calculation on lookup sbin/mount_autofs: Sync man page with NetBSD sys/vfs/autofs: Fix a comment on autofs_mount_info sys/vfs/autofs: Minor cleanup to sync with NetBSD sbin/mount_autofs: Add AUTHORS to man page usr.sbin/autofs: Add missing description for automountd option -T usr.sbin/fstyp: Rename HAMMER1/2 functions usr.sbin/fstyp: Remove XXX comment on HAMMER2 sys/vfs/msdosfs: Minor msdosfs_readdir() sync up with FreeBSD usr.sbin/fstyp: Add device name to HAMMER1 label for autofs -media mount usr.sbin/fstyp: Add device name to HAMMER2 label for autofs -media mount usr.sbin/fstyp: Expand LABEL_LEN to 512 usr.sbin/fstyp: Fix copying unterminated ondisk string usr.sbin/fstyp: Fix copyright sys/dev/disk/dm: Fix argc test for striped target sys/dev/disk/dm: Refactor dmioctl() usr.sbin/fstyp: Add HFS+ support usr.sbin/fstyp: Add APFS support usr.sbin/fstyp: Show exFAT volume labels with -l flag usr.sbin/fstyp: Use iconv(3) to convert NTFS vol labels correctly usr.sbin/fstyp: Make fstypes' precache_encoding const usr.sbin/fstyp: Add precache_encoding to fsvtypes[] usr.sbin/fstyp: Add HAS_DEVPATH for HAMMER1/2 support in FreeBSD/NetBSD usr.sbin/fstyp: Fix -Werror=maybe-uninitialized on NetBSD usr.sbin/fstyp: Remove Capsicum related code usr.sbin/fstyp: Cleanup hammer.c usr.sbin/fstyp: Fix -Werror=maybe-uninitialized on NetBSD usr.sbin/fstyp: Cleanup hammer2.c sbin/fsck_msdosfs: Avoid mixing cluster numbers and sector numbers sbin/fsck_msdosfs: Require FAT to occupy at least one sector sbin/fsck_msdosfs: Apply typo fix from FreeBSD from NetBSD sbin/fsck_msdosfs: Correct off-by-two issue when determining FAT type. usr.sbin/fstyp: Use strlcpy(3) for HAMMER1 usr.sbin/fstyp: Remove redundant best_i check in HAMMER2 sbin/fsck_msdosfs: Reduce memory footprint of fsck_msdosfs sbin/fsck_msdosfs: Document -M sbin/fsck_msdosfs: Tighten FAT checks and fix off-by-one error in corner case sbin/fsck_msdosfs: Diff reduction against FreeBSD against NetBSD zrj (201): world: Remove OPIE from base. lib: Update dependencies. world: Remove libmd from the base. kernel: Make <sys/md4.h> and <sys/md5.h> exclusive to kernel only. kernel: Separate md5 from userland. kernel: Unbundle libressl headers from src-sys.tar.bz2 Bump __DragonFly_version for libopie removal. openpam: Implement blacklist. <sys/jail.h>: Use forward declarations for private members. <sys/serialize.h>: Limit prototypes to kernel only. <machine/param.h>: Remove unused KSTACK_PAGES. platform/pc64: Remove unused pte_store() and pde_store(). kernel: Remove kvtop() remnant form early x86_64 port. <cpu/param.h>: Change visibility for several macros. <sys/device.h>: Disable some no longer used types. <sys/device.h>: Adjust userland visibility. <sys/dmsg.h>: Reduce userland namespace pollution. <sys/fnv_hash.h>: Remove unused fnv_64*() inline functions. <netinet/in_var.h>: Include sys/fnv_hash.h only for _KERNEL. <netinet/in_var.h>: Adjust visibility. libc: Add global __LIBC definition while building libc. libc/locale: Limit visibility in private headers for tools. lib: Remove no-op defines in CFLAGS for few libraries. libc: Remove a single use of vm_offset_t type. libdevattr: Remove not needed header include. <unistd.h>: Declare intptr_t as per X/Open. Nuke pam_ssh(8). It was moved to DPorts. lib: Update dependencies. Nuke pam_tacplus(8). Nuke pam_radius(8). Nuke libtacplus(3). ppp(8): Disable RADIUS support. Nuke libradius(3). Bump __DragonFly_version for libradius/libtacplus removal. ppp(8): Re-enable RADIUS support. libc: Add __errno_location() for language binding benefits. Nuke legacy non standard rune_t type. <runetype.h>: Convert __rune_t to internal typedef. <sys/types.h>: Eliminate __nl_item type. <sys/stdint.h>: Move out two MD types. <unistd.h>: Fix profil(2) prototype. world: Eliminate custom uintfptr_t/fptrdiff_t types. kernel: Make chflags syscalls argument types consistent with userland. kernel/isa: Bury the intrmask_t type. ppp(8): Remove references to libradius. Add <machine/alignbytes.h>. <sys/socket.h>: Use double underscore versions for types. restore(8): Add include to common header. <sys/types.h>: Move out NBBY definition to <sys/param.h>. tools/toeplitz: Provide NBBY fallback. calendar(1): Add missing include for MAXPATHLEN. nscd(8): Add missing include for timespec. libc/net: Add missing include for timespec. libfsid(3): Add missing include for <vfs/ufs/fs.h>. fsid(8): Add missing include for MAXPATHLEN. libtcplay: Adjust to use <sys/param.h> header. Revert "wpa_supplicant: Avoid cpp warning during buildworld." <sys/uio.h>: Cleanup namespace. kernel: Move M_IOV malloc definition to correct header. <sys/uio.h>: Extract kernel structures to a separate header. Cleanup <sys/uio.h> includes. libdmsg: Forward declare struct iovec for public prototypes. <sys/nlookup.h>: Style(9) adjustments. kernel: Cleanup <sys/uio.h> issues. kernel: Fix spurious M_IOV declarations. kernel: Move M_LWKTMSG declaration to <sys/msgport2.h>. <sys/dmsg.h>: Reduce userspace pollution a bit. <sys/event.h>: Make M_KQUEUE static. <sys/mpipe.h>: Mark as kernel only header. <sys/malloc.h>: Separate basic typedefs to _malloc.h hearder. kernel: Minor whitespace cleanup in few sources. <sys/slaballoc.h>: Switch to lighter <sys/_malloc.h> header. kernel: Remove not needed header includes in AIO stub. <sys/objcache.h>: Switch to lighter <sys/_malloc.h> header. <sys/sysref.h>: Switch to lighter <sys/_malloc.h> header. kernel: Minor whitespace cleanup in few sources (part 2). kernel: Remove explicit dependencies on <sys/malloc.h> in headers. kernel/vfs: Consistently check if MALLOC_DECLARE was defined. <sys/posix4.h>: Remove single use macros. <sys/idr.h>: Move implementation details to Linux compat layer. kernel/drm: Decouple from network headers. <sys/malloc.h>: Add comment about assumption in drm layer. <net/if_var.h>: Remove last explicit dependency on <sys/malloc.h>. fwcontrol(8): Remove <sys/malloc.h> include. vmstat(8): Remove no longer needed <sys/malloc.h> include. kernel/pc64: Move up include order in vmx.c. kernel/dm: Include <sys/param.h> first. kernel/hammer2: Make C_HASHTABLE static. <sys/malloc.h>: Reduce kmalloc() implicit requirements for NULL. <sys/malloc.h>: Reduce kmalloc() implicit requirements on <sys/systm.h>. <sys/malloc.h>: Avoid self referencing macros. kernel/drm: Yeet drm_free() inline. vkernel64: Reduce <pthread.h> exposure to generic kernel sources. pthread: Fix simple hello world c++ statically linked use cases. <wchar.h>: Refactor wchar_t/wint_t/mb_state setup. <ctype.h>: Internalize __ct_rune_t type. <wchar.h>: Implement correct limits for different wchar_t flavors. <stdint.h>: Remove C99 constant/limits guards for c++. <wchar.h>: Remove limits pollution. <stdint.h>: Move out ptrdiff_t type. Adjust headers for <machine/stdint.h> visibility. <machine/stdint.h>: Add two basic LP types. <machine/stdint.h>: Adjust basic types to be more generic. <sys/sem.h>: Use generic types. <sys/types.h>: Adjust visibility of segsz_t. <sys/types.h>: Declare register_t type directly. cpu/x64_64: Move MMU page table types back to <cpu/pmap.h>. platform/pc64: Remove unused PDESIZE/PTESIZE constants. Add <sys/cpumask.h>. <cpu/types.h>: Use basic LP types for vm_offset_t and vm_size_t. <sys/types.h>: Reduce vm_* types pollution in userland. sys/sglist.h: Mark as kernel only header. <vm/vm_zone.h>: Adjust visibility. <sys/systimer.h>: Do not inject boolean_t type into userland. <sys/types.h>: Make boolean_t kernel only type. <sys/kinfo.h>: Fix legacy inclusion issues. <sys/stdint.h>: Repurpose. kernel: Stop using <stdint.h> during kernel build. <sys/thread.h>: Mark several structs as kernel structures. world: Use <bus/cam/...> in userland. world: Use <vfs/FS/...> in userland. world: Remove legacy compat directory symlinks. <sys/gpt.h>: Use __offsetof(). <sys/cdefs.h>: Use __uintptr_t in casts. <sdp.h>: Include <stdint.h>. sys/boot: Define _STANDALONE while building. libstand: Switch to _STANDALONE handling. make(1): Decouple from libutil. phantasia(6): Fix monters file permissions. libexecinfo(3): Prevent use of uninitialized. libexecinfo(3): Mangle symtab_*() symbols. libexecinfo(3): Internalize libelf in symtab.c. Makefile.inc1: Disconnect libelf from the build. Remove few unused texi sources on gdb branch. kernel: Include syscons fonts in src-sys.tar.bz2 archive. kernel: Use relative paths for syscons fonts. kernel/kmod.mk: Do not hardcode awk path. bsd.cpu.mk: Allow externally override host binutils. Makefile.inc1: Remove id(1) from btools. Makefile: Use internal variable for setting PATH. share/terminfo: Use less generic variable name. share/zoneinfo: Do not hardcode zic(8) install flags. world: Introduce NO_INITRD option. world: Pass relative location of sys/ to newvers.sh as argument. lorder(1): Use POSIX defined flags for sort(1). localedef(1): Allow easier bootstrapping. libc/citrus: Include <stdint.h> explicitly. strfile(8): Include <stdint.h> explicitly. sh(1): Check for _DIRENT_HAVE_D_NAMLEN availability. patch(1): Check for _DIRENT_HAVE_D_NAMLEN availability. tail(1): Disable -f and -F (follow) functionality in btools. wc(1): Install signal handler only if SIGINFO is available. time(1): Install signal handle only if SIGINFO is available. time(1): Disable -l support in btools. dd(1): Allow to bootstrap on OpenBSD and glibc based systems. tr(1): Fix compilation on Linux hosts. xargs(1): Add limit for args_max. xargs(1): Disable prompt support (-p) in btools. env(1): Match glibc getopt() semantics. gdb(1): Explicitly include <stdint.h>. binutils227: Explicitly include <stdint.h> and add CROSS_LIBDL. gcc80: Make bootstrapping more permissive. world: Explicitly disable WERROR for hostprog and hostlib. tic(1): Explicitly disable WERROR in hostprog tic. make(1): Add OpenBSD support. <alloca.h>: Add comment for special handling case. hostprog: Remove NO_WERROR from btools tic. gcc80: Hide NO_WERROR in tools better. mtree(8): Disable -N option in btools. mtree(8): Add missing checks for HAVE_STRUCT_STAT_ST_FLAGS. install(1): Disable -N option in btools. install(1): Use at least 6 characters for template. install(1): Check for _ST_FLAGS_PRESENT_ availability. stat(1): Disable -H support in btools. m4(1): Add const attribute to __progname. gzip(1): Check for _ST_FLAGS_PRESENT_ availability. rm(1): Install signal handler only if SIGINFO is available. rm(1): Check for whiteout support. rm(1): Check for _ST_FLAGS_PRESENT_ availability. mv(1): Install signal handler only if SIGINFO is available. mv(1): Check for _ST_FLAGS_PRESENT_ availability. cp(1): Install signal handler only if SIGINFO is available. cp(1): Check for _ST_FLAGS_PRESENT_ availability. cp(1): Check for FTS_CONST just like mtree(8). find(1): Check for FTS_CONST just like mtree(8). find(1): Check for _ST_FLAGS_PRESENT_ availability. find(1): Reduce bootstrap locale specific requirements. find(1): Disable use of getvfsbyname(3) in btools. grep(1): Disable use of unlocked IO in btools. Makefile.inc1: Pass _SHLIBDIRPREFIX for btools too. gcc80: Unbreak ctools on OpenBSD. sys/boot: Unbreak efi build with WORLD_LDVER=ld.bfd. Initial import of binutils 2.34 on vendor branch binutils234: Add DF READMEs and local modifications. binutils234: Add build makefiles. binutils234: Add configs and pregenerated headers. binutils234: Add pregenerated manpages. binutils234: Hook to the buildworld as alternative set. binutils225: Unhook from the build. Retire the binutils-2.25. objformat(1): Remove incremental-dump handling. -- DragonFly BSD source repository