DragonFlyBSD/src cbaf7ddshare/man/man9 make_autoclone_dev.9

make_autoclone_dev.9: Fix for return value of devfs_clone_bitmap_set().

DragonFlyBSD/src 4f4fafdsys/netinet if_ether.c, sys/netinet6 nd6.c

network: Don't report deletion of cloned routes

ARP and ND6 expiration works around one big timer vs timers
per address. As such, when expiry happens a flood of RTM_DELETE
messages can easily overflow the route(4) socket.

Now that RTM_MISS is reported for any unresolvable address via
these protocols, the reporting of the address expiring or being
maually deleted becomes questionable for any use cases pertaining
to it.

If we do want to report this in the future, we should move to
per address timers rather than one big timer.

DragonFlyBSD/src cc38296contrib/openresolv resolvconf.conf.5.in

openresolv: The pdns_recursor manual page is in section 1, not 8.

Fixed upstream too and will just merge when we upgrade again.

DragonFlyBSD/src ea226b5sbin/hammer2 cmd_debug.c

sbin/hammer2: Explicitly clear stats in each show/freemap run

DragonFlyBSD/src db2a354sbin/hammer2 cmd_debug.c

sbin/hammer2: Don't show 0 freemap stats in quiet mode

Quiet mode has been ignoring freemap stats, so separate freemap
stats from data.
+24-101 files

DragonFlyBSD/src ce55074sbin/hammer2 cmd_debug.c

sbin/hammer2: Show freemap stats for all bitmap states

Add "Total possibly free storage" and "Total allocated storage"
stats which correspond to bitmap value of 2 and 3.

In addition to above, add "Total unavailable storage" (boot/aux/etc)
and "Total freemap storage". The total freemap storage value should
be sum of all others.

Note that unallocated or allocated stats represent space out of
freemap leaf that can be traversed from root, excluding space for
boot/aux/etc area. Not out of the entire device.
+42-181 files

DragonFlyBSD/src 22f08f8sbin/hammer2 cmd_debug.c

sbin/hammer2: Use appropriate macros and typedefs in CountFreeBlocks()
+13-121 files

DragonFlyBSD/src dfc6e32sbin/hammer2 cmd_debug.c

sbin/hammer2: Fix CountFreeBlocks()

Need to do 2 or 8 bit shift in each loop.

DragonFlyBSD/src 650b878usr.bin/dsynth dsynth.1

dsynth.1: Ada is the name of a person, not an acronym.

While here, start sentences on a new line and change 'cpu' to 'CPU',
because _that_ is an acronym. :)
+51-371 files

DragonFlyBSD/src 4749205usr.bin/wtmpcvt wtmpcvt.1

wtmpcvt.1: Fix a path and use .Mt for email addresses.

DragonFlyBSD/src cef11e5sys/vfs/hammer2 hammer2_freemap.c

sys/vfs/hammer2: Cleanup freemap index calculation

Freemap bitmaps (64KB x 5levels x 8rotations) exist in the first
4MB area of every 1GB, so bitmap offset mask should be 4MB-1 rather
than 1GB-1. It explicitly wants to clear bit 22-29.

This doesn't change the result since bref->data_off for freemap
itself has to have 0 for bit 22-29.

DragonFlyBSD/src 15ec687sys/vfs/hammer2 hammer2_chain.c

sys/vfs/hammer2: hammer2_chain_t is unneeded for dummy blockref

hammer2_chain_create_indirect() only needs hammer2_blockref_t
part of chain as a local variable. Do the same as hammer2_chain_create()
to save stack a bit.

DragonFlyBSD/src ae49546sbin/hammer2 cmd_debug.c

sbin/hammer2: Add assertion for freemap index in "show"

Test lower end of index.

DragonFlyBSD/src b7d3e10sys/platform/vkernel64/include pmap.h, sys/platform/vkernel64/platform init.c

vkernel - Add MD_PAGE_FREEABLE() dummy macro

* Add a dummy macro for MD_PAGE_FREEABLE() so the vkernel builds.

* Fix vkernel compile error due to st_blksize size change.

Reported-by: swildner

DragonFlyBSD/src 57054f8share/misc pci_vendors

Update the pciconf(8) database.

September 14, 2019 snapshot from https://pci-ids.ucw.cz
+131-221 files

DragonFlyBSD/src dc70901sbin/hammer2 cmd_debug.c

sbin/hammer2: Remove dofreemap argument from show_bref()

208afee512 removed `dofreemap` test from show_bref() by having
HAMMER2_BREF_TYPE_FREEMAP switch/case for blockref type,
so `dofreemap` is no longer needed in show_bref().

Blockref itself contains `dofreemap` information.

DragonFlyBSD/src 1369daasys/contrib/edk2/Include/Protocol PciIo.h GraphicsOutput.h, sys/contrib/edk2/Include/Uefi UefiInternalFormRepresentation.h UefiBaseType.h

boot/efi: Sync our TianoCore EDK II headers with the edk2-stable201908 tag.

Not much to see here. Mostly whitespace in comments.

DragonFlyBSD/src 5092d1dsys/kern uipc_usrreq.c

kernel - Fix improper use of CMSG_ALIGN() in unp_internalize()

* The data portion of a control message must be aligned, but the
  data length does not have to be (and in fact, should not be since
  it might represent an array of smaller elements and we do not
  want to calculate the wrong number of elements).

* Fixes chrome, xpdf, etc (sendmsg() calls were failing).

* Problem revealed after the CMSG alignment was upped from 4 to 8

DragonFlyBSD/src 8485042sbin/fsck_msdosfs dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 9d029ca4 (fix build)

DragonFlyBSD/src 8de429asbin/fsck_msdosfs fat.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 7716a7c6 (be permissive)

and freebsd/freebsd at 4216ffd6.

DragonFlyBSD/src 2a03164sbin/fsck_msdosfs fat.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 55bd3d12 (fix index)

DragonFlyBSD/src b56b442sbin/fsck_msdosfs dir.c dosfs.h

sbin/fsck_msdosfs: Bring in freebsd/freebsd at f4323232 (style(9))

DragonFlyBSD/src 62b6997sbin/fsck_msdosfs main.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 915380d5 (preen flag)

DragonFlyBSD/src 15d4e9csbin/fsck_msdosfs dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 3b04951c (use MAX())

and remaining bits from freebsd/freebsd at d704245c.

DragonFlyBSD/src 57f0a23sbin/fsck_msdosfs dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 3bf7697a (prevent OOB access when corrupted)

DragonFlyBSD/src 577f0ddsbin/fsck_msdosfs dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 853a3e49 (fix cluster chain check)

DragonFlyBSD/src dc5edbfsbin/fsck_msdosfs dosfs.h dir.c

sbin/fsck_msdosfs: u_int32_t -> uint32_t

DragonFlyBSD/src d14f0b1sbin/fsck_msdosfs check.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 7a3e0d6f (fix readboot() check)

DragonFlyBSD/src 7878e80sbin/fsck_msdosfs dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 89f9bddc (properly restore lfcl)

DragonFlyBSD/src a007229sbin/fsck_msdosfs dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at e2cfe252 (optimize memsets)

DragonFlyBSD/src 20abc04sbin/fsck_msdosfs boot.c dosfs.h

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 4438d719 (boot block)

Also bring in
freebsd/freebsd at d0f63ec230e612c0a7e95af6f95e401ddace4ac3
freebsd/freebsd at 37cb22f7f4cfc363dfe7e014ca1155275ac2e55c
freebsd/freebsd at d85e2bfb0863227627e47856cb9a556a8f42a7ad

DragonFlyBSD/src 7c3df54sbin/fsck_msdosfs dir.c fat.c

sbin/fsck_msdosfs: Minor fixes/sync with FreeBSD

DragonFlyBSD/src 448048fsbin/fsck_msdosfs fat.c dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 375de295 (fixes from other BSDs)

DragonFlyBSD/src 09fa6c1sbin/fsck_msdosfs dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 9503e2d6 (distinguish lseek)

DragonFlyBSD/src 6160dc9sbin/fsck_msdosfs ext.h check.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at ce102225 (respect FSFIXFAT)

DragonFlyBSD/src b47b3e8sbin/fsck_msdosfs fat.c boot.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 39c1449b (fix prompts)

DragonFlyBSD/src 49c5675sbin/fsck_msdosfs fat.c dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 53d879fa (mix of unrelated changes...)

DragonFlyBSD/src 5ba9daasbin/fsck_msdosfs dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at f7ba4b24 (assertion)

DragonFlyBSD/src c2c4c8asys/vfs/nfs nfs_vnops.c

nfs - Fix utimes() bugs in NFS

* Over the years I have tried very hard to avoid flushing pending writes
  when issuing [l]utimes() operations (i.e. setattr VOPs) in NFS, but
  it just causes issues every time.

* Give up.  We now flush pending writes prior to setattr() operations which
  adjust mtime.  This will slow down certain operations such as cp -Rp,
  cpdup, etc, but should improve the consistency and reliability of
+35-191 files

DragonFlyBSD/src f2a8e16sbin/fsck_msdosfs dir.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 437a93c1 (test ./.. for dir dirents)

Also bring in freebsd/freebsd at 76844b29.

DragonFlyBSD/src aae5112sbin/fsck_msdosfs boot.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at c4e91f79 (cleanup)

DragonFlyBSD/src 7cd72e2sbin/fsck_msdosfs fsck_msdosfs.8 fat.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 136be466 (s/filesystem/file system/)

DragonFlyBSD/src ac7aa9asbin/fsck_msdosfs main.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 07ebfe1b (add va_end())

DragonFlyBSD/src bd24285sbin/fsck_msdosfs main.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at 95647bc8 (fix ask())

DragonFlyBSD/src b92a848sbin/fsck_msdosfs check.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at cbe11b37 (add \n)

DragonFlyBSD/src 3c40521sbin/fsck fsutil.c fsutil.h, sbin/fsck_msdosfs dir.c fat.c

sbin/fsck_msdosfs: Bring in freebsd/freebsd at d704245c (s/perror/perr/)

Ignore most of sbin/fsck part (not in sync with FreeBSD at all).

DragonFlyBSD/src 89984f3sys/vfs/tmpfs tmpfs_subr.c tmpfs_vnops.c

tmpfs - Close rare vnode recycle race

* Keep the node lock held when clearing tn_vnode in tmpfs_reclaim()
  to protect against a use-after-free race on tn_vnode against another

* Keep the node locked across the node type check and vnode
  ref in tmpfs_unmount() to protect against asynchronous
  reclamation races.

DragonFlyBSD/src 0ad80e3sys/platform/pc64/include pmap.h, sys/platform/pc64/x86_64 pmap.c pmap_inval.c

kernel - Add needed ccfence and more error checks

* Add a cpu_ccfence() to PMAP_PAGE_BACKING_SCAN in order to prevent
  over-optimization of the ipte load by the compiler.

* Add machine-dependent assertion in the vm_page_free*() path to
  ensure that the page is not normally mapped at the time of the

DragonFlyBSD/src 1b60b4eusr.bin/dsynth Makefile

dsynth(1): Fix DPADD situation in the Makefile.

DragonFlyBSD/src 158d32cusr.bin/dsynth Makefile

dsynth(1): Fix 'make install' with $DESTDIR set.

Now that the creation of /usr/share/dsynth is in the mtree file
(see 652cecd95046a092589807c7eea9799b71530ca4) and given that dsynth
is hooked into the build too, we could remove the beforeinstall
target, but it might still be useful for people running release,
for example. So keep it instead and fix it for when $DESTDIR is set.