Commit Graph

287583 Commits

Author SHA1 Message Date
christos
c1a44e792d bump shlibs for bind-9.16.15 2021-04-29 17:27:54 +00:00
christos
99a1c29847 Merge our changes between bind 9.16.12 and 9.16.15 2021-04-29 17:26:09 +00:00
christos
2152295555 Add constructor and destructor attribute priorities 2021-04-29 17:11:30 +00:00
christos
0c407023b5 Import bind-9.16.15
Changes since bind-9.16.12:

	--- 9.16.15 released ---

5621.	[bug]		Due to a backporting mistake in change 5609, named
			binaries built against a Kerberos/GSSAPI library whose
			header files did not define the GSS_SPNEGO_MECHANISM
			preprocessor macro were not able to start if their
			configuration included the "tkey-gssapi-credential"
			option. This has been fixed. [GL #2634]

5620.	[bug]		If zone journal files written by BIND 9.16.11 or earlier
			were present when BIND was upgraded, the zone file for
			that zone could have been inadvertently rewritten with
			the current zone contents. This caused the original zone
			file structure (e.g. comments, $INCLUDE directives) to
			be lost, although the zone data itself was preserved.
			This has been fixed. [GL #2623]

	--- 9.16.14 released ---

5617.	[security]	A specially crafted GSS-TSIG query could cause a buffer
			overflow in the ISC implementation of SPNEGO.
			(CVE-2021-25216) [GL #2604]

5616.	[security]	named crashed when a DNAME record placed in the ANSWER
			section during DNAME chasing turned out to be the final
			answer to a client query. (CVE-2021-25215) [GL #2540]

5615.	[security]	Insufficient IXFR checks could result in named serving a
			zone without an SOA record at the apex, leading to a
			RUNTIME_CHECK assertion failure when the zone was
			subsequently refreshed. This has been fixed by adding an
			owner name check for all SOA records which are included
			in a zone transfer. (CVE-2021-25214) [GL #2467]

5614.	[bug]		Ensure all resources are properly cleaned up when a call
			to gss_accept_sec_context() fails. [GL #2620]

5613.	[bug]		It was possible to write an invalid transaction header
			in the journal file for a managed-keys database after
			upgrading. This has been fixed. Invalid headers in
			existing journal files are detected and named is able
			to recover from them. [GL #2600]

5611.	[func]		Set "stale-answer-client-timeout" to "off" by default.
			[GL #2608]

5610.	[bug]		Prevent a crash which could happen when a lookup
			triggered by "stale-answer-client-timeout" was attempted
			right after recursion for a client query finished.
			[GL #2594]

5609.	[func]		The ISC implementation of SPNEGO was removed from BIND 9
			source code. It was no longer necessary as all major
			contemporary Kerberos/GSSAPI libraries include support
			for SPNEGO. [GL #2607]

5608.	[bug]		When sending queries over TCP, dig now properly handles
			"+tries=1 +retry=0" by not retrying the connection when
			the remote server closes the connection prematurely.
			[GL #2490]

5607.	[bug]		As "rndc dnssec -checkds" and "rndc dnssec -rollover"
			commands may affect the next scheduled key event,
			reconfiguration of zone keys is now triggered after
			receiving either of these commands to prevent
			unnecessary key rollover delays. [GL #2488]

5606.	[bug]		CDS/CDNSKEY DELETE records are now removed when a zone
			transitions from a secure to an insecure state.
			named-checkzone also no longer reports an error when
			such records are found in an unsigned zone. [GL #2517]

5605.	[bug]		"dig -u" now uses the CLOCK_REALTIME clock source for
			more accurate time reporting. [GL #2592]

5603.	[bug]		Fix a memory leak that occurred when named failed to
			bind a UDP socket to a network interface. [GL #2575]

5602.	[bug]		Fix TCPDNS and TLSDNS timers in Network Manager. This
			makes the "tcp-initial-timeout" and "tcp-idle-timeout"
			options work correctly again. [GL #2583]

5601.	[bug]		Zones using KASP could not be thawed after they were
			frozen using "rndc freeze". This has been fixed.
			[GL #2523]

	--- 9.16.13 released ---

5597.	[bug]		When serve-stale was enabled and starting the recursive
			resolution process for a query failed, a named instance
			could crash if it was configured as both a recursive and
			authoritative server. This problem was introduced by
			change 5573 and has now been fixed. [GL #2565]

5595.	[cleanup]	Public header files for BIND 9 libraries no longer
			directly include third-party library headers. This
			prevents the need to include paths to third-party header
			files in CFLAGS whenever BIND 9 public header files are
			used, which could cause build-time issues on hosts with
			older versions of BIND 9 installed. [GL #2357]

5594.	[bug]		Building with --enable-dnsrps --enable-dnsrps-dl failed.
			[GL #2298]

5593.	[bug]		Journal files written by older versions of named can now
			be read when loading zones, so that journal
			incompatibility does not cause problems on upgrade.
			Outdated journals are updated to the new format after
			loading. [GL #2505]

5592.	[bug]		Prevent hazard pointer table overflows on machines with
			many cores, by allowing the thread IDs (serving as
			indices into hazard pointer tables) of finished threads
			to be reused by those created later. [GL #2396]

5591.	[bug]		Fix a crash that occurred when
			"stale-answer-client-timeout" was triggered without any
			(stale) data available in the cache to answer the query.
			[GL #2503]

5590.	[bug]		NSEC3 records were not immediately created for dynamic
			zones using NSEC3 with "dnssec-policy", resulting in
			such zones going bogus. Add code to process the
			NSEC3PARAM queue at zone load time so that NSEC3 records
			for such zones are created immediately. [GL #2498]

5588.	[func]		Add a new "purge-keys" option for "dnssec-policy". This
			option determines the period of time for which key files
			are retained after they become obsolete. [GL #2408]

5586.	[bug]		An invalid direction field in a LOC record resulted in
			an INSIST failure when a zone file containing such a
			record was loaded. [GL #2499]

5584.	[bug]		No longer set the IP_DONTFRAG option on UDP sockets, to
			prevent dropping outgoing packets exceeding
			"max-udp-size". [GL #2466]

5582.	[bug]		BIND 9 failed to build when static OpenSSL libraries
			were used and the pkg-config files for libssl and/or
			libcrypto were unavailable. This has been fixed by
			ensuring that the correct linking order for libssl and
			libcrypto is always used. [GL #2402]

5581.	[bug]		Fix a memory leak that occurred when inline-signed zones
			were added to the configuration, followed by a
			reconfiguration of named. [GL #2041]

5580.	[test]		The system test framework no longer differentiates
			between SKIPPED and UNTESTED system test results. Any
			system test which is not run is now marked as SKIPPED.
			[GL !4517]

5573.	[func]		When serve-stale is enabled and stale data is available,
			named now returns stale answers upon encountering any
			unexpected error in the query resolution process.
			However, the "stale-refresh-time" window is still only
			started upon a timeout. [GL #2434]

5564.	[cleanup]	Network manager's TLSDNS module was refactored to use
			libuv and libssl directly instead of a stack of TCP/TLS
			sockets. [GL #2335]
2021-04-29 16:46:17 +00:00
skrll
1208aa4def Remove some unnecessary tlb invalidate in pmap_growkernel and ASAN shadow
map. Ensure the shadow map mappings are visible to the TLB walkers.
2021-04-29 09:27:29 +00:00
simonb
b95e29aecd Don't force all MALTA kernels to be compiled with -mips64 when they
also support MIPS32-only CPU configs.
2021-04-29 08:47:26 +00:00
simonb
2fd009ca57 Fix another misplaced label for cvt_s_w() but use a named local label
and redo fix for cvt_d_w() in rev 1.52 the same way.
2021-04-29 08:45:29 +00:00
simonb
ab4a9f6d28 Move a comment slighty so that it's before two #ifdef blocks that do the
same thing instead of in the middle of them.
2021-04-29 08:14:08 +00:00
simonb
5386edf719 Move a branch target in cvt_d_w() to where it will be hit for either
case of an #ifdef block of code.  Fixes an FP emulation problem if
compiled with -mips32 or -mips64.
2021-04-29 08:11:38 +00:00
mrg
d946536fcb netbsd-eabi.h was never merged from the now present upstream version.
reduce diffs to upstream here and in other files in this subdir.

remove unused ARM_EABI_UNWIND_TABLES and __UNWIND_TABLES__.

clang defines __UNWIND_TABLES__, but doing this in GCC triggers the
need for more libgcc / libc unwind functionality to be added, and this
code has never been enabled for netbsd/earm.  (could potentially clean
up unused code in libc now, or, revive this once the full support has
been implemented..)
2021-04-29 01:51:39 +00:00
bad
eda596189c enable sun8icrypto on Allwinner H3 too.
Allwinner H3 needs a slower mod clock according to the Linux driver.

tested on NanoPi R1.

thanks jmcneill@ and riastradh@ for advice.

XXX pullup-9
2021-04-28 16:57:05 +00:00
yamaguchi
989b1d029b Introduce a pointer to refer sp->scp[cp->protoidx]
There is no functional difference.
2021-04-28 09:39:39 +00:00
yamaguchi
a87544e73a Move paese of conf-req, conf-nak and conf-rej into workqueue
from softint context

When the pases were processed in softint, the state machine
in if_spppsubr.c had been broken by simultaneous events
on rare occasions.

Example:
 1. Do ifconfig pppoe* up
    - lcp open event is enqueued to workqueue
 2. Receive conf-ack, and parse the packet
    - save mru to sp->lcp.their_mru
    - lcp RCR+ event is enqueued to workqueue
 3. Process lcp open event
    - initialize data including sp->lcp.their_mru
 4. Process lcp RCR+ event
    - Use sp->lcp.their_mru
        - but it was initialized
2021-04-28 09:36:24 +00:00
mrg
5bb3b631e5 for big endian kernels use DRM_FORMAT_BGRX8888 pixel format.
now my pinebook pro console looks right with evbarm64-eb, instead
of having red and green swapped, and no blue.  fixes both console
"text" mode and X11.
2021-04-28 04:51:41 +00:00
thorpej
a5254a137a Avoid a double "cs0: " in the autoconfiguration messages. 2021-04-28 03:34:02 +00:00
thorpej
de19261b4e Validate the return value of cfprint functions before using it to
index the msgs[] array.  Use designated initializers to initialize
msgs[].
2021-04-28 03:21:57 +00:00
rin
45cbbf889f Change sccA address for Quadra 800 from base + 0xc000 to 0xc020.
The H/W partially decodes its address, and sccA is available at
offsets 0xc000, 0xc020, .... The functionality is same, but Mac
toolbox ROM routines use 0xc020, and QEMU for Quadra 800 only
supports this address.

Thanks Mark Cave-Ayland for discussion, who is working on NetBSD
support to QEMU for Quadra 800!
2021-04-28 02:28:05 +00:00
rin
a43a5c3831 config_found_ia.9 and config_found_sm_loc.9 have been obsoleted.
Should fix build.
2021-04-28 02:15:03 +00:00
rin
7e9d2420af Make mac68k_set_io_offsets() a little bit cleaner:
- Via1Base is always ``base'' for all supported models.
- Set sccA and SCSIBase for each model of MACH_CLASSQ class.
- Some style fixes.

No functional changes intended.
2021-04-28 02:00:58 +00:00
thorpej
314209004d Update autoconf(9) for recent autoconfiguration changes. 2021-04-28 00:49:22 +00:00
rin
f5e9e1e629 clockport_common does not need its own interface attribute.
All children are attached to clockportbus.
2021-04-28 00:35:47 +00:00
thorpej
01295637aa Garbage-collect the old Shark-specific "pccons" stuff. Shark has
been wscons for some time now.
2021-04-27 23:37:01 +00:00
thorpej
997fe70ce2 "ofisa" carried an "ofbus" interface attribute in addition to its own
in order to attach an "ofrtc" instance.  This worked prior to the
autconfiguration system enforcing non-ambiguous interface attribute
specificaitons due to how the attach args for ofisa were structured.

But it no longer works, and is a big dodgy barring a formalized "subclassing"
facility for interface atributes in config(5).

So, stop using "ofrtc" on Shark, and replace it with an ofisa driver for
the mc146818 real time clock hardware, and remove "ofbus" from "ofisa".
2021-04-27 21:39:39 +00:00
nia
5783e20041 add a man page for sun8icrypto(4) 2021-04-27 21:13:38 +00:00
thorpej
aaed946875 If we are attaching the OFW root, print out the banner-name and model
properties, if they exist.
2021-04-27 20:31:01 +00:00
nia
681c82ccfb ignore machine-dependent disklabel partitions 2021-04-27 19:52:06 +00:00
palle
661f65cfda sun4v: add missing method to set hypervisor api version + add defintion for the interrupt hypervisor api group (to be used) 2021-04-27 19:09:56 +00:00
rillig
962abf967a make: use consistent variable names, types and braces in DebugFailedJob
No functional change.
2021-04-27 16:25:46 +00:00
rillig
565f4473b9 make: remove stray space in -de output in jobs mode
In compat mode, having a space in this place makes sense to align the
target name with the command.  In jobs mode, since each command is
listed in a separate line, there is no need for the double space.
2021-04-27 16:23:21 +00:00
rillig
132c9f6004 tests/make: test the combination of -de with -j1
The test cases are the same as in opt-debug-errors.mk.  The output
differs in several details though.

Even though the option '-k' is given (which is the default for any tests
that don't override it in unit-tests/Makefile), there is no message
"(continuing)" anywhere.

The failed target is printed twice.  Once before the failed commands,
once after.  This redundancy is not necessary and may be removed in a
follow-up commit.

The printed commands are in their unexpanded form, which may or may not
be more helpful than the expanded and space-normalized form of compat
mode.  Either way, this is an unnecessary inconsistency between compat
mode and jobs mode.

In jobs mode, the message "make: stopped in $dir" is printed for each
failure, which is helpful since each of the jobs may have started in a
separate directory.
2021-04-27 16:20:06 +00:00
christos
495cc5cbc3 Print -de error information when running multiple jobs
Problem and patch description from https://reviews.freebsd.org/D29647:

When running `make -de` (without any -j flag) bmake prints which command
failed. However, when using the -j flag the -de flag is ignored. This can
make it rather difficult to determine which command failed in an very
parallel build (especially when combined with the -s flag to avoid
ridiculously large logfiles). For single-threaded builds we can combine
-s with -de to get the failed command but this does not work with -jN
(even with -j1). This patch prints the failed shell script with -de in the
multiple jobs mode as well.

From Alexander Richardson @ FreeBSD
2021-04-27 15:21:42 +00:00
christos
88ab0eac35 add const 2021-04-27 15:19:25 +00:00
thorpej
2a022cd257 The Amiga and Atari ports abuse some autoconfiguration internals as part
of their early console bring-up, so we need to expose some of the new
internals to them and adapt the call sites.
2021-04-27 14:48:28 +00:00
christos
a6b5619189 Revert the change for the c-common.c hack. It is meant to be only for 32
bit mips. (Thanks Rin)
2021-04-27 14:18:25 +00:00
skrll
387fd596e3 Provide all the LSE operation fuctions. The use of LSE instructions is
currently disabled.
2021-04-27 09:14:24 +00:00
mrg
3a8103109b update for libX11 1.7.0. 2021-04-27 06:51:49 +00:00
mrg
69931024b9 various updates for libX11. bump the shlib major, install new nls. 2021-04-27 06:50:26 +00:00
skrll
fd3b4ea72e Fix the barrier confusion. From Riastradh - thanks!. 2021-04-27 06:03:09 +00:00
skrll
a864f2cc52 Improve the membar_ops barriers - no need to use dsb and wait for
completion.  Also, we only to act on the inner shareability domain.
2021-04-27 05:40:29 +00:00
mrg
842d17106a xorg-server 1.20.11 is now current. 2021-04-27 04:02:09 +00:00
mrg
8659f446c2 updates for xkeyboard-config 2.32. 2021-04-27 03:58:55 +00:00
mrg
501142fe70 bump libdrm and libdrm_amdgpu shlib minor for new symbols. 2021-04-27 03:09:15 +00:00
mrg
29df5fb150 disable attribute warnings. new libXt triggers them for now.. 2021-04-27 02:11:55 +00:00
rin
3704a40269 Remove accidentally committed autogen file.
Should fix periodic snapshot builds with RO mounted /usr/src.
2021-04-26 23:51:08 +00:00
mrg
94803ffca4 make build with new libXt. 2021-04-26 22:04:51 +00:00
thorpej
cb0521d83c midi_attach_mi(): Be explicit about using the "midibus" interface attribute,
as the caller may be a device that carries more than one.
2021-04-26 21:54:56 +00:00
mrg
92009ced47 make libXaw6 build with the new libXt as well. consolidate common code. 2021-04-26 21:53:53 +00:00
mrg
69bda3eb5f define _CONST_X_STRING. avoid remaining const issues new libXt. 2021-04-26 21:43:19 +00:00
skrll
85e6432cbe Add the appropriate memory barrier before the lock is cleared in
__sync_lock_release_{1,2,4,8}.  That is, all reads and write for in inner
shareability domain before the lock clear store.
2021-04-26 21:40:21 +00:00
christos
27d3824d91 Don't try to override an existing -march 2021-04-26 21:32:49 +00:00