Commit Graph

269920 Commits

Author SHA1 Message Date
bouyer c02f779616 Pull up following revision(s) (requested by martin in ticket #693):
usr.sbin/sysinst/arch/x68k/msg.md.en: revision 1.2
	usr.sbin/sysinst/arch/x68k/md.c: revision 1.10
	usr.sbin/sysinst/arch/mvme68k/msg.md.fr: revision 1.2
	usr.sbin/sysinst/arch/x68k/msg.md.en: revision 1.3
	usr.sbin/sysinst/arch/mvme68k/msg.md.fr: revision 1.3
	usr.sbin/sysinst/msg.mi.en: revision 1.28
	usr.sbin/sysinst/arch/hp300/md.c: revision 1.10
	usr.sbin/sysinst/msg.mi.es: revision 1.22
	usr.sbin/sysinst/target.c: revision 1.12
	usr.sbin/sysinst/arch/mvme68k/md.c: revision 1.10
	usr.sbin/sysinst/arch/i386/md.c: revision 1.30
	usr.sbin/sysinst/arch/mvme68k/msg.md.pl: revision 1.2
	usr.sbin/sysinst/arch/mvme68k/msg.md.pl: revision 1.3
	usr.sbin/sysinst/bsddisklabel.c: revision 1.39
	usr.sbin/sysinst/arch/mvme68k/msg.md.de: revision 1.2
	usr.sbin/sysinst/arch/mac68k/md.c: revision 1.9
	usr.sbin/sysinst/disklabel.c: revision 1.35
	usr.sbin/sysinst/arch/mvme68k/msg.md.de: revision 1.3
	usr.sbin/sysinst/defs.h: revision 1.55
	usr.sbin/sysinst/disks.c: revision 1.63
	usr.sbin/sysinst/disks.c: revision 1.64
	usr.sbin/sysinst/mbr.c: revision 1.31
	usr.sbin/sysinst/disks.c: revision 1.65
	usr.sbin/sysinst/txtwalk.c: revision 1.3
	usr.sbin/sysinst/txtwalk.c: revision 1.4
	usr.sbin/sysinst/arch/mvme68k/msg.md.en: revision 1.2
	usr.sbin/sysinst/arch/mvme68k/msg.md.en: revision 1.3
	usr.sbin/sysinst/msg.mi.fr: revision 1.26
	usr.sbin/sysinst/msg.mi.pl: revision 1.29
	usr.sbin/sysinst/arch/mvme68k/msg.md.es: revision 1.2
	usr.sbin/sysinst/upgrade.c: revision 1.15
	usr.sbin/sysinst/arch/mvme68k/msg.md.es: revision 1.3
	usr.sbin/sysinst/upgrade.c: revision 1.16
	usr.sbin/sysinst/partman.c: revision 1.50
	usr.sbin/sysinst/msg.mi.de: revision 1.21
remove unused "emptypart" message (or moved to ifdef notyet area)
PR install/54921: message "ordering" takes a %s argument.
PR install/54921: skip non-user partitions when checking for overlaps
bootxx_name() - fix oversight in previous change (do not assume first
partition is the root partition)
PR install/54934: always use -f on the installboot invocation. We come
here post-newfs (and maybe should have dd'd zeros to the start of the
disk before newfs instead).
Remove a bogus assert: when reading disklabel partitions and the outer
(MBR) partitioning has changed, but the changes have not yet been written
back to disk, we need to ignore the kernels idea of the disklabel and
instead continue with an empty one.
Deal with partitioning schemes having no inner counterpart.
Avoid NULL derefs.
Do not assum a partitioning scheme that supports innner partitions always
needs to actually have such partitions defined.
PR bin/54944: deal with escaped spaces in NAME= syntax in /etc/fstab.
PR bin/54944: explicitly reject GPT protective MBRs.
PR bin/54944: make the "explicit single wedge" selection also work for
upgrades.
Reformat a query to add an automatically detected swap partition
so it fits on narrow screens.
Make re-install sets also work for an explicit selected root wedge
Fix copy&pasto in previous - from kre.
Only a single partition can ever have the "extend" flag (grow to available
size).
Do not use -P for tar extractions - the in tree tar has been fixed.
Finish conversion to generic partitioning backend
2020-02-10 21:39:37 +00:00
martin 4fdc7475a2 Tickets #680 - #686, #688 - #692 2020-02-10 19:32:47 +00:00
martin 2cad14f7f3 Pull up following revision(s) (requested by christos in ticket #692):
external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c: revision 1.5

When extracting symlinks atomically remove them like we do for hard links.
2020-02-10 19:30:00 +00:00
martin d538932c11 Pull up following revision(s) (requested by skrll in ticket #691):
sys/arch/arm/arm32/pmap.c: revision 1.383
	sys/arch/arm/arm32/pmap.c: revision 1.385
	sys/arch/arm/arm32/pmap.c: revision 1.386
	sys/arch/arm/arm32/pmap.c: revision 1.387
	sys/arch/arm/arm32/pmap.c: revision 1.374
	sys/arch/arm/arm32/pmap.c: revision 1.375
	sys/arch/arm/arm32/pmap.c: revision 1.376
	sys/arch/arm/arm32/pmap.c: revision 1.377
	sys/arch/arm/arm32/pmap.c: revision 1.378
	sys/arch/arm/arm32/pmap.c: revision 1.379

Convert a __CTASSERT into a KASSERT as L1_S_CACHE_MASK may not be a
compile time constant if ARM_NMMUS > 1

Improve a comment

Update PMAP_STEAL_MEMORY code to uvm_hotplug

Typo in comment

Fix a bug introduced in 1.271 where pmap_grow_map would no longer map
the allocated page for the uvm.page_init_done == false case when
PMAP_STEAL_MEMORY is not defined.

Trailing whitespace

Fix comment

Always pmap_kenter_pa the page in pmap_grow_map regardless of how we got
it.

Always call pmap_grow_map with a page aligned new VA.  KASSERT that this
happenes.

More KNF
2020-02-10 19:20:01 +00:00
martin 95da84786f Pull up following revision(s) (requested by ryo in ticket #690):
usr.bin/mkubootimage/mkubootimage.c: revision 1.30

arm64_image_header->image_size must be included size of arm64_image_header.

with -u option, image_size should be binary (file) size (header included).
without -u option, image_size should be binary (file) size + header size.
2020-02-10 19:14:03 +00:00
martin 43b4d5c112 Pull up following revision(s) (requested by maya in ticket #689):
share/mk/sys.mk: revision 1.143

Don't special case aarch64 and add -fomit-frame-pointer to builds.

This behaviour is probably due to a past behaviour of clang, where it
always emitted frame pointer code.

This is no longer true for clang on netbsd, and I don't think it was true
for GCC.

Meanwhile, this flag bleeds into pkgsrc where it breaks random packages,
requiring workarounds like lang/ruby*-base/hacks.mk.
2020-02-10 19:07:22 +00:00
martin 5c49c16e5e Pull up following revision(s) (requested by maxv in ticket #688):
share/man/man4/nvmm.4: revision 1.5
	lib/libnvmm/libnvmm.3: revision 1.26
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.47

Mmh, as noted in PR/54847, this should be uint64_t, not uint16_t. Harmless
because we use only the two lowest bits anyway.

I believe this could be caught by KUBSAN; time to do another round of
NVMM+K_SAN testing.

Reference nvmmctl(8).
2020-02-10 19:05:05 +00:00
martin c4e8a29490 Pull up following revision(s) (requested by jmcneill in ticket #686):
sys/arch/i386/stand/efiboot/efiboot.c: revision 1.12

Do not clear the screen before exiting boot services as this may cause an
undesired display mode switch. PR# 54615
2020-02-10 18:59:48 +00:00
martin f730f080fb Pull up following revision(s) (requested by jmcneill in ticket #685):
sys/arch/i386/stand/efiboot/eficons.c: revision 1.8

Fix a few bugs related to the framebuffer:
  - If a GOP mode wasn't explicitly requested, the bootloader was passing
    fb info to the kernel even if the console was in text mode! This
    results in garbled console output on at least ThinkPad T420 and
    likely many others. If a mode isn't specified, default to 800x600.
  - The "gop" command was incorrectly parsing video modes in the form
    WxHxD as WxWxD.
  - Allow a short form WxH for the "gop" command to select any mode with
    the target dimensions.
2020-02-10 18:57:06 +00:00
martin c83168f3dc Pull up following revision(s) (requested by kre in ticket #684):
bin/sh/jobs.c: revision 1.107
	bin/sh/main.c: revision 1.83
	bin/sh/main.c: revision 1.84
	bin/sh/main.c: revision 1.85

If we are invoked with SIGCHLD ignored, we fail badly, as we assume
that we can always wait(2) for our children, and an ignored SIGCHLD
prevents that.   Recent versions of bash can be convinced (due to a
bug most likely) to invoke us that way.   Always return SIGCHLD to
SIG_DFL during init - we already prevent scripts from fiddling it.

All ash derived shells apparently have this problem (observed by
Martijn Dekker, and notified on the bash-bug list).  Actual issue
diagnosed by Harald van Dijk (same list).

Actually, the issue with bash (in previous) is more likely that the
SIGCHLD is blocked rather than ignored.   We want neither.   Make sure
SIGCHLD is unblocked as well as SIG_DFL.

XXX pullup -9

bin/sh: Fixes -Werror=shadow causing build breaks.
Conflicting variable name, sigset_t sigs has been renamed to sigset_t mask

Reviewed by: kamil@

Avoid a core dump if a child process that is not one of our
children happens to exit while we are waiting for another child
to exit.

This can happen with code like
	sh -c '
		sleep 5 &
		exec sh -c "sleep 10 & wait !$"
	      '

when the inner "sh" is waiting for the 10 second sleep to be
done, the 5 second sleep started earlier terminates.   It is
a child of our process, as the inner shell is the same process
as the outer one, but not a known child (the inner shell has no
idea what the outer one did before it started).

This was observed in the wild by Martijn Dekker (where the outer
shell was bash but that's irrelevant).

XXX pullup -9
2020-02-10 18:54:14 +00:00
martin 9f3c59d977 Pull up following revision(s) (requested by mrg in ticket #683):
sys/dev/usb/ehci.c: revision 1.269

don't call usb_syncmem() for zero-length packets.
2020-02-10 18:50:29 +00:00
martin 2487336d6c Pull up following revision(s) (requested by tsutsui in ticket #682):
sys/arch/next68k/include/vmparam.h: revision 1.27
	sys/arch/mac68k/include/vmparam.h: revision 1.46
	sys/arch/sun3/include/vmparam.h: revision 1.38
	sys/arch/m68k/include/vmparam.h: revision 1.1
	sys/arch/hp300/include/vmparam.h: revision 1.41
	sys/arch/m68k/include/Makefile: revision 1.32
	sys/arch/amiga/include/vmparam.h: revision 1.48
	distrib/sets/lists/comp/ad.m68k: revision 1.63
	sys/arch/x68k/include/vmparam.h: revision 1.40
	sys/arch/mvme68k/include/vmparam.h: revision 1.38
	sys/arch/luna68k/include/vmparam.h: revision 1.23
	sys/arch/news68k/include/vmparam.h: revision 1.23
	sys/arch/atari/include/vmparam.h: revision 1.34
	sys/arch/cesfic/include/vmparam.h: revision 1.19

Add MAX/MIN PAGE_SIZE and PAGE_SHIFT definitions of m68k for jemalloc(3).

Background:
- All m68k ports have fixed PAGE_SIZE value in their kernels,
  but each port uses different PAGE_SIZE value (4096 or 8192)
  due to historical reasons.
- Currently module(7) binaries are built per each port so
  all m68k kernel sources don't support run-time variable PAGE_SIZE.
- MI <uvm/uvm_param.h> assumes that the port supports a variable
  PAGE_SIZE on module(7) builds if both MAX_PAGE_SIZE and MIN_PAGE_SIZE
  are defined and they have different values.
- On the other hand, jemalloc(3) checks MAX_PAGE_SHIFT in
  src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
  for internal optimization.
- m68k ports share userland binaries (especially pkgsrc binaries)
  among all ports, so we need to define MAX_PAGE_SHIFT as 13 to
  support m68k ports where PAGE_SIZE==8192.
  (though this would affect only if static binaries built on
   4k page hosts are executed on 8k page hosts)

To solve these inconsistency on PAGE_SIZE definitions,
we should have an independent PAGE_SIZE related definitions
for userland, but it requires major reorganization.

For now (especially for netbsd-9) we define MAX/MIN PAGE_SIZE and
PAGE_SHIFT values in <m68k/vmparam.h> only in !defined(_KERNEL) case.

Discussed on source-changes-d@ and tech-kern@ with christos@ and thorpej@:
 https://mail-index.netbsd.org/source-changes-d/2020/01/thread1.html#012035
 https://mail-index.netbsd.org/tech-kern/2020/01/thread1.html#025954

Should be pulled up to netbsd-9.
2020-02-10 18:46:39 +00:00
martin 84b36f9374 Pull up following revision(s) (requested by tsutsui in ticket #681):
distrib/news68k/floppies/ramdisk/Makefile: revision 1.38
	sys/arch/news68k/conf/INSTALL: revision 1.66

Add and enable dhcpcd for news68k installation.
news68k has already required two floppies since 9.0
so there is no popular demand to shrink ramdisk.
2020-02-10 18:28:33 +00:00
martin a415024888 Pull up following revision(s) (requested by jmcneill in ticket #680):
sys/arch/arm/cortex/gicv3_its.c: revision 1.25

Use kmem_zalloc for its state, fixes possible crash if a driver tries to
set affinity before a CPU is online.
2020-02-10 18:17:57 +00:00
martin cdf70dff7d Welcome to 9.0_RC2 2020-01-31 12:19:17 +00:00
martin 93114c3cc7 Tickets #670 - #672, #675 - #679 2020-01-31 11:33:59 +00:00
martin 70c4ff27ba Pull up following revision(s) (requested by knakahara in ticket #679):
sys/netipsec/ipsecif.c: revision 1.19

Fix IPv6 over IPv4 ipsecif(4) uses IPv4 SP wrongly.  Pointed out by ohishi@IIJ.
XXX pullup-8, pullup-9
2020-01-31 11:30:24 +00:00
martin 01a93c9ca9 Pull up following revision(s) (requested by msaitoh in ticket #678):
sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c: revision 1.12
	sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios_dp.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/i915/i915_reg.h: revision 1.9
	sys/external/bsd/drm2/dist/drm/i915/i915_reg.h: revision 1.12

 Use unsigned to avoid undefined behavior in gen7_get_stolen_reserved().
Found by kUBSan.

 Use unsigned to avoid undefined behavior in g4x_update_wm().

 Avoid undefined behavior in g4x_get_stolen_reserved().

The change is the same as newer i915_gem_stolen.c.

 Don't call memcpy() when the length is 0 (and the source pointer is NULL)
in radeon_dp_aux_transfer_atom() to avoid undefined behavior. Found by kUBSan.
2020-01-31 11:28:38 +00:00
martin dda8996267 Pull up following revision(s) (requested by msaitoh in ticket #677):
sys/external/bsd/drm2/dist/drm/radeon/radeon_uvd_v2_2.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/i915/intel_pm.c: revision 1.18
	sys/external/bsd/drm2/dist/drm/radeon/nid.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/i915/intel_pm.c: revision 1.19
	sys/external/bsd/drm2/dist/drm/radeon/rv770d.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/cikd.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_uvd_v4_2.c: revision 1.2
	sys/external/bsd/drm2/dist/include/drm/drm_fixed.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/sumod.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_reg.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_mode.h: revision 1.5
	sys/external/bsd/drm2/dist/drm/radeon/r600d.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/r600d.h: revision 1.4
	sys/external/bsd/drm2/dist/drm/radeon/radeon_uvd_v1_0.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/radeon/radeon_uvd_v1_0.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_r600.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/radeon/evergreend.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/evergreend.h: revision 1.4
	sys/external/bsd/drm2/dist/drm/i915/i915_reg.h: revision 1.10
	sys/external/bsd/drm2/dist/drm/i915/i915_reg.h: revision 1.8
	sys/external/bsd/drm2/dist/drm/i915/i915_reg.h: revision 1.11
	sys/external/bsd/drm2/dist/drm/i915/i915_reg.h: revision 1.13
	sys/external/bsd/drm2/dist/drm/radeon/rv730d.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_rv770_smc.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/radeon/sid.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_si_smc.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/radeon/sid.h: revision 1.4

Use unsigned to avoid undefined behavior. Found by kUBSan.
2020-01-31 11:25:09 +00:00
martin 2579821063 Pull up following revision(s) (requested by kim in ticket #676):
etc/rc.d/ipsec: revision 1.16

Skip inet6 addresses that begin with fe80: (not just exact match).
2020-01-31 11:21:42 +00:00
martin 1899c7a49f Pull up following revision(s) (requested by kim in ticket #675):
etc/rc.d/autounmountd: revision 1.3
	etc/rc.d/ip6addrctl: revision 1.4

Add NetBSD ID
2020-01-31 11:19:58 +00:00
martin 746021a2fe Pull up following revision(s) (requested by msaitoh in ticket #672):
sys/dev/ic/tulip.c: revision 1.198
	sys/dev/pci/if_jme.c: revision 1.45
	sys/dev/pci/agp.c: revision 1.86
	sys/dev/pci/if_lii.c: revision 1.27
	sys/dev/acpi/thinkpad_acpi.c: revision 1.47
	sys/dev/scsipi/scsipi_base.c: revision 1.183
	sys/dev/ic/aic6915reg.h: revision 1.6

 Fix undefined behavior in thinkpad_mask_init(). Found by kUBSan.

 Use unsigned when initialize the transmit completion ring to avoid undefined
behavior. Found by kUBSan.

Avoid undefined behavior when setting multicast address. found by kUBSan.

 Use unsigned to avoid undefined behavior in agpattach(). Found by kUBSan.

 Avoid undefined behavior in jme_mii_write(). Found by kUBSan.

 Use unsigned to avoid undefined behavior in lii_setmulti().

 Use unsigned to avoid undefined behavior in scsipi_{get,put}_tag().

Found by kUBSan.
2020-01-31 11:17:32 +00:00
martin c4f46ec221 Pull up following revision(s) (requested by msaitoh in ticket #671):
sys/dev/pci/if_bce.c: revision 1.53
	sys/dev/pci/pccbbreg.h: revision 1.16
	sys/dev/ic/rt2860.c: revision 1.34
	sys/dev/pci/if_alc.c: revision 1.45
	sys/dev/pci/if_mcx.c: revision 1.5
	sys/dev/pci/if_pcn.c: revision 1.72
	sys/dev/pci/if_ale.c: revision 1.37
	sys/dev/pci/if_age.c: revision 1.65
	sys/dev/ieee1394/fwohcireg.h: revision 1.20
	sys/dev/ieee1394/fwohci.c: revision 1.143
	sys/dev/ieee1394/firewire.c: revision 1.49
	sys/dev/ic/am79900reg.h: revision 1.10

 Use unsigned to avoid undefined behavior. Found by kUBSan.
2020-01-31 11:14:50 +00:00
martin 0fce228525 regen (for ticket #670) 2020-01-31 11:07:43 +00:00
martin 46cb320948 Pull up following revision(s) (requested by msaitoh in ticket #670):
sys/dev/pci/pcidevs: revision 1.1396
	sys/dev/pci/pcidevs: revision 1.1397
	sys/dev/pci/pcidevs: revision 1.1392
	sys/dev/pci/pcidevs: revision 1.1393
	sys/dev/pci/pcidevs: revision 1.1394
	sys/dev/pci/pcidevs: revision 1.1395

- Add Xeon D-1500 NTB-secondary

- Add Xeon D NS QuickData DMA channel 0-7

Add AMD Family14h PCIe.

Killer E3000
from OpenBSD

add Aquantia AQC 10G network adapters

 Add Intel I219 LM10-LM15 and V10-V14 from OpenBSD.

 Remove duplicated entries.
2020-01-31 11:06:31 +00:00
msaitoh d8b01767a9 Ticket #673. 2020-01-29 23:33:15 +00:00
msaitoh c1c5a36a19 Pull up following revision(s) (requested by martin in ticket #673):
usr.sbin/sysinst/arch/evbarm/md.c: revision 1.15
Do not compare a char array to NULL, test for empty string instead.
2020-01-29 23:31:30 +00:00
martin a78f1711b3 Tickets #661 - #664 and #667 2020-01-28 11:14:15 +00:00
martin 5f57aec03c Pull up following revision(s) (requested by msaitoh in ticket #667):
sys/dev/ic/rtl81x9var.h: revision 1.57
	sys/dev/ic/rtl81x9.c: revision 1.107
	sys/dev/ic/rtl81x9reg.h: revision 1.51
	sys/dev/ic/rtl8169.c: revision 1.160
	sys/dev/ic/rtl81x9reg.h: revision 1.52
	sys/dev/ic/rtl8169.c: revision 1.161

 Use unsigned in rtk_setmulti() to avoid undefined behavior. Found bk kUBSan.
8168H model didn't link up well. some models seems to require to enable TX/RX after configuration.
RTKQ_TXRXEN_LATER quirk flag added. it may be able to unify with RTKQ_RXDV_GATED flag?
 Sort RTK_HWREV_* by value.

Improve some chip revisions support:
 - Add 8168FP, 8411, 8168G, 8401E, 8105E, 8105E_SPIN1, 8106E and 8402 from
   {Free,Open}BSD.
 - Renumber RTK_HWREV_8103E from 0x24C00000 to 0x34c00000. 0x24C00000 is newly
   used as RTK_HWREV_8102EL_SPIN1. Same as {Free,Open}BSD.
2020-01-28 11:12:30 +00:00
martin e9c035c8b3 Pull up following revision(s) (requested by msaitoh in ticket #664):
sys/dev/pci/ixgbe/ixgbe_82598.c: revision 1.13
	sys/dev/pci/ixgbe/ixgbe.c: revision 1.219
	sys/dev/pci/ixgbe/ixgbe_phy.c: revision 1.20
	sys/dev/pci/ixgbe/ixgbe_x550.c: revision 1.17
	sys/dev/pci/ixgbe/ixgbe_82599.c: revision 1.22
	sys/dev/pci/ixgbe/ixgbe_type.h: revision 1.44

Add recovery code for unsupported SFP+.

Before this commit:
   If an unsupported SFP module is inserted before booting, the driver attach
   failed and there was no way to recover form it without rebooting or
   detaching/reattaching driver (drvctl -d && drvctl -r pciN).

After this commit:
   We can automatically recover any time by replacing it with a supported
   module.
2020-01-28 11:09:27 +00:00
martin 5cb10530e2 Pull up the following, requested by msaitoh in ticket #663:
sys/dev/mii/makphy.c			1.61, 1.63-1.64 via patch
	sys/dev/mii/makphyreg.h			1.10

- Remove ESSR_FIBER_LINK bit check in makphyattach(). This bit is
  valid only when the link is up, so it's not good to check in the
  attach function.
- There is an environment that both copper and fiber bits are set in
  EXTSR but it support copper only. To resolve this problem, check the
  ESSR register's HWCFG_MODE bit and drop unsupported bits.
- If the chip is in Fiber/Copper auto select mode, check which media is
  selected. Currently, the code supports 88E1011, 88E1111 and 88E1112
  only.
- Fix comment. KNF.
2020-01-28 11:04:14 +00:00
martin 8af167dc73 Pull up following revision(s) (requested by msaitoh in ticket #662):
sys/dev/pcmcia/if_xi.c: revision 1.93
	sys/arch/x86/pci/if_vmx.c: revision 1.54
	sys/dev/pci/if_de.c: revision 1.165
	sys/arch/arm/ti/if_cpsw.c: revision 1.10
	sys/arch/arm/omap/if_cpsw.c: revision 1.26
	sys/dev/isa/if_iy.c: revision 1.112
	sys/dev/pcmcia/if_ray.c: revision 1.96

Add ETHER_LOCK() and ETHER_UNLOCK() to protect ec_multiaddrs.

XXX These drivers don't check whether enm_addrlo and enm_addrhi are the same
or not, so it won't work correctly if an multicast address entry has a range.

Protect ec_multicnt.
2020-01-28 11:01:37 +00:00
msaitoh fa44f7c532 Ticket #668 and #669. 2020-01-28 10:21:39 +00:00
msaitoh 1c04c84883 Pull up following revision(s) (requested by martin in ticket #669):
distrib/playstation2/miniroot/dot.profile: revision 1.5
	distrib/sparc64/instfs/dot.profile: revision 1.8
	distrib/hpcarm/miniroot/dot.profile: revision 1.3
	distrib/emips/miniroot/dot.profile: revision 1.2
	distrib/x68k/floppies/ramdisk/dot.profile: revision 1.16
	distrib/zaurus/ramdisk/dot.profile: revision 1.4
	distrib/i386/ramdisks/common/dot.profile: revision 1.7
	distrib/cobalt/ramdisk/dot.profile: revision 1.2
	distrib/hpcsh/miniroot/dot.profile: revision 1.5
	distrib/evbarm/instkernel/ramdisk/dot.profile: revision 1.3
	distrib/riscv/ramdisk/dot.profile: revision 1.2
	distrib/sandpoint/ramdisk/dot.profile: revision 1.2
	distrib/landisk/ramdisk/dot.profile: revision 1.3
	distrib/amd64/ramdisks/common/dot.profile: revision 1.4
	distrib/macppc/floppies/ramdisk/dot.profile: revision 1.14
	distrib/mipsco/ramdisk/dot.profile: revision 1.3
	distrib/evbmips/instkernel/ramdisk/dot.profile: revision 1.2
	distrib/acorn32/ramdisk/dot.profile: revision 1.4
	distrib/cats/ramdisk/dot.profile: revision 1.5
	distrib/vax/ramdisk/dot.profile: revision 1.10
	distrib/pmax/miniroot/dot.profile: revision 1.3
	distrib/sparc/miniroot/dot.profile: revision 1.16
	distrib/hpcmips/miniroot/dot.profile: revision 1.8
	distrib/prep/floppies/ramdisk/dot.profile: revision 1.3
	distrib/news68k/floppies/ramdisk/dot.profile: revision 1.8
	distrib/alpha/instkernel/ramdisk/dot.profile: revision 1.11
	distrib/ofppc/ramdisks/common/dot.profile: revision 1.2
	distrib/mac68k/instkernel/ramdisk/dot.profile: revision 1.9
	distrib/hp300/ramdisk/dot.profile: revision 1.7
	distrib/ews4800mips/floppies/ramdisk/dot.profile: revision 1.2
	distrib/emips/ramdisk/dot.profile: revision 1.3
	distrib/newsmips/floppies/ramdisk/dot.profile: revision 1.7
	distrib/bebox/ramdisk/dot.profile: revision 1.2
	distrib/rs6000/ramdisk/dot.profile: revision 1.2
	distrib/sgimips/miniroot/dot.profile: revision 1.2
	distrib/mvme68k/miniroot/dot.profile: revision 1.9
	distrib/hppa/ramdisk/dot.profile: revision 1.2
	distrib/luna68k/ramdisk/dot.profile: revision 1.2
	distrib/sgimips/ramdisk/dot.profile: revision 1.4
	distrib/evbsh3/instkernel/ramdisk/dot.profile: revision 1.2
	distrib/evbppc/ramdisk/dot.profile: revision 1.5
	distrib/shark/instkernel/ramdisk/dot.profile: revision 1.5
	distrib/pmax/ramdisk/dot.profile: revision 1.11
	distrib/dreamcast/ramdisk/dot.profile: revision 1.3
	distrib/arc/ramdisk/dot.profile: revision 1.5
	distrib/atari/floppies/common/dot.profile: revision 1.8
PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
2020-01-28 10:20:23 +00:00
msaitoh ee996129cf Pull up following revision(s) (requested by martin in ticket #668):
usr.sbin/sysinst/arch/cobalt/md.c: revision 1.11
	usr.sbin/sysinst/arch/cobalt/md.c: revision 1.12
	usr.sbin/sysinst/arch/arc/md.c: revision 1.11
	usr.sbin/sysinst/arch/arc/md.c: revision 1.12
	usr.sbin/sysinst/partman.c: revision 1.43
	usr.sbin/sysinst/partman.c: revision 1.46
	usr.sbin/sysinst/partman.c: revision 1.47
	usr.sbin/sysinst/partman.c: revision 1.48
	usr.sbin/sysinst/partman.c: revision 1.49
	usr.sbin/sysinst/msg.pm.fr: revision 1.2
	usr.sbin/sysinst/upgrade.c: revision 1.14
	usr.sbin/sysinst/arch/i386/md.c: revision 1.28
	usr.sbin/sysinst/arch/i386/md.c: revision 1.29
	usr.sbin/sysinst/arch/ofppc/md.c: revision 1.9
	usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.7
	usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.8
	usr.sbin/sysinst/gpt.c: revision 1.14
	usr.sbin/sysinst/gpt.c: revision 1.15
	usr.sbin/sysinst/arch/luna68k/md.c: revision 1.8
	usr.sbin/sysinst/gpt.c: revision 1.16
	usr.sbin/sysinst/msg.pm.de: revision 1.2
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.11
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.12
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.13
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.14
	usr.sbin/sysinst/sizemultname.c: revision 1.4
	usr.sbin/sysinst/msg.pm.en: revision 1.2
	usr.sbin/sysinst/arch/landisk/md.c: revision 1.12
	usr.sbin/sysinst/util.c: revision 1.41
	usr.sbin/sysinst/arch/landisk/md.c: revision 1.13
	usr.sbin/sysinst/util.c: revision 1.42
	usr.sbin/sysinst/arch/ofppc/md.c: revision 1.10
	usr.sbin/sysinst/partitions.c: revision 1.9
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.4
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.5
	usr.sbin/sysinst/arch/evbmips/md.c: revision 1.7
	usr.sbin/sysinst/arch/evbmips/md.c: revision 1.8
	usr.sbin/sysinst/msg.mi.fr: revision 1.25
	usr.sbin/sysinst/msg.mi.de: revision 1.20
	usr.sbin/sysinst/install.c: revision 1.14
	usr.sbin/sysinst/partitions.h: revision 1.13
	usr.sbin/sysinst/partitions.h: revision 1.14
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.7
	usr.sbin/sysinst/arch/playstation2/md.c: revision 1.7
	usr.sbin/sysinst/msg.mi.en: revision 1.27
	usr.sbin/sysinst/partitions.h: revision 1.15
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.8
	usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.7
	usr.sbin/sysinst/arch/playstation2/md.c: revision 1.8
	usr.sbin/sysinst/msg.pm.pl: revision 1.2
	usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.8
	usr.sbin/sysinst/msg.mi.es: revision 1.21
	usr.sbin/sysinst/arch/zaurus/md.c: revision 1.7
	usr.sbin/sysinst/target.c: revision 1.11
	usr.sbin/sysinst/arch/zaurus/md.c: revision 1.8
	usr.sbin/sysinst/part_edit.c: revision 1.14
	usr.sbin/sysinst/part_edit.c: revision 1.15
	usr.sbin/sysinst/part_edit.c: revision 1.16
	usr.sbin/sysinst/defs.h: revision 1.50
	usr.sbin/sysinst/defs.h: revision 1.51
	usr.sbin/sysinst/defs.h: revision 1.52
	usr.sbin/sysinst/defs.h: revision 1.53
	usr.sbin/sysinst/defs.h: revision 1.54
	usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.7
	usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.8
	usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.8
	usr.sbin/sysinst/msg.pm.es: revision 1.2
	usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.9
	usr.sbin/sysinst/label.c: revision 1.18
	usr.sbin/sysinst/label.c: revision 1.19
	usr.sbin/sysinst/net.c: revision 1.35
	usr.sbin/sysinst/msg.mi.pl: revision 1.28
	usr.sbin/sysinst/disklabel.c: revision 1.28
	usr.sbin/sysinst/disklabel.c: revision 1.29
	usr.sbin/sysinst/mbr.c: revision 1.24
	usr.sbin/sysinst/disks.c: revision 1.59
	usr.sbin/sysinst/mbr.c: revision 1.25
	usr.sbin/sysinst/mbr.c: revision 1.26
	usr.sbin/sysinst/mbr.c: revision 1.27
	usr.sbin/sysinst/mbr.c: revision 1.28
	usr.sbin/sysinst/label.c: revision 1.20
	usr.sbin/sysinst/mbr.c: revision 1.29
	usr.sbin/sysinst/bsddisklabel.c: revision 1.34
	usr.sbin/sysinst/bsddisklabel.c: revision 1.35
	usr.sbin/sysinst/bsddisklabel.c: revision 1.36
	usr.sbin/sysinst/bsddisklabel.c: revision 1.37
	usr.sbin/sysinst/disklabel.c: revision 1.30
	usr.sbin/sysinst/bsddisklabel.c: revision 1.38
	usr.sbin/sysinst/disklabel.c: revision 1.31
	usr.sbin/sysinst/disklabel.c: revision 1.32
	usr.sbin/sysinst/disklabel.c: revision 1.33
	usr.sbin/sysinst/disklabel.c: revision 1.34
	usr.sbin/sysinst/disks.c: revision 1.60
	usr.sbin/sysinst/disks.c: revision 1.61
	usr.sbin/sysinst/arch/bebox/md.c: revision 1.7
	usr.sbin/sysinst/disks.c: revision 1.62
	usr.sbin/sysinst/arch/bebox/md.c: revision 1.8
	usr.sbin/sysinst/mbr.c: revision 1.30
	usr.sbin/sysinst/partitions.c: revision 1.10
	usr.sbin/sysinst/arch/prep/md.c: revision 1.11
	usr.sbin/sysinst/arch/prep/md.c: revision 1.12
	usr.sbin/sysinst/menus.pm: revision 1.3
	usr.sbin/sysinst/main.c: revision 1.20
	usr.sbin/sysinst/menus.mi: revision 1.20
	usr.sbin/sysinst/menus.mi: revision 1.21
avoid calling snprintf/strlcat with an input parameter the same
as the output.  from martin@.  fixes gcc 8 restrict warnings.
Finish conversion of extended partitioning parts to new abstract
backend interface. XXX still could use a lot of polishing.
Instead of a (bogus) attempt to query the model via ofctl, use the (now
fixed) sysctl hw.model instead.
When reading the secondary disklabel partitions from an existing disklabel
set the mbr partitions as parent.
Move the LABELSECTOR check and make it FS type specific - some partition
types (FFS, RAID) are allowed to overlap with the LABELSECTOR.
When asked to create a whole-disk partition for unknown usage, do not only
assert(false), but actually return an error (in case "assert" is a nop).
PR install/54787: when trying to derive proper alignement and first offset
from exisiting partitions, use the first partition offset if it is already
closer to the start of the disk than the prefered alignment - we can not
move existing partitions around.
Fix handling of inner/outer partitions (e.g. MBR and disklabel) in
extended partitioning:
 - when editing a disk with such a schme, offer both partitions in two
   steps
 - when commiting changes save the inner partitions after the outer ones
Add a method to query the partitioning schemes "internal idea" of a
cylinder size - whatever that means in the real world.
Avoid using the global "pm" variable in utility functions - during
extended partitioning they may point to a different device.
Remove useless calls to get_ramsize() - return value is ignored and
the function has no side effects.
Fix /tmp tmpfs handling and on machines with enough RAM default to
creating a /tmp tmpfs with 25% of ram size limit. Suggested by ad@.
PR install/54872: fix printf argument order, sectors and heads were
swapped in the bios geometry display.
First try to bring evbarm installation closer to current reality.
hide disklabel_non_bootable() under NO_DISKLABEL_BOOT like the usage.
should fix most builds.
Deal with even stranger fictious empty disklabels (PR kern/54882).
Factor out all RAM size thresholds as defines to avoid magic numbers.
To work around PR misc/54886 bump the threshold for a tmpfs /tmp mount
up to 256 MB.
When retrying sets during extraction, reset the relevant statistics
to avoid counting retried sets multiple times.
Reported by kim.
Fix support for non-512-byte/sector disks again after I broke it when
introducing the abstract partition backends.
Use a few strlcpy() instead of strncpy() for network ioctl structs.
We seem to have no formal documentation stating the various
	char if*_name[IFNAMSIZ]; /* if name, e.g. "en0" */
elements in ioctls are nul terminated, but the peanut gallery claims
it is so - and at least half of the code in-tree touching them agrees.
Too much disklabel magic happening in the kernel - to compensate force
MBR first when trying to identify the existing partitioning scheme of
a disk.
2020-01-28 10:17:57 +00:00
martin ba23a72750 Pull up the following, requested by roy in ticket # 661:
external/bsd/dhcpcd/dist/src/defs.h             up to 1.1.1.37
	external/bsd/dhcpcd/dist/src/dhcp.c             up to 1.32
	external/bsd/dhcpcd/dist/src/if-bsd.c           up to 1.16
	external/bsd/dhcpcd/dist/src/ipv6.c             up to 1.8
	external/bsd/dhcpcd/dist/src/ipv6.h             up to 1.8
	external/bsd/dhcpcd/dist/src/ipv6nd.c           up to 1.16
	external/bsd/dhcpcd/dist/src/script.c           up to 1.2
	doc/3RDPARTY					manually edited

Update to dhcpcd-8.1.6 with the following changes:

 * INET6: Support a /128 prefix advertised via RA
 * BSD: More address validation from route(4) messages
 * DHCP: Fix a potential segfault on DaD failure
 * IPv4LL: Fix a potential segfault when dropping IPv4LL addresses
2020-01-28 09:48:33 +00:00
msaitoh 6e012ca325 Ticket #665 and #666. 2020-01-28 09:10:10 +00:00
msaitoh 515a8b66d6 Pull up following revision(s) (requested by martin in ticket #666):
distrib/evbmips/instkernel/ramdisk/Makefile: revision 1.14
PR install/54777: add dhcpcd to the install ramdisk
2020-01-28 09:08:10 +00:00
msaitoh 7d721da7a9 Pull up following revision(s) (requested by martin in ticket #665):
sys/dev/fdt/fdtbus.c: revision 1.32
First arg of cpu_setmodel needs to be a format string - fix the llvm build.
From maxv.
2020-01-28 09:06:37 +00:00
martin 84d68c55be Tickets #657 - #660 2020-01-27 07:29:56 +00:00
martin d90df489a1 Update for ticket #660 2020-01-27 07:26:41 +00:00
martin 9dd00ec435 Pull up the following revisions, requested by christos in ticket #660:
crypto/external/bsd/openssl/dist/doc/man3/CRYPTO_memcmp.pod up to 1.1.1.1
	crypto/external/bsd/openssl/dist/doc/man3/X509_cmp.pod up to 1.1.1.1
	crypto/external/bsd/openssl/dist/test/certs/server-pss-restrict-cert.pem up to 1.1.1.1
	crypto/external/bsd/openssl/dist/test/certs/server-pss-restrict-key.pem up to 1.1.1.1
	crypto/external/bsd/openssl/dist/test/recipes/80-test_cms_data/bad_signtime_attr.cms up to 1.1.1.1
	crypto/external/bsd/openssl/dist/test/recipes/80-test_cms_data/ct_multiple_attr.cms up to 1.1.1.1
	crypto/external/bsd/openssl/dist/test/recipes/80-test_cms_data/no_ct_attr.cms up to 1.1.1.1
	crypto/external/bsd/openssl/dist/test/recipes/80-test_cms_data/no_md_attr.cms up to 1.1.1.1
	crypto/external/bsd/openssl/dist/test/testutil/random.c up to 1.1.1.1
	crypto/external/bsd/openssl/dist/util/perl/TLSProxy/CertificateRequest.pm up to 1.1.1.1
	crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-586.pl delete
	crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-x86_64.pl delete
	crypto/external/bsd/openssl/dist/crypto/aes/asm/bsaes-x86_64.pl delete
	crypto/external/bsd/openssl/dist/CHANGES        up to 1.21
	crypto/external/bsd/openssl/dist/Configure      up to 1.25
	crypto/external/bsd/openssl/dist/INSTALL        up to 1.1.1.11
	crypto/external/bsd/openssl/dist/NEWS           up to 1.21
	crypto/external/bsd/openssl/dist/NOTES.WIN      up to 1.1.1.3
	crypto/external/bsd/openssl/dist/README         up to 1.21
	crypto/external/bsd/openssl/dist/config         up to 1.1.1.10
	crypto/external/bsd/openssl/dist/e_os.h         up to 1.15
	crypto/external/bsd/openssl/dist/Configurations/00-base-templates.conf up to 1.1.1.5
	crypto/external/bsd/openssl/dist/Configurations/10-main.conf up to 1.1.1.6
	crypto/external/bsd/openssl/dist/Configurations/15-ios.conf up to 1.1.1.3
	crypto/external/bsd/openssl/dist/Configurations/50-win-onecore.conf up to 1.1.1.3
	crypto/external/bsd/openssl/dist/Configurations/common0.tmpl up to 1.1.1.3
	crypto/external/bsd/openssl/dist/Configurations/unix-Makefile.tmpl up to 1.1.1.8
	crypto/external/bsd/openssl/dist/apps/apps.c    up to 1.1.1.20
	crypto/external/bsd/openssl/dist/apps/apps.h    up to 1.1.1.14
	crypto/external/bsd/openssl/dist/apps/ca.c      up to 1.19
	crypto/external/bsd/openssl/dist/apps/dgst.c    up to 1.1.1.14
	crypto/external/bsd/openssl/dist/apps/enc.c     up to 1.1.1.15
	crypto/external/bsd/openssl/dist/apps/ocsp.c    up to 1.20
	crypto/external/bsd/openssl/dist/apps/openssl.c up to 1.5
	crypto/external/bsd/openssl/dist/apps/pkcs12.c  up to 1.1.1.14
	crypto/external/bsd/openssl/dist/apps/req.c     up to 1.3
	crypto/external/bsd/openssl/dist/apps/s_apps.h  up to 1.1.1.7
	crypto/external/bsd/openssl/dist/apps/s_cb.c    up to 1.1.1.17
	crypto/external/bsd/openssl/dist/apps/s_client.c up to 1.20
	crypto/external/bsd/openssl/dist/apps/speed.c   up to 1.19
	crypto/external/bsd/openssl/dist/apps/storeutl.c up to 1.1.1.2
	crypto/external/bsd/openssl/dist/crypto/arm_arch.h up to 1.7
	crypto/external/bsd/openssl/dist/crypto/ctype.c up to 1.1.1.2
	crypto/external/bsd/openssl/dist/crypto/init.c  up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/o_str.c up to 1.1.1.8
	crypto/external/bsd/openssl/dist/crypto/s390xcap.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/threads_none.c up to 1.1.1.3
	crypto/external/bsd/openssl/dist/crypto/threads_pthread.c up to 1.4
	crypto/external/bsd/openssl/dist/crypto/threads_win.c up to 1.1.1.5
	crypto/external/bsd/openssl/dist/crypto/uid.c   up to 1.7
	crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-s390x.pl up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/asn1/a_time.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/asn1/a_type.c up to 1.7
	crypto/external/bsd/openssl/dist/crypto/asn1/x_bignum.c up to 1.1.1.6
	crypto/external/bsd/openssl/dist/crypto/bio/b_addr.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/bio/bss_dgram.c up to 1.1.1.17
	crypto/external/bsd/openssl/dist/crypto/bio/bss_file.c up to 1.12
	crypto/external/bsd/openssl/dist/crypto/bio/bss_mem.c up to 1.1.1.10
	crypto/external/bsd/openssl/dist/crypto/bn/bn_div.c up to 1.1.1.12
	crypto/external/bsd/openssl/dist/crypto/bn/bn_lcl.h up to 1.9
	crypto/external/bsd/openssl/dist/crypto/bn/bn_lib.c up to 1.13
	crypto/external/bsd/openssl/dist/crypto/bn/bn_prime.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/bn/bn_rand.c up to 1.4
	crypto/external/bsd/openssl/dist/crypto/bn/bn_sqrt.c up to 1.1.1.5
	crypto/external/bsd/openssl/dist/crypto/bn/asm/mips.pl up to 1.6
	crypto/external/bsd/openssl/dist/crypto/cms/cms_att.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/crypto/cms/cms_env.c up to 1.1.1.11
	crypto/external/bsd/openssl/dist/crypto/cms/cms_err.c up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/cms/cms_lcl.h up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/cms/cms_sd.c up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/cms/cms_smime.c up to 1.1.1.12
	crypto/external/bsd/openssl/dist/crypto/conf/conf_sap.c up to 1.1.1.8
	crypto/external/bsd/openssl/dist/crypto/dh/dh_check.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/dh/dh_gen.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/dh/dh_key.c up to 1.1.1.10
	crypto/external/bsd/openssl/dist/crypto/dh/dh_lib.c up to 1.5
	crypto/external/bsd/openssl/dist/crypto/dsa/dsa_ameth.c up to 1.10
	crypto/external/bsd/openssl/dist/crypto/dsa/dsa_err.c up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/dsa/dsa_ossl.c up to 1.1.1.12
	crypto/external/bsd/openssl/dist/crypto/dso/dso_dlfcn.c up to 1.15
	crypto/external/bsd/openssl/dist/crypto/ec/ec_asn1.c up to 1.8
	crypto/external/bsd/openssl/dist/crypto/ec/ec_curve.c up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/ec/ec_lcl.h up to 1.7
	crypto/external/bsd/openssl/dist/crypto/ec/ec_lib.c up to 1.7
	crypto/external/bsd/openssl/dist/crypto/ec/ecdh_ossl.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/crypto/ec/ecdsa_ossl.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/crypto/ec/ecp_nistp224.c up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/ec/ecp_nistp256.c up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/ec/ecp_nistp521.c up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/ec/ecp_nistputil.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/crypto/ec/ecx_meth.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-sparcv9.pl up to 1.1.1.4
	crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-x86_64.pl up to 1.1.1.5
	crypto/external/bsd/openssl/dist/crypto/ec/asm/x25519-ppc64.pl up to 1.1.1.2
	crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c up to 1.6
	crypto/external/bsd/openssl/dist/crypto/engine/eng_openssl.c up to 1.1.1.5
	crypto/external/bsd/openssl/dist/crypto/err/err.c up to 1.1.1.11
	crypto/external/bsd/openssl/dist/crypto/err/openssl.txt up to 1.1.1.4
	crypto/external/bsd/openssl/dist/crypto/evp/bio_ok.c up to 1.1.1.10
	crypto/external/bsd/openssl/dist/crypto/evp/e_aes.c up to 1.19
	crypto/external/bsd/openssl/dist/crypto/evp/e_aria.c up to 1.1.1.3
	crypto/external/bsd/openssl/dist/crypto/evp/e_chacha20_poly1305.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/crypto/evp/e_rc5.c up to 1.1.1.5
	crypto/external/bsd/openssl/dist/crypto/evp/evp_err.c up to 1.1.1.14
	crypto/external/bsd/openssl/dist/crypto/evp/evp_lib.c up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/evp/m_sha3.c up to 1.1.1.2
	crypto/external/bsd/openssl/dist/crypto/include/internal/ctype.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/crypto/include/internal/rand_int.h up to 1.1.1.3
	crypto/external/bsd/openssl/dist/crypto/include/internal/sm2err.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/crypto/lhash/lhash.c up to 1.8
	crypto/external/bsd/openssl/dist/crypto/pem/pvkfmt.c up to 1.1.1.13
	crypto/external/bsd/openssl/dist/crypto/pkcs7/pk7_doit.c up to 1.10
	crypto/external/bsd/openssl/dist/crypto/rand/drbg_lib.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/crypto/rand/rand_err.c up to 1.1.1.8
	crypto/external/bsd/openssl/dist/crypto/rand/rand_lcl.h up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/rand/rand_lib.c up to 1.1.1.12
	crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c up to 1.13
	crypto/external/bsd/openssl/dist/crypto/rand/rand_win.c up to 1.1.1.12
	crypto/external/bsd/openssl/dist/crypto/rsa/rsa_ameth.c up to 1.1.1.13
	crypto/external/bsd/openssl/dist/crypto/rsa/rsa_err.c up to 1.7
	crypto/external/bsd/openssl/dist/crypto/rsa/rsa_gen.c up to 1.5
	crypto/external/bsd/openssl/dist/crypto/rsa/rsa_lib.c up to 1.6
	crypto/external/bsd/openssl/dist/crypto/rsa/rsa_ossl.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-armv4.pl up to 1.1.1.2
	crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-armv8.pl up to 1.1.1.3
	crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-sparcv9.pl up to 1.1.1.7
	crypto/external/bsd/openssl/dist/crypto/sm2/sm2_sign.c up to 1.1.1.3
	crypto/external/bsd/openssl/dist/crypto/store/loader_file.c up to 1.1.1.2
	crypto/external/bsd/openssl/dist/crypto/store/store_lib.c up to 1.1.1.2
	crypto/external/bsd/openssl/dist/crypto/ui/ui_lib.c up to 1.6
	crypto/external/bsd/openssl/dist/crypto/ui/ui_openssl.c up to 1.15
	crypto/external/bsd/openssl/dist/crypto/whrlpool/wp_block.c up to 1.1.1.6
	crypto/external/bsd/openssl/dist/crypto/x509/by_dir.c up to 1.1.1.10
	crypto/external/bsd/openssl/dist/crypto/x509/t_req.c up to 1.1.1.3
	crypto/external/bsd/openssl/dist/crypto/x509/x509_att.c up to 1.1.1.6
	crypto/external/bsd/openssl/dist/crypto/x509/x509_cmp.c up to 1.1.1.12
	crypto/external/bsd/openssl/dist/crypto/x509/x509_err.c up to 1.1.1.8
	crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c up to 1.1.1.13
	crypto/external/bsd/openssl/dist/crypto/x509/x509_vfy.c up to 1.17
	crypto/external/bsd/openssl/dist/crypto/x509v3/v3_alt.c up to 1.1.1.9
	crypto/external/bsd/openssl/dist/crypto/x509v3/v3_purp.c up to 1.1.1.10
	crypto/external/bsd/openssl/dist/demos/bio/descrip.mms up to 1.1.1.3
	crypto/external/bsd/openssl/dist/demos/evp/aesgcm.c up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/HOWTO/proxy_certificates.txt up to 1.1.1.7
	crypto/external/bsd/openssl/dist/doc/man1/engine.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man1/errstr.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man1/pkcs12.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man1/pkeyparam.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man1/s_client.pod up to 1.1.1.4
	crypto/external/bsd/openssl/dist/doc/man1/s_server.pod up to 1.1.1.5
	crypto/external/bsd/openssl/dist/doc/man3/ADMISSIONS.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/ASYNC_start_job.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/BIO_connect.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/BIO_f_ssl.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/BIO_find_type.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/BIO_new.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/BIO_s_accept.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/BIO_s_bio.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/BIO_s_connect.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/BIO_s_fd.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/BIO_s_mem.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/BIO_set_callback.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/BN_generate_prime.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/BN_mod_mul_montgomery.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/BN_new.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/CMS_final.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/CRYPTO_THREAD_run_once.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/DES_random_key.pod up to 1.1.1.4
	crypto/external/bsd/openssl/dist/doc/man3/DSA_generate_key.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/DSA_sign.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/ECDSA_SIG_new.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_DigestInit.pod up to 1.1.1.4
	crypto/external/bsd/openssl/dist/doc/man3/EVP_DigestSignInit.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_DigestVerifyInit.pod up to 1.1.1.4
	crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_CTX_set_tls1_prf_md.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_decrypt.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_derive.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_encrypt.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_sign.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_verify.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_verify_recover.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_SealInit.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/EVP_SignInit.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_VerifyInit.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/EVP_aria.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_md5.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/EVP_rc5_32_12_16_cbc.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/OCSP_REQUEST_new.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/OPENSSL_fork_prepare.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/OSSL_STORE_LOADER.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/OSSL_STORE_expect.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/PKCS12_newpass.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/RAND_DRBG_set_callbacks.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/RAND_set_rand_method.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/RSA_blinding_on.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/RSA_generate_key.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/RSA_padding_add_PKCS1_type_1.pod up to 1.1.1.4
	crypto/external/bsd/openssl/dist/doc/man3/RSA_public_encrypt.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/RSA_sign_ASN1_OCTET_STRING.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_config.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_dane_enable.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_get0_param.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_new.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_set_cipher_list.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_set_generate_session_id.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_set_session_id_context.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_set_verify.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/SSL_SESSION_get0_hostname.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/SSL_get_error.pod up to 1.1.1.5
	crypto/external/bsd/openssl/dist/doc/man3/SSL_library_init.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/SSL_set1_host.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/SSL_write.pod up to 1.1.1.4
	crypto/external/bsd/openssl/dist/doc/man3/X509_STORE_CTX_get_error.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/X509_STORE_CTX_set_verify_cb.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/X509_STORE_add_cert.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/X509_STORE_new.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/X509_VERIFY_PARAM_set_flags.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man3/X509_get_extension_flags.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man3/d2i_X509.pod up to 1.1.1.3
	crypto/external/bsd/openssl/dist/doc/man5/x509v3_config.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man7/Ed25519.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man7/RAND.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man7/SM2.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man7/X25519.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man7/bio.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/doc/man7/scrypt.pod up to 1.1.1.2
	crypto/external/bsd/openssl/dist/engines/build.info up to 1.1.1.3
	crypto/external/bsd/openssl/dist/engines/e_afalg.c up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/internal/constant_time_locl.h up to 1.1.1.4
	crypto/external/bsd/openssl/dist/include/internal/cryptlib.h up to 1.1.1.4
	crypto/external/bsd/openssl/dist/include/internal/dsoerr.h up to 1.1.1.3
	crypto/external/bsd/openssl/dist/include/internal/refcount.h up to 1.4
	crypto/external/bsd/openssl/dist/include/internal/thread_once.h up to 1.1.1.3
	crypto/external/bsd/openssl/dist/include/internal/tsan_assist.h up to 1.6
	crypto/external/bsd/openssl/dist/include/openssl/asn1err.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/asyncerr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/bio.h up to 1.1.1.5
	crypto/external/bsd/openssl/dist/include/openssl/bioerr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/bnerr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/buffererr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/cms.h up to 1.1.1.3
	crypto/external/bsd/openssl/dist/include/openssl/cmserr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/comperr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/conferr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/cryptoerr.h up to 1.1.1.3
	crypto/external/bsd/openssl/dist/include/openssl/cterr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/dherr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/dsaerr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/ec.h up to 1.1.1.4
	crypto/external/bsd/openssl/dist/include/openssl/ecerr.h up to 1.1.1.3
	crypto/external/bsd/openssl/dist/include/openssl/engineerr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/evp.h up to 1.1.1.7
	crypto/external/bsd/openssl/dist/include/openssl/evperr.h up to 1.1.1.3
	crypto/external/bsd/openssl/dist/include/openssl/kdferr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/objectserr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/ocsperr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/opensslv.h up to 1.1.1.8
	crypto/external/bsd/openssl/dist/include/openssl/pemerr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/pkcs12err.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/pkcs7err.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/randerr.h up to 1.1.1.3
	crypto/external/bsd/openssl/dist/include/openssl/rsaerr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/ssl.h up to 1.1.1.8
	crypto/external/bsd/openssl/dist/include/openssl/sslerr.h up to 1.1.1.3
	crypto/external/bsd/openssl/dist/include/openssl/store.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/storeerr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/tls1.h up to 1.1.1.5
	crypto/external/bsd/openssl/dist/include/openssl/tserr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/uierr.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/x509err.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/include/openssl/x509v3.h up to 1.1.1.5
	crypto/external/bsd/openssl/dist/include/openssl/x509v3err.h up to 1.1.1.2
	crypto/external/bsd/openssl/dist/ssl/d1_msg.c   up to 1.1.1.3
	crypto/external/bsd/openssl/dist/ssl/s3_lib.c   up to 1.25
	crypto/external/bsd/openssl/dist/ssl/ssl_cert.c up to 1.1.1.13
	crypto/external/bsd/openssl/dist/ssl/ssl_ciph.c up to 1.19
	crypto/external/bsd/openssl/dist/ssl/ssl_lib.c  up to 1.17
	crypto/external/bsd/openssl/dist/ssl/ssl_locl.h up to 1.23
	crypto/external/bsd/openssl/dist/ssl/ssl_sess.c up to 1.8
	crypto/external/bsd/openssl/dist/ssl/t1_lib.c   up to 1.30
	crypto/external/bsd/openssl/dist/ssl/tls13_enc.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/ssl/record/rec_layer_s3.c up to 1.1.1.5
	crypto/external/bsd/openssl/dist/ssl/statem/extensions.c up to 1.1.1.5
	crypto/external/bsd/openssl/dist/ssl/statem/extensions_clnt.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/ssl/statem/extensions_srvr.c up to 1.1.1.3
	crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c up to 1.1.1.8
	crypto/external/bsd/openssl/dist/ssl/statem/statem_lib.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/ssl/statem/statem_srvr.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/test/asn1_time_test.c up to 1.1.1.2
	crypto/external/bsd/openssl/dist/test/bio_memleak_test.c up to 1.1.1.3
	crypto/external/bsd/openssl/dist/test/bntest.c  up to 1.7
	crypto/external/bsd/openssl/dist/test/build.info up to 1.1.1.8
	crypto/external/bsd/openssl/dist/test/conf_include_test.c up to 1.1.1.2
	crypto/external/bsd/openssl/dist/test/ct_test.c up to 1.1.1.5
	crypto/external/bsd/openssl/dist/test/dhtest.c  up to 1.5
	crypto/external/bsd/openssl/dist/test/drbgtest.c up to 1.1.1.4
	crypto/external/bsd/openssl/dist/test/dtlstest.c up to 1.1.1.6
	crypto/external/bsd/openssl/dist/test/ectest.c  up to 1.6
	crypto/external/bsd/openssl/dist/test/enginetest.c up to 1.4
	crypto/external/bsd/openssl/dist/test/evp_extra_test.c up to 1.8
	crypto/external/bsd/openssl/dist/test/evp_test.c up to 1.8
	crypto/external/bsd/openssl/dist/test/sslapitest.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/test/ssltestlib.c up to 1.1.1.7
	crypto/external/bsd/openssl/dist/test/ssltestlib.h up to 1.1.1.7
	crypto/external/bsd/openssl/dist/test/testutil.h up to 1.1.1.5
	crypto/external/bsd/openssl/dist/test/tls13secretstest.c up to 1.1.1.3
	crypto/external/bsd/openssl/dist/test/certs/mkcert.sh up to 1.1.1.3
	crypto/external/bsd/openssl/dist/test/certs/setup.sh up to 1.1.1.5
	crypto/external/bsd/openssl/dist/test/recipes/70-test_sslmessages.t up to 1.1.1.4
	crypto/external/bsd/openssl/dist/test/recipes/70-test_tls13kexmodes.t up to 1.1.1.2
	crypto/external/bsd/openssl/dist/test/recipes/70-test_tls13messages.t up to 1.1.1.2
	crypto/external/bsd/openssl/dist/test/recipes/80-test_cms.t up to 1.1.1.3
	crypto/external/bsd/openssl/dist/test/recipes/90-test_sslapi.t up to 1.1.1.3
	crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/evpciph.txt up to 1.1.1.3
	crypto/external/bsd/openssl/dist/test/ssl-tests/20-cert-select.conf up to 1.1.1.3
	crypto/external/bsd/openssl/dist/test/ssl-tests/20-cert-select.conf.in up to 1.1.1.3
	crypto/external/bsd/openssl/dist/test/testutil/driver.c up to 1.3
	crypto/external/bsd/openssl/dist/util/find-doc-nits up to 1.1.1.4
	crypto/external/bsd/openssl/dist/util/libcrypto.num up to 1.1.1.8
	crypto/external/bsd/openssl/dist/util/mkdef.pl  up to 1.11
	crypto/external/bsd/openssl/dist/util/mkerr.pl  up to 1.1.1.10
	crypto/external/bsd/openssl/dist/util/perl/checkhandshake.pm up to 1.1.1.2
	crypto/external/bsd/openssl/dist/util/perl/OpenSSL/Test.pm up to 1.1.1.5
	crypto/external/bsd/openssl/dist/util/perl/TLSProxy/Message.pm up to 1.1.1.4
	crypto/external/bsd/openssl/dist/util/perl/TLSProxy/Proxy.pm up to 1.1.1.4
	crypto/external/bsd/openssl/lib/libcrypto/Makefile up to 1.20
	crypto/external/bsd/openssl/lib/libcrypto/crypto.map up to 1.7
	crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/aes-m68k.S up to 1.4
	crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aesni-x86_64.S up to 1.10
	crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/ecp_nistz256-x86_64.S up to 1.5
	crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/ghash-x86_64.S up to 1.7
	crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/rsaz-avx2.S up to 1.4
	crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/vpaes-x86_64.S up to 1.6
	crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64-mont5.S up to 1.8
	crypto/external/bsd/openssl/lib/libcryptotest/Makefile up to 1.2
	crypto/external/bsd/openssl/lib/libssl/ssl.map  up to 1.3

Import OpenSSL 1.1.1d:

  *) Fixed a fork protection issue. OpenSSL 1.1.1 introduced a rewritten random
     number generator (RNG). This was intended to include protection in the
     event of a fork() system call in order to ensure that the parent and child
     processes did not share the same RNG state. However this protection was not
     being used in the default case.

     A partial mitigation for this issue is that the output from a high
     precision timer is mixed into the RNG state so the likelihood of a parent
     and child process sharing state is significantly reduced.

     If an application already calls OPENSSL_init_crypto() explicitly using
     OPENSSL_INIT_ATFORK then this problem does not occur at all.
     (CVE-2019-1549)
     [Matthias St. Pierre]

  *) For built-in EC curves, ensure an EC_GROUP built from the curve name is
     used even when parsing explicit parameters, when loading a serialized key
     or calling `EC_GROUP_new_from_ecpkparameters()`/
     `EC_GROUP_new_from_ecparameters()`.
     This prevents bypass of security hardening and performance gains,
     especially for curves with specialized EC_METHODs.
     By default, if a key encoded with explicit parameters is loaded and later
     serialized, the output is still encoded with explicit parameters, even if
     internally a "named" EC_GROUP is used for computation.
     [Nicola Tuveri]

  *) Compute ECC cofactors if not provided during EC_GROUP construction. Before
     this change, EC_GROUP_set_generator would accept order and/or cofactor as
     NULL. After this change, only the cofactor parameter can be NULL. It also
     does some minimal sanity checks on the passed order.
     (CVE-2019-1547)
     [Billy Bob Brumley]

  *) Fixed a padding oracle in PKCS7_dataDecode and CMS_decrypt_set1_pkey.
     An attack is simple, if the first CMS_recipientInfo is valid but the
     second CMS_recipientInfo is chosen ciphertext. If the second
     recipientInfo decodes to PKCS #1 v1.5 form plaintext, the correct
     encryption key will be replaced by garbage, and the message cannot be
     decoded, but if the RSA decryption fails, the correct encryption key is
     used and the recipient will not notice the attack.
     As a work around for this potential attack the length of the decrypted
     key must be equal to the cipher default key length, in case the
     certifiate is not given and all recipientInfo are tried out.
     The old behaviour can be re-enabled in the CMS code by setting the
     CMS_DEBUG_DECRYPT flag.
     (CVE-2019-1563)
     [Bernd Edlinger]

  *) Early start up entropy quality from the DEVRANDOM seed source has been
     improved for older Linux systems.  The RAND subsystem will wait for
     /dev/random to be producing output before seeding from /dev/urandom.
     The seeded state is stored for future library initialisations using
     a system global shared memory segment.  The shared memory identifier
     can be configured by defining OPENSSL_RAND_SEED_DEVRANDOM_SHM_ID to
     the desired value.  The default identifier is 114.
     [Paul Dale]

  *) Correct the extended master secret constant on EBCDIC systems. Without this
     fix TLS connections between an EBCDIC system and a non-EBCDIC system that
     negotiate EMS will fail. Unfortunately this also means that TLS connections
     between EBCDIC systems with this fix, and EBCDIC systems without this
     fix will fail if they negotiate EMS.
     [Matt Caswell]

  *) Use Windows installation paths in the mingw builds

     Mingw isn't a POSIX environment per se, which means that Windows
     paths should be used for installation.
     (CVE-2019-1552)
     [Richard Levitte]

  *) Changed DH_check to accept parameters with order q and 2q subgroups.
     With order 2q subgroups the bit 0 of the private key is not secret
     but DH_generate_key works around that by clearing bit 0 of the
     private key for those. This avoids leaking bit 0 of the private key.
     [Bernd Edlinger]

  *) Significantly reduce secure memory usage by the randomness pools.
     [Paul Dale]

  *) Revert the DEVRANDOM_WAIT feature for Linux systems

     The DEVRANDOM_WAIT feature added a select() call to wait for the
     /dev/random device to become readable before reading from the
     /dev/urandom device.

     It turned out that this change had negative side effects on
     performance which were not acceptable. After some discussion it
     was decided to revert this feature and leave it up to the OS
     resp. the platform maintainer to ensure a proper initialization
     during early boot time.
     [Matthias St. Pierre]
2020-01-27 07:21:37 +00:00
martin e2293504c0 Pull up following revision(s) (requested by jmcneill in ticket #659):
sys/arch/evbarm/fdt/fdt_memory.c: revision 1.4

Save 400KB of RAM by fixing a really dumb bug in sizing of the fdt memory
pool.
2020-01-27 07:12:41 +00:00
martin cc85b55734 regen (for ticket #658) 2020-01-27 07:10:17 +00:00
martin e030a355e5 Pull up following revision(s) (requested by jmcneill in ticket #658):
sys/dev/hdaudio/hdaudiodevs: revision 1.3

Make sure that all vendor strings are shorter than 16 (MAX_AUDIO_DEV_LEN)
characters as the values are used in the AUDIO_GETDEV ioctl.
regen
2020-01-27 07:09:31 +00:00
martin 076b8d8b7e Pull up following revision(s) (requested by nia in ticket #657):
sys/dev/files.audio: revision 1.13
	sys/dev/files.audio: revision 1.14
	sys/arch/amd64/conf/GENERIC: revision 1.559
	sys/arch/evbarm/conf/GENERIC: revision 1.71
	sys/arch/evbarm/conf/GENERIC64: revision 1.134
	sys/dev/audio/audiodef.h: revision 1.8

Set AUDIO_BLK_MS=4 - unlikely to cause significant overhead on non-m68k.

Several of us have been setting this in /etc/sysctl.conf for months, to
get better performance from applications that require synced audio, etc.
It's also mentioned as a good value with low overhead on most archs here:
href="https://mail-index.netbsd.org/tech-kern/2019/12/07/msg025830.html

We could probably go lower, but this is low enough to make most/all
software run well, removing frame drops. It's also low enough to get
emulators/mednafen to stop complaining in the console.

defopt AUDIO_BLK_MS

Follow amd64 and set AUDIO_BLK_MS=4 by default

defopt -> defparam (oops)
2020-01-27 07:06:02 +00:00
martin 23361a4537 Ticket #647 - #656 2020-01-26 11:29:39 +00:00
martin 423a3453b3 Pull up following revision(s) (requested by uwe in ticket #656):
sys/ddb/db_command.c: revision 1.162
	sys/ddb/db_command.c: revision 1.163
	sys/ddb/db_command.c: revision 1.164

db_command - make sure count is always initialized.
db_command - make setting have_addr more clear.
Don't set it to false that it's already initialized to.
db_command - don't hide local static variable in the middle of other
local variable definitions.  While here, get rid of the alignment of
variable names.
2020-01-26 11:28:11 +00:00
martin 35819a7d9f Pull up following revision(s) (requested by uwe in ticket #655):
sys/ddb/db_input.c: revision 1.27
	sys/ddb/db_lex.c: revision 1.23

Print db> prompt in db_read_line(), not db_readline().
The former is what DDB repl calls.  The latter performs the actual
input so let other code use it without the unwanted db> prompt.  It's
already used by ACPI (and AcpiOsWaitCommandReady supplies its own
prompt).  I also use it for my uncommitted Forth scripting for DDB.
2020-01-26 11:25:22 +00:00
martin 75dd781d64 Pull up following revision(s) (requested by uwe in ticket #654):
sys/ddb/db_output.c: revision 1.35
	sys/ddb/db_output.c: revision 1.36

db_putchar - check if we need to wrap at $maxwidth after whitespace.

That fixes orphaned first character in something like:
    |Stopped in ... longsymbol+0xf00:  |
    |i
    |nsn

Fix typo in comment.
2020-01-26 11:23:41 +00:00