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
Tomohiro Kusumi [Mon, 14 Oct 2019 15:30:32 +0000 (00:30 +0900)]
sbin/fsck_hammer2: Make destroy.c support embedded dirent name
and other dirent related fixes and cleanups.
Tomohiro Kusumi [Mon, 14 Oct 2019 15:30:16 +0000 (00:30 +0900)]
sbin/fsck_hammer2: Print indirect blockref data on failure if possible
zrj [Wed, 9 Oct 2019 11:12:54 +0000 (14:12 +0300)]
tools/toeplitz: Provide NBBY fallback.
zrj [Wed, 9 Oct 2019 10:38:16 +0000 (13:38 +0300)]
<sys/types.h>: Move out NBBY definition to <sys/param.h>.
It is a better place for it due to close proximity of macros using it.
zrj [Wed, 9 Oct 2019 10:37:50 +0000 (13:37 +0300)]
restore(8): Add include to common header.
Just like sbin/dump/dump.h explicitly include <sys/param.h>.
zrj [Wed, 9 Oct 2019 09:27:32 +0000 (12:27 +0300)]
<sys/socket.h>: Use double underscore versions for types.
Change caddr_t to plain "char *".
In preparations to remove <sys/types.h> dependency.
zrj [Wed, 9 Oct 2019 09:08:16 +0000 (12:08 +0300)]
Add <machine/alignbytes.h>.
Refactor ALIGN* macros to fix issue in <sys/socket.h> after the
_CMSG_ALIGN() macro was adjusted to use ALIGNBYTES definition.
* Including <sys/param.h> would introduce major namespace pollution.
* Use NetBSD variant of namespace friendly double underscore versions.
* Instead of <machine/cdefs.h> put double underscore versions into self
contained header to minimize header poisoning.
* Provide __ALIGNPTR() macro to avoid visibility issues with uintptr_t.
* Move out single underscore versions from <machine/param.h>. Keep them
for OpenBSD compat that declares them in <ARCH/_types.h>.
* Make non underscored versions user overridable (just like NetBSD).
This is useful for cases where different alignment is needed.
Later on this new header can be adjusted to provide other alignment
macros like: STACKALIGNBYTES, ALIGNED_POINTER etc.
In-discussion-with: swilder
Tomohiro Kusumi [Sun, 13 Oct 2019 21:54:33 +0000 (06:54 +0900)]
sbin/fsck_hammer2: Add destroy.c to destroy ondisk inode/dirent
For testing.
This doesn't get compiled by Makefile.
Tomohiro Kusumi [Sun, 13 Oct 2019 21:54:08 +0000 (06:54 +0900)]
sbin/fsck_hammer2: Print blockref data on failure if possible
Tomohiro Kusumi [Sun, 13 Oct 2019 21:53:54 +0000 (06:53 +0900)]
sbin/hammer2: Print dirent name length in "show"
Tomohiro Kusumi [Sun, 13 Oct 2019 21:53:34 +0000 (06:53 +0900)]
sbin/hammer2: Minor "show"/"freemap" output format fix
"show"/"freemap" output doesn't use comma, except for after meth=
and in clothing parenthesis of blockref data part.
Remove the first one.
Sascha Wildner [Sun, 13 Oct 2019 19:33:37 +0000 (21:33 +0200)]
Clean up the namespace of <mqueue.h> a bit.
Thanks to zrj for testing with a dports bulk build.
Sascha Wildner [Sun, 13 Oct 2019 11:56:13 +0000 (13:56 +0200)]
world/kernel: Use the powerof2() macro in various places.
Sascha Wildner [Sun, 13 Oct 2019 11:55:53 +0000 (13:55 +0200)]
fsck(8): Remove useless POWEROF2() macro.
Sascha Wildner [Sun, 13 Oct 2019 10:38:50 +0000 (12:38 +0200)]
world/kernel: Use the howmany() macro in various places.
Sascha Wildner [Sun, 13 Oct 2019 07:45:43 +0000 (09:45 +0200)]
kernel/libc: Use CTL_SYSCTL_* names instead of magic numbers.
These are for internal sysctl operations.
Taken-from: FreeBSD
Sascha Wildner [Sat, 12 Oct 2019 22:25:22 +0000 (00:25 +0200)]
zic/zdump: Clean up Makefiles (remove unneeded stuff).
Sascha Wildner [Sat, 12 Oct 2019 21:46:50 +0000 (23:46 +0200)]
zic(8): Avoid -Wstringop-truncation warning.
The tzh.tzh_magic holds 4 characters, while TZ_MAGIC == "TZif".
So use memcpy() to avoid the warning.
Originally-submitted-by: zrj
Also committed upstream independently, see
https://sourceware.org/ml/libc-alpha/2017-11/msg00375.html
Tomohiro Kusumi [Sat, 12 Oct 2019 18:42:21 +0000 (03:42 +0900)]
usr.sbin/fstyp: Add XXX comments on HAMMER1/2 label
This only matters to -media mount of block devices.
Not sure about other filesystem labels in fstyp.
Tomohiro Kusumi [Sat, 12 Oct 2019 17:45:03 +0000 (02:45 +0900)]
sys/vfs/msdosfs: Sync comments on cluster macros with FreeBSD
Use a terminology "filesystem relative" instead of "device relative".
"device relative" is actually better, but the entire code use
"filesystem relative".
Other descriptions are obvious if one knows FAT ondisk format.
Reduce unneeded diffs against FreeBSD.
Tomohiro Kusumi [Sat, 12 Oct 2019 17:20:03 +0000 (02:20 +0900)]
sys/vfs/msdosfs: Style bugs
from freebsd/freebsd@
bc5f57144e97b8336002b57d7c7e60a86ba3b0d4
Tomohiro Kusumi [Sat, 12 Oct 2019 14:19:38 +0000 (23:19 +0900)]
sys/vfs/msdosfs: Sync a comment on cdev_t with FreeBSD
from freebsd/freebsd@
c3c76f8185fd7f9995646dc6cb44a1777d80eabb
DragonFly still uses `pmp->pm_dev` and it won't go away either,
but sync a comment anyway. Not important to specifically mention
this when the function also uses other pmp fields.
Sascha Wildner [Sat, 12 Oct 2019 19:29:28 +0000 (21:29 +0200)]
libc/__errno_location: Fix indent.
Tomohiro Kusumi [Sat, 12 Oct 2019 11:32:54 +0000 (20:32 +0900)]
sys/vfs/msdosfs: Fix detrunc() twice
from freebsd/freebsd@
df35e60f9f9e72d96903368cf6c933be6f3ff720
from freebsd/freebsd@
36b72954109b4906ef75de661bfbd254fba1c011
Not sure about intention of the first commit (removes bzero for non
directory case), but the second commit basically brought back removed
code after 16 years.
DragonFly already had what FreeBSD has now (with difference in bread()
taking offset, etc) for not having synced for 16 years, so just sync
up other minor diffs.
Tomohiro Kusumi [Fri, 11 Oct 2019 13:52:10 +0000 (22:52 +0900)]
sys/vfs/msdosfs: Fix a serious off by 1 for cluster bitmap
from freebsd/freebsd@
4159786890522d187529c336eb6da4029f04a3e1
Fixed a serious off by 1 error. The cluster-in-use bitmap was overrun
by 1 u_int if the number of clusters was 1 more than a multiple of
(8 * sizeof(u_int)). The bitmap is malloced and large (often huge), so
fatal overrun probably only occurred if the number of clusters was 1
more than 1 multiple of PAGE_SIZE/8.
Tomohiro Kusumi [Fri, 11 Oct 2019 13:51:47 +0000 (22:51 +0900)]
sys/vfs/msdosfs: Use howmany()
from freebsd/freebsd@
fc01419148d065603607b1008d536431465f3bc3
Roy Marples [Fri, 11 Oct 2019 11:57:15 +0000 (12:57 +0100)]
dhcpcd: Update README.DRAGONFLY
Roy Marples [Fri, 11 Oct 2019 11:49:54 +0000 (12:49 +0100)]
Merge branch 'vendor/DHCPCD'
Roy Marples [Fri, 11 Oct 2019 11:42:26 +0000 (12:42 +0100)]
Import dhcpcd-8.1.0 to vendor branch with the following changes:
* Fix carrier status after a route socket overflow
* Allow domain spaced options
* DHCP: Allow not sending Force Renew Nonce or Reconf Accept
* IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
* ARP: Fix a typo and remove pragma (thus working with old gcc)
* DHCP6: Fix a cosmetic issue with infinite leases
* DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
* Ignore some virtual interfaces such as Tap and Bridge by default
* BPF: Move validation logic out of BPF and back into dhcpcd
Sascha Wildner [Thu, 10 Oct 2019 19:11:43 +0000 (21:11 +0200)]
libc/utmp{,x}: Add some __unused.
Sascha Wildner [Thu, 10 Oct 2019 18:57:46 +0000 (20:57 +0200)]
corepower(4): Fix comments based on the Intel SDM.
Sascha Wildner [Thu, 10 Oct 2019 18:42:17 +0000 (20:42 +0200)]
<machine/specialreg.h>: Fix whitespace.
Tomohiro Kusumi [Thu, 10 Oct 2019 14:48:48 +0000 (23:48 +0900)]
sys/vfs/msdosfs: Spelling fixes
bits from freebsd/freebsd@
9ed8e933a363f67081dec54601b6262db2a57437
Tomohiro Kusumi [Thu, 10 Oct 2019 14:12:04 +0000 (23:12 +0900)]
sys/vfs/msdosfs: Rename DOS_FILESIZE_MAX -> MSDOSFS_FILESIZE_MAX
from freebsd/freebsd@
e6fd69815f99795031e72e899db2cfba63581fc4
Sascha Wildner [Thu, 10 Oct 2019 07:44:07 +0000 (09:44 +0200)]
corepower(4): Add Coffee Lake support (numbers look reasonable at least).
Sascha Wildner [Thu, 10 Oct 2019 07:42:19 +0000 (09:42 +0200)]
corepower(4): Fix some Intel microarchitecture names in the comments.
Sascha Wildner [Wed, 9 Oct 2019 19:57:53 +0000 (21:57 +0200)]
openssh: Adjust README.DRAGONFLY for recent pam_ssh removal.
François Tigeot [Wed, 9 Oct 2019 19:45:37 +0000 (21:45 +0200)]
drm/linux: Add vmalloc_to_page()
Obtained-from: FreeBSD
Sascha Wildner [Wed, 9 Oct 2019 19:45:28 +0000 (21:45 +0200)]
{i915,radeon}kms.4: Really clean up the manual page naming situation.
Leave only i915.4 and radeon.4. The previous naming was a leftover from
when the modules were renamed but the manpage were not taken care of.
Remove *kms.4 and *drm.4 copies.
François Tigeot [Wed, 9 Oct 2019 19:19:14 +0000 (21:19 +0200)]
drm: Remove mentions of i915kms and radeonkms
drm(4) drivers are simply named i915 and radeon like on Linux now.
Tomohiro Kusumi [Wed, 9 Oct 2019 13:31:17 +0000 (22:31 +0900)]
sys/vfs/msdosfs: Use vop_stdpathconf()
from freebsd/freebsd@
b4c54ab330a8138d19ec8b649b3ded0465f45331
Tomohiro Kusumi [Wed, 9 Oct 2019 13:30:56 +0000 (22:30 +0900)]
sys/vfs/msdosfs: Remove unused msdosfs_args::magic
bits from freebsd/freebsd@
89382b6533d2fd694195b6f534563993a4741fa4
Requires FAT userspace rebuild.
Tomohiro Kusumi [Wed, 9 Oct 2019 13:30:39 +0000 (22:30 +0900)]
sys/vfs/msdosfs: vrecycle() vnode with SLOT_EMPTY
from freebsd/freebsd@
11cf2ecaee883581cf49f4bea644f97d88e289da
Keep the change from
e0ab0dda4467a333f1c9f1d382f74e3d830a5ed9.
Tomohiro Kusumi [Wed, 9 Oct 2019 13:30:16 +0000 (22:30 +0900)]
sys/vfs/msdosfs: Use vfs_timestamp()
from freebsd/freebsd@
68807f21657b87276bee1a8b8e9ddbf03ef26525
Sascha Wildner [Tue, 8 Oct 2019 20:16:02 +0000 (22:16 +0200)]
libc/tls: Remove some code that has been #if 0'd since 2005.
Sascha Wildner [Tue, 8 Oct 2019 09:05:37 +0000 (11:05 +0200)]
kdump/mksubr: Improve a bit.
* Change auto_or_type() and auto_or_typelong() to better names,
auto_or_int() and auto_or_long().
* Use bool type for a boolean variable.
* Fix printf format and drop unnecessary casts.
Sascha Wildner [Tue, 8 Oct 2019 07:42:07 +0000 (09:42 +0200)]
prop_bool.3: Don't use defined type names as variable names.
zrj [Tue, 8 Oct 2019 06:21:48 +0000 (09:21 +0300)]
ppp(8): Remove references to libradius.
Reported-by: swildner
Tomohiro Kusumi [Mon, 7 Oct 2019 15:07:29 +0000 (00:07 +0900)]
sys/vfs/msdosfs: Don't rely on FSInfo for next free cluster#
from freebsd/freebsd@
2e613b81275b754323270ba112f9d73a553d837a
Remove DragonFly's local changes which care about FSI_Nxt_Free.
68cc29492751172e9897a90c303b1c7fbb18112a
371e4713b969224e811cf5831e0c77a82be6a8a1
Tomohiro Kusumi [Mon, 7 Oct 2019 15:07:11 +0000 (00:07 +0900)]
sys/vfs/msdosfs: FSInfo size handling is completely wrong
from freebsd/freebsd@
01c1ec9b1ae5e546930028126ab6d950d401c786
from freebsd/freebsd@
e8377e738c6b5d23fad5f7125437708639bc0253
Tomohiro Kusumi [Mon, 7 Oct 2019 15:06:49 +0000 (00:06 +0900)]
sys/vfs/msdosfs: Rename de_bntodoff() to de_bn2doff()
Rename a DragonFly specific macro.
Follow naming convention of macros.
Tomohiro Kusumi [Mon, 7 Oct 2019 15:06:15 +0000 (00:06 +0900)]
sys/vfs/msdosfs: Remove redundant macro xcntodoff()
Remove a DragonFly specific macro that is only used twice.
Tomohiro Kusumi [Mon, 7 Oct 2019 15:05:54 +0000 (00:05 +0900)]
sys/vfs/msdosfs: Rename xcntobn() back to cntobn()
4afd80f1a2 in 2006 has renamed cntobn() to xcntobn().
Rename it back to reduce unneeded diff against FreeBSD.
Tomohiro Kusumi [Mon, 7 Oct 2019 15:05:13 +0000 (00:05 +0900)]
sys/vfs/msdosfs: Add markvoldirty()
from freebsd/freebsd@
7dde93f1df429cf9a818bf7b716962298f489807
from freebsd/freebsd@
47701ffd1e3ae03dfc0c65c3e70cfabc99537681
Only import the function, unused yet.
Disable B_INVALONERR part.
Sascha Wildner [Mon, 7 Oct 2019 08:44:12 +0000 (10:44 +0200)]
<string.h>: Put memset_s() prototype inside __{BEGIN,END}_DECLS().
Reported-by: zrj
François Tigeot [Sun, 6 Oct 2019 19:51:44 +0000 (21:51 +0200)]
drm: Rename struct drm_file.master to .is_master
Reducing differences with Linux
Tomohiro Kusumi [Sun, 6 Oct 2019 18:31:57 +0000 (03:31 +0900)]
sys/vfs/msdosfs: usemap_free() after fatentry()
bits from freebsd/freebsd@
eb2b3c8672da21da1d5b72a0b44f0e8c3271cc1e
"Use pm_fatlock to protect fat bitmap."
Tomohiro Kusumi [Sun, 6 Oct 2019 18:43:05 +0000 (03:43 +0900)]
usr.sbin/fstyp: Retry fopen(3) if failed
Try argv[0] if fdpath failed.
Sascha Wildner [Sun, 6 Oct 2019 13:53:44 +0000 (15:53 +0200)]
Generate a fresh /etc/os-release on each installworld.
Reported-by: zrj
Tomohiro Kusumi [Sun, 6 Oct 2019 15:15:05 +0000 (00:15 +0900)]
usr.sbin/fstyp: Support HAMMER2 PFS label and @name syntax
SUPROOT is printed only when @name is invalid.
Affects autofs -media mount.
Sascha Wildner [Sun, 6 Oct 2019 13:34:36 +0000 (15:34 +0200)]
<sys/stat.h>: Rename two unused flags to names that we use elsewhere.
Reported-by: zrj
Sascha Wildner [Sun, 6 Oct 2019 13:33:04 +0000 (15:33 +0200)]
Fix immutable flag handling in our mtree(8) invocations.
All of this only affects /var/empty so far.
* If NOSCHG isn't set (which is the default), pass -i to mtree(8) when
installing the system or building an installer img.
* Pass -i always when we install a system from the installer. This
installer usage of mtree(8) should not be needed. Expand the comment
a bit.
Reported-by: zrj
zrj [Sun, 6 Oct 2019 07:30:47 +0000 (10:30 +0300)]
kernel/isa: Bury the intrmask_t type.
It is neither MI nor MD nor pure PD type, it is ISA placeholder type.
Also it is unfortunately named and implies bad things. The only way to
make it consistent is to split it, since this type usage falls under
standard/isa options. The vkernel64 was already wrongly declaring it.
No differences in generated binary outputs.
zrj [Sun, 6 Oct 2019 07:30:02 +0000 (10:30 +0300)]
kernel: Make chflags syscalls argument types consistent with userland.
There was an inconsistency between userland and syscalls argument types
that was inherited after initial fork. Adjust prototypes to use u_long
and add missing const char* too. Rerun sysent. Change tmpfs/dirfs to
use u_int for flags since mask for superuser changeable flags is
SF_SETTABLE 0xffff0000 (most fs use uint32_t), adjust mksubr script.
Remove no longer needed (u_long) casts I could find elsewhere.
While there, adjust unistd.h prototypes to use generic types too.
zrj [Sun, 6 Oct 2019 07:28:35 +0000 (10:28 +0300)]
world: Eliminate custom uintfptr_t/fptrdiff_t types.
These were not used consistently and have visibility limitations,
types.h - #indef _KERNEL while profile.h - publicly. Use cases like:
"uintfptr_t selfpcdiff;" and "fptrdiff_t frompci;" only confuse.
Given that underlying structs uprof, rawarc already use plain u_long
types, there are plenty (u_long) casts elsewhere in the kernel code,
follow OpenBSD and use use (u_long) casts that are clear what they do.
The unused intfptr_t type does not make much sense anyway.
zrj [Sun, 6 Oct 2019 07:27:18 +0000 (10:27 +0300)]
<unistd.h>: Fix profil(2) prototype.
First off the vm_offset_t is somewhat bogus in this context, same could
be said about size_t variant in sys/sysproto.h. Just use plain u_long
type like it is already used in "struct uprof" and fix forth argument
to take u_int. In public headers prefer to use generic types.
zrj [Sun, 6 Oct 2019 07:26:29 +0000 (10:26 +0300)]
<sys/stdint.h>: Move out two MD types.
The <cpu/types.h> would be a better place for these, however it needs
proper cleanup first and would only complicate visibility on other
standard headers at the moment.
zrj [Sun, 6 Oct 2019 07:26:02 +0000 (10:26 +0300)]
<sys/types.h>: Eliminate __nl_item type.
It is MI type, so just use standard int type as per POSIX.
zrj [Sun, 6 Oct 2019 07:25:29 +0000 (10:25 +0300)]
<runetype.h>: Convert __rune_t to internal typedef.
The __ct_rune_t is a basic type for __rune_t/__wint_t/__wchar_t.
No functional change.
While there, remove two trailing white spaces.
zrj [Sun, 6 Oct 2019 07:25:02 +0000 (10:25 +0300)]
Nuke legacy non standard rune_t type.
Not used anywhere and comments indicate it is meant not to be used
outside lib/libc/locale anyway.
Tomohiro Kusumi [Sun, 6 Oct 2019 01:02:08 +0000 (10:02 +0900)]
sbin/fsck_hammer2: More refactoring
Tomohiro Kusumi [Sat, 5 Oct 2019 21:52:39 +0000 (06:52 +0900)]
sbin/fsck_hammer2: Refactor zone/blockref scanning
Refactor duplicated code from zone/blockref scanning with support
for multiple options.
Tomohiro Kusumi [Sat, 5 Oct 2019 21:20:39 +0000 (06:20 +0900)]
sbin/fsck_hammer2: Add -b to only scan best zone
zrj [Sat, 5 Oct 2019 10:04:12 +0000 (13:04 +0300)]
libc: Add __errno_location() for language binding benefits.
Some languages have restrictions when it comes to C style TLS handling
(thread local might be feature-gated) or simply it is inconvenient to
add various OS specific binding wrappers just to access C errno values.
The __errno_location() symbol provides externally callable version of
__error() inline function.
While there, add __WANT_NO_INLINED___ERROR guard for few python parsers
in DPorts that are unable to parse inlined __error() code yet.
zrj [Sat, 5 Oct 2019 10:00:16 +0000 (13:00 +0300)]
ppp(8): Re-enable RADIUS support.
Until it is really decided to remove it from ppp(8).
While there, add patches from DPorts to use newer
LibreSSL/OpenSSL v1.1.x API.
zrj [Sat, 5 Oct 2019 09:57:50 +0000 (12:57 +0300)]
Bump __DragonFly_version for libradius/libtacplus removal.
While there, add entry to UPDATING.
zrj [Sat, 5 Oct 2019 09:55:44 +0000 (12:55 +0300)]
Nuke libradius(3).
It was moved to DPorts.
For now keep radlib.c code directly in ppp(8). Other BSDs have it atm.