Aaron LI [Sun, 3 Mar 2019 12:27:17 +0000 (20:27 +0800)]
nrelease: Remove obsolete targets and update the help
The optional targets "installer" and "img" are obsolete and have no
effects, so just remove them.
Update the help text by adding the "nopkgs" optional target.
Aaron LI [Sun, 3 Mar 2019 07:32:08 +0000 (15:32 +0800)]
nrelease: Simplify by not handling multiple kernel configs
We don't ship multiple kernels for years, so we can get rid of handling
multiple kernel configs in nrelease/Makefile. This simplifies the
Makefile and also get rid of the hack of 'SUBDIR += nrelease' in
Makefile.inc1.
Note that users can still override 'KERNCONF' the same as 'buildkernel'.
Aaron LI [Sat, 2 Mar 2019 14:14:06 +0000 (22:14 +0800)]
nrelease: Replace ${NRLOBJDIR}/nrelease with a temp directory
The "${NRLOBJDIR}/nrelease" is only used once in the "buildiso" target,
and this directory doesn't really hold any files. So use a temporary
directory instead, which also makes the code cleaner.
Tomohiro Kusumi [Mon, 28 Oct 2019 15:24:05 +0000 (00:24 +0900)]
usr.sbin/fstyp: Fix comparison against unterminated ondisk string
Tomohiro Kusumi [Sun, 27 Oct 2019 16:12:17 +0000 (01:12 +0900)]
sbin/fsck_hammer2: Fix build procedure comments
François Tigeot [Sun, 27 Oct 2019 14:25:12 +0000 (15:25 +0100)]
drm/linux: Add DEFINE_RATELIMIT_STATE()
Obtained-from: OpenBSD
François Tigeot [Sun, 27 Oct 2019 14:08:46 +0000 (15:08 +0100)]
drm: Switch ktime_t to its post-Linux 4.10 definition
Sascha Wildner [Sat, 26 Oct 2019 22:10:42 +0000 (00:10 +0200)]
kernel/syscons: Add missing lwkt_reltoken() in some error paths.
François Tigeot [Sat, 26 Oct 2019 20:33:06 +0000 (22:33 +0200)]
drm/linux: Make fence contexts 64 bit
Sascha Wildner [Sat, 26 Oct 2019 20:16:40 +0000 (22:16 +0200)]
sail(6): Use NULL for pointers.
Sascha Wildner [Sat, 26 Oct 2019 20:02:00 +0000 (22:02 +0200)]
usr.bin/usr.sbin: Use NULL for pointers.
Sascha Wildner [Sat, 26 Oct 2019 19:31:24 +0000 (21:31 +0200)]
libc: Use NULL for pointers.
Matthew Dillon [Fri, 25 Oct 2019 23:12:06 +0000 (16:12 -0700)]
pf - Increase default state table limit
* Increase the default state table from 10000 entries to 50000
entries. Because 10000 is a crazy low value in modern times.
Matthew Dillon [Fri, 25 Oct 2019 22:57:16 +0000 (15:57 -0700)]
pf - Fix a few edge cases when the state table gets big
* Currently when the state table gets big the state timeout can
be reduced all the way to 0. This can totally mess up legitimate
connections.
Change the algorithm. First calculate a reduction in the timeout
from 0% to 100%, then claw-back up to 50% of the reduction based on
the number of packets impacting the state. This gives the system
the chance to reject bad state over good state or otherwise requires
an attacker to DOS the state table based on packet rate, which is
much harder to do.
* When sloppy state tracking is specified use a timeout of
PFTM_TCP_FIRST_PACKET instead of PFTM_TCP_ESTABLISHED for any tcp
state that has only received SYN or SYN+ACK packets. That is, do not
use the full PFTM_TCP_ESTABLISHED timeout until some data actually flows.
This reduces state bloat from redirect traffic where PF might see SYN
or SYN+ACK and then never sees a packet again while in SLOPPY mode.
Tomohiro Kusumi [Fri, 25 Oct 2019 15:44:29 +0000 (00:44 +0900)]
sys/vfs/msdosfs: Drop redundant ->uio_offset limit check
Tomohiro Kusumi [Fri, 25 Oct 2019 15:44:14 +0000 (00:44 +0900)]
sys/vfs/msdosfs: Remove DragonFly specific macro de_off2cn()
4afd80f1a2 contains several fixes, but from the way de_cluster()
is used, an explicitly casted version of de_cluster() shouldn't
be needed.
Note that maximum cluster# (and file relative cluster# too) in
FAT12/16/32 is much smaller than maximum int32_t value. Note that
maximum file size in FAT12/16/32 is < 4GiB.
Tomohiro Kusumi [Fri, 25 Oct 2019 15:43:55 +0000 (00:43 +0900)]
sys/vfs/msdosfs: Remove DragonFly specific macro de_off2bn()
which is only used once.
Using ->pm_bnshift is clear enough, and more readable in this case.
Tomohiro Kusumi [Fri, 25 Oct 2019 15:43:41 +0000 (00:43 +0900)]
sys/vfs/msdosfs: Remove confusing code on cluster#
Sync comments with FreeBSD.
François Tigeot [Fri, 25 Oct 2019 17:18:15 +0000 (19:18 +0200)]
drm/linux: Align Linux memory allocations to cache lines
Sascha Wildner [Thu, 24 Oct 2019 19:20:09 +0000 (21:20 +0200)]
Fix wrong dates in several manual pages.
Sascha Wildner [Thu, 24 Oct 2019 19:13:18 +0000 (21:13 +0200)]
getifaddrs.3: Fix macro (.PP -> .Pp).
Sascha Wildner [Thu, 24 Oct 2019 18:27:52 +0000 (20:27 +0200)]
dsynth.1: Fix wording (reported by noob237).
Tomohiro Kusumi [Thu, 24 Oct 2019 17:35:56 +0000 (02:35 +0900)]
sys/vfs/msdosfs: Remove obsolete comment
from freebsd/freebsd@
860493e2052cc33a6abb2a55500f908beeffbe85
Tomohiro Kusumi [Thu, 24 Oct 2019 17:35:35 +0000 (02:35 +0900)]
sys/vfs/msdosfs: Fix comment on symlink
from freebsd/freebsd@
a74bc23d1f0b8bc77bc0932b3464b83bdde0e70c
Tomohiro Kusumi [Thu, 24 Oct 2019 17:35:11 +0000 (02:35 +0900)]
sys/vfs/msdosfs: Remove VREG/VDIR support from msdosfs_mknod()
from freebsd/freebsd@
34e9a6f37025fbfbdfb432241cc89ae3533011b0
zrj [Fri, 18 Oct 2019 10:58:45 +0000 (13:58 +0300)]
kernel: Move M_LWKTMSG declaration to <sys/msgport2.h>.
Including <sys/malloc.h> has side effects, its introduction in this
header was done in
6aad077d69b6a2d39405e25c987bb090ff78a724.
The msgport2.h is a better place for M_LWKTMSG since all users already
include this header directly or indirectly through <net/netmsg2.h>.
Also, this moves <sys/malloc.h> inclusion after <sys/globaldata.h> down
the chain when including <sys/systm.h> (TBA later).
Fix a single case where malloc.h where not included before <sys/mount.h>
for M_MOUNT.
zrj [Fri, 18 Oct 2019 09:19:44 +0000 (12:19 +0300)]
kernel: Fix spurious M_IOV declarations.
Do not include <sys/malloc.h> unconditionally in <sys/uio.h> as it only
hides issues in other headers and source codes.
* Include <sys/malloc.h> before <sys/uio.h> in sys_generic.c for M_IOV.
zrj [Fri, 18 Oct 2019 08:46:47 +0000 (11:46 +0300)]
kernel: Cleanup <sys/uio.h> issues.
The iovec_free() inline very complicates this header inclusion. The
NULL check is not always seen from <sys/_null.h>. Luckily only three
kernel sources needs it: kern_subr.c, sys_generic.c and uipc_syscalls.c.
Also just a single dev/drm source makes use of 'struct uio'.
* Include <sys/uio.h> explicitly first in drm_fops.c to avoid kfree()
macro override in drm compat layer.
* Use <sys/_uio.h> where only enums and struct uio is needed, but ensure
that userland will not include it for possible later <sys/user.h> use.
* Stop using <sys/vnode.h> as shortcut for uiomove*() prototypes. The
uiomove*() family functions possibly transfer data across kernel/user
space boundary. This header presence explicitly mark sources as such.
* Prefer to add <sys/uio.h> after <sys/systm.h>, but before <sys/proc.h>
and definitely before <sys/malloc.h> (except for 3 mentioned sources).
This will allow to remove <sys/malloc.h> from <sys/uio.h> later on.
* Adjust <sys/user.h> to use component headers instead of <sys/uio.h>.
While there, use opportunity for a minimal whitespace cleanup.
No functional differences observed in compiler intermediates.
zrj [Fri, 18 Oct 2019 07:05:01 +0000 (10:05 +0300)]
<sys/nlookup.h>: Style(9) adjustments.
Sort prototypes by name and fix long lines.
zrj [Fri, 18 Oct 2019 06:45:09 +0000 (09:45 +0300)]
libdmsg: Forward declare struct iovec for public prototypes.
This removes the need to include <sys/socket.h> or <sys/uio.h> to use
the <dmsg.h>. The dmsg_crypto_encrypt() and dmsg_crypto_decrypt() are
used locally, maybe worth to internalize.
While there, remove not needed <sys/uio.h> inclusion from hammer2(8).
zrj [Fri, 18 Oct 2019 05:53:07 +0000 (08:53 +0300)]
Cleanup <sys/uio.h> includes.
No longer needed after <sys/ktrace.h> cleanup.
zrj [Thu, 17 Oct 2019 15:02:47 +0000 (18:02 +0300)]
<sys/uio.h>: Extract kernel structures to a separate header.
The only userspace user of these bits is kdump(1) that already properly
defines _KERNEL_STRUCTURES before including system headers.
* Put ui_rw and ui_seg enums under _KERNEL_STRUCTURES.
* Adjust <sys/ktrace.h> for 'struct ktr_genio' visibility too.
Handling KTR_GENIO requires special knowledge (hidden members) and
kdump(1) is also a single userspace case using it. This does not affect
utilities like ktrace(1) and allows for further cleanups.
zrj [Thu, 17 Oct 2019 11:41:17 +0000 (14:41 +0300)]
kernel: Move M_IOV malloc definition to correct header.
It is possible because <sys/uio.h> already must include the
<sys/malloc.h> unconditionally for _KERNEL.
While there, minor trailing whitespaces cleanup.
zrj [Thu, 17 Oct 2019 11:32:42 +0000 (14:32 +0300)]
<sys/uio.h>: Cleanup namespace.
Certain care is needed while handling this, lots of namespace issues.
The <sys/_null.h> is needed for sys/vfs/hammer/hammer_ondisk.c through
<sys/nlookup.h> that would benefit from separated uio enums.
zrj [Thu, 17 Oct 2019 11:26:41 +0000 (14:26 +0300)]
Revert "wpa_supplicant: Avoid cpp warning during buildworld."
This reverts commit
ddaf9f4ac09fd506d0ed3a635e1048beafae310c.
Will no longer be needed after <sys/uio.h> namespace cleanup.
zrj [Thu, 24 Oct 2019 07:30:05 +0000 (10:30 +0300)]
libtcplay: Adjust to use <sys/param.h> header.
After
ed183f8c2f9bb14cbccb8377f3cdd29e0971d8a0 this header is mandatory.
Sascha Wildner [Thu, 24 Oct 2019 06:26:48 +0000 (08:26 +0200)]
libc: Fix buildworld.
Tomohiro Kusumi [Wed, 23 Oct 2019 20:55:47 +0000 (05:55 +0900)]
Revert "world/kernel: Use the roundup2() macro in various places."
This reverts commit
234a54e74c83964aeb996eabab3139f72c68820f.
Sascha Wildner [Wed, 23 Oct 2019 18:10:07 +0000 (20:10 +0200)]
world/kernel: Use the {set,clr}bit() and is{set,clr}() macros a bit more.
Tested-by: zrj
Sascha Wildner [Wed, 23 Oct 2019 18:09:23 +0000 (20:09 +0200)]
world/kernel: Use the rounddown2() macro in various places.
Tested-by: zrj
Sascha Wildner [Wed, 23 Oct 2019 18:09:05 +0000 (20:09 +0200)]
world/kernel: Use the rounddown() macro in various places.
Tested-by: zrj
Sascha Wildner [Wed, 23 Oct 2019 18:08:40 +0000 (20:08 +0200)]
world/kernel: Use the roundup2() macro in various places.
Tested-by: zrj
Tomohiro Kusumi [Wed, 23 Oct 2019 15:50:09 +0000 (00:50 +0900)]
sys/vfs/msdosfs: msdosfs_read()/msdosfs_write() fixes
bits from freebsd/freebsd@
7fe18219e6aee76fd67b0019f4271f895994aa01
but keep uio sanity checks removed by this commit in FreeBSD.
Tomohiro Kusumi [Wed, 23 Oct 2019 15:37:18 +0000 (00:37 +0900)]
sys/vfs/msdosfs: Fix comments in msdosfs_setattr()
from freebsd/freebsd@
c2333909d4119b0b11bb182ddf4c177bc903d19e
Tomohiro Kusumi [Wed, 23 Oct 2019 15:30:18 +0000 (00:30 +0900)]
sys/vfs/msdosfs: Fix style bugs
from freebsd/freebsd@
fa70acb379635c7b16c8acb3ca68939e65d77434
Tomohiro Kusumi [Wed, 23 Oct 2019 15:12:02 +0000 (00:12 +0900)]
sys/vfs/msdosfs: Don't sync update on msdosfs_setattr()
from freebsd/freebsd@
896bab2157a7e590750c85dff9cd3dc28f4c8ff9
Read above for details.
Sascha Wildner [Wed, 23 Oct 2019 10:35:58 +0000 (12:35 +0200)]
<sys/signal.h>: Some more whitespace fixes.
Tomohiro Kusumi [Wed, 23 Oct 2019 00:12:25 +0000 (09:12 +0900)]
sbin/fsck_hammer2: Fix invalid free(3) of PFS names
Tomohiro Kusumi [Wed, 23 Oct 2019 00:12:11 +0000 (09:12 +0900)]
sbin/fsck_hammer2: Fix copying unterminated ondisk string
Tomohiro Kusumi [Tue, 22 Oct 2019 20:44:50 +0000 (05:44 +0900)]
sbin/fsck_hammer2: Sort PFS names to scan on -p
Tomohiro Kusumi [Tue, 22 Oct 2019 19:56:34 +0000 (04:56 +0900)]
sys/vfs/msdosfs: uniqdosname() assumes 12 bytes char[]
from freebsd/freebsd@
522790ec8013b64a66fe7410c116e018b63bb9b3
See uniqdosname() and unix2dosfn().
Tomohiro Kusumi [Tue, 22 Oct 2019 18:26:27 +0000 (03:26 +0900)]
sys/vfs/msdosfs: Don't set DE_ACCESS on read if readonly mount
from freebsd/freebsd@
1b90da9ab8a3ec94fb70dbd7a4204352c038ddda
Tomohiro Kusumi [Tue, 22 Oct 2019 15:45:06 +0000 (00:45 +0900)]
sys/vfs/msdosfs: Avoid loop after bread()
from freebsd/freebsd@
992424e04cb1bcbf73836635d42aeefd1bde73b9
Tomohiro Kusumi [Mon, 21 Oct 2019 17:21:48 +0000 (02:21 +0900)]
sys/vfs/msdosfs: Rewrite msdosfs_readdir()
Don't make the entire function look different from FreeBSD when
vop_write_dirent() (since
fc46f680a7 in 2005) is just a wrapper.
Revive dirent local variable to make it easier to sync with FreeBSD
changes, and sync with FreeBSD.
Tomohiro Kusumi [Mon, 21 Oct 2019 17:21:16 +0000 (02:21 +0900)]
sys/vfs/msdosfs: Fix FAT32 dotdot dirent corruption
from freebsd/freebsd@
96b12145fb2d0521fe7cd4e58d4691a3cf2861ea
Tomohiro Kusumi [Mon, 21 Oct 2019 17:20:51 +0000 (02:20 +0900)]
sys/kern: Add init_va_filerev()
from freebsd/freebsd@
1912367ebb1a5029d72a6b3b028c32f0af41f0b5
Note that init_va_filerev() implementation is not same as FreeBSD.
The existing FAT code using long in union _qcvt was probably a bug.
Tomohiro Kusumi [Mon, 21 Oct 2019 17:20:18 +0000 (02:20 +0900)]
sbin/fsck_hammer2: Minor fix/cleanup
Sascha Wildner [Tue, 22 Oct 2019 14:19:40 +0000 (16:19 +0200)]
<math.h>: Reduce namespace pollution.
Sascha Wildner [Tue, 22 Oct 2019 14:19:04 +0000 (16:19 +0200)]
<signal.h>: Clean up the POSIX namespace a bit.
Put the previous and heavier includes into __BSD_VISIBLE because some
dports expect for example <sys/select.h> to come in along with <signal.h>,
none of which request a POSIX environment, though.
Thanks to zrj for testing it with a dports bulk build.
Sascha Wildner [Mon, 3 Jun 2019 18:47:14 +0000 (20:47 +0200)]
<signal.h>/<sys/signal.h>: Fix whitespace.
Tomohiro Kusumi [Sun, 20 Oct 2019 18:30:07 +0000 (03:30 +0900)]
sbin/fsck_hammer2: Allow -l to take multiple PFS names
Tomohiro Kusumi [Sun, 20 Oct 2019 17:29:47 +0000 (02:29 +0900)]
sbin/fsck_hammer2: Add -e to count empty blockrefs
Nothing interesting in seeing empty blockref statistics,
so make it ignore by default.
Tomohiro Kusumi [Sun, 20 Oct 2019 18:14:08 +0000 (03:14 +0900)]
sbin/hammer2: #if0 unused structs
added in 2012-2013 but never used.
Sascha Wildner [Sun, 20 Oct 2019 18:58:37 +0000 (20:58 +0200)]
kernel/hammer2: Remove -DSMP from Makefile. It is no longer needed.
Reported-by: zrj
Tomohiro Kusumi [Sun, 20 Oct 2019 16:10:41 +0000 (01:10 +0900)]
sbin/hammer2: Fix error message format
Tomohiro Kusumi [Sat, 19 Oct 2019 16:56:56 +0000 (01:56 +0900)]
sbin/newfs_hammer2: Remove "m:" from getopt(3)
No such option.
Sascha Wildner [Sat, 19 Oct 2019 17:19:50 +0000 (19:19 +0200)]
mq_open.2: Add <sys/types.h> in the SYNOPSIS for mode_t.
Strangely, while POSIX mentions the type for the mode argument when
using the O_CREAT flag, it does not require <mqueue.h> to define it.
We removed <sys/types.h> inclusion from <mqueue.h> recently and this
commit reflects that in the manual page.
Sascha Wildner [Sat, 19 Oct 2019 17:16:40 +0000 (19:16 +0200)]
fsck_hammer2.8: Sort SEE ALSO.
Tomohiro Kusumi [Sat, 19 Oct 2019 15:40:32 +0000 (00:40 +0900)]
sys/vfs/msdosfs: Drop nonexistent msdosfs_mountroot() prototype
Tomohiro Kusumi [Sat, 19 Oct 2019 15:40:14 +0000 (00:40 +0900)]
sys/vfs/msdosfs: Add nop MSDOSFS_LOCK_MP()
sys/vfs/msdosfs isn't MPSAFE yet, but reduce diff against FreeBSD.
Sascha Wildner [Sat, 19 Oct 2019 12:15:38 +0000 (14:15 +0200)]
Fix some typos: enought -> enough
Sascha Wildner [Fri, 18 Oct 2019 19:55:46 +0000 (21:55 +0200)]
sysctl(8): Sync manual page and usage() with getopt().
Reported-by: kworr
Tomohiro Kusumi [Fri, 18 Oct 2019 15:55:18 +0000 (00:55 +0900)]
sbin/fsck_hammer2: Minor fixes on syscall retvals
Tomohiro Kusumi [Fri, 18 Oct 2019 15:55:00 +0000 (00:55 +0900)]
sbin/fsck_hammer2: Make destroy.c update dirent blockref key
Reconstructed dirents can't be ls'd with or without this change.
Tomohiro Kusumi [Fri, 18 Oct 2019 15:54:43 +0000 (00:54 +0900)]
sbin/fsck_hammer2: Add reconstruct.c to force reconstruct filesystem
For testing.
This doesn't get compiled by Makefile.
Recursively reconstruct checksums if ondisk mismatch is found.
Note that this isn't for filesystem recovery.
Sascha Wildner [Fri, 18 Oct 2019 12:29:38 +0000 (14:29 +0200)]
yacc(1): Remove unused define from the Makefile.
Sascha Wildner [Fri, 18 Oct 2019 12:20:28 +0000 (14:20 +0200)]
rrenumd(8): Check if YYDEBUG is really 1.
Sascha Wildner [Fri, 18 Oct 2019 08:05:46 +0000 (10:05 +0200)]
libpcap: Remove unused -DYYBISON.
Sascha Wildner [Fri, 18 Oct 2019 07:49:58 +0000 (09:49 +0200)]
fsid/calendar: Clean up #includes a bit.
We don't want <sys/types.h> and <sys/param.h> at the same time (see
style(9)).
Sascha Wildner [Fri, 18 Oct 2019 07:41:59 +0000 (09:41 +0200)]
libpcap: Add scanner.h to CLEANFILES.
zrj [Thu, 10 Oct 2019 13:51:29 +0000 (16:51 +0300)]
fsid(8): Add missing include for MAXPATHLEN.
For upcoming <sys/uio.h> cleanup.
zrj [Thu, 10 Oct 2019 13:49:09 +0000 (16:49 +0300)]
libfsid(3): Add missing include for <vfs/ufs/fs.h>.
For upcoming <sys/uio.h> cleanup.
zrj [Thu, 10 Oct 2019 13:48:19 +0000 (16:48 +0300)]
libc/net: Add missing include for timespec.
For upcoming <sys/uio.h> cleanup.
zrj [Thu, 10 Oct 2019 13:47:17 +0000 (16:47 +0300)]
nscd(8): Add missing include for timespec.
For upcoming <sys/uio.h> cleanup.
zrj [Thu, 10 Oct 2019 13:44:31 +0000 (16:44 +0300)]
calendar(1): Add missing include for MAXPATHLEN.
For upcoming <sys/uio.h> cleanup.
Tomohiro Kusumi [Thu, 17 Oct 2019 15:04:10 +0000 (00:04 +0900)]
sbin/fsck_hammer2: Use memmove(3) for overlapping regions
Sascha Wildner [Thu, 17 Oct 2019 07:49:38 +0000 (09:49 +0200)]
zlib: Add commented out line to Makefile for debug build.
Sascha Wildner [Thu, 17 Oct 2019 07:12:32 +0000 (09:12 +0200)]
zlib: Adjust README.DRAGONFLY a bit more.
Sascha Wildner [Thu, 17 Oct 2019 07:07:29 +0000 (09:07 +0200)]
Adjust local files for the zlib upgrade.
Sascha Wildner [Thu, 17 Oct 2019 07:06:41 +0000 (09:06 +0200)]
Merge branch 'vendor/ZLIB'
Sascha Wildner [Thu, 17 Oct 2019 07:06:12 +0000 (09:06 +0200)]
Update zlib from 1.2.8 to 1.2.11 on the vendor branch.
Tomohiro Kusumi [Wed, 16 Oct 2019 22:50:44 +0000 (07:50 +0900)]
sbin/hammer2: Add hammer2_breftype_to_str()
Tomohiro Kusumi [Wed, 16 Oct 2019 20:02:49 +0000 (05:02 +0900)]
sbin/fsck_hammer2: Correctly count HAMMER2_BREF_TYPE_EMPTY blockrefs
Without this, HAMMER2_BREF_TYPE_EMPTY is always shown as 0
when inode or indirect blockrefs can have empty slots.
Tomohiro Kusumi [Wed, 16 Oct 2019 19:30:20 +0000 (04:30 +0900)]
sbin/hammer2: Add 'B' to sizetostr() result when < 1024/2
All other cases have trailing 'B' from "KB", "MB", etc,
so it's better to be shown as e.g. "0.00B" than "0.00".
Roy Marples [Wed, 16 Oct 2019 15:10:46 +0000 (16:10 +0100)]
Merge branch 'vendor/DHCPCD'
Roy Marples [Wed, 16 Oct 2019 15:00:37 +0000 (16:00 +0100)]
Import dhcpcd-8.1.1 with the following changes:
* IPv6: Fix a potential crash when learning interface addresses.
* DHCP: Fix fallout from dhcpcd-8.1.0 for checksum calculation.
Sascha Wildner [Wed, 16 Oct 2019 07:41:20 +0000 (09:41 +0200)]
libz/savecore: Move the local zopen() from libz to savecore(8).
It is its only consumer.
Cleanup libz's Versions.def and Symbol.map too. Nothing in dports
should be using that function from the library (else it's a bug).
While here, add a __DECONST() to fix for WARNS=6.
Discussed-with: zrj
Sascha Wildner [Wed, 16 Oct 2019 07:01:03 +0000 (09:01 +0200)]
libusb/libz: Install *.pc files (for dports) using FILES and FILESDIR.
Tomohiro Kusumi [Tue, 15 Oct 2019 15:10:47 +0000 (00:10 +0900)]
sbin/fsck_hammer2: Rollback if second write failed on destroying dirent
Sascha Wildner [Tue, 15 Oct 2019 07:12:46 +0000 (09:12 +0200)]
Update the pciconf(8) database.
October 12, 2019 snapshot from https://pci-ids.ucw.cz