Commit Graph

10543 Commits

Author SHA1 Message Date
christos 61f2f2abd6 add m5407 2023-07-27 21:59:55 +00:00
christos 29fd1f250b disable lint for arm 2023-07-27 21:58:51 +00:00
tnn d06800dd8e dhcpd: move isc_event_free() before isc_timer_destroy() in timer cb
isc_timerevent_destroy() called by isc_event_free() expects to be able to
hold the timer lock, so must run before the timer is destroyed.
PR misc/57491.
2023-07-27 10:32:25 +00:00
mrg 9805684c44 actually re-gen with GCC 10.5 in gcc.old and earmv4*.
fixes armv4* builds.
2023-07-21 10:24:55 +00:00
mrg b82bc0398d regen for earmv4/earmv4eb. 2023-07-20 04:30:39 +00:00
mrg ad3db949b1 mknative-gcc for earmv4*.
delete obsolete or1k and coldfire configurations.
2023-07-19 19:23:25 +00:00
roy 4aeb2dd15c Sync with dhcpcd-10.0.2 2023-07-19 13:53:03 +00:00
roy f3ce8585ec Import dhcpcd-10.0.2 with the following changes:
* BSD: When we get RTM_NEWADDR the interface must have IFF_UP
 * BSD: Fix non INET6 builds
 * DHCP: Don't enforce the message came port 67
 * privsep: Allow zero length messages through
 * dhcpcd: deal with HANGUP and EPIPE better
 * dhcpcd: Fix waitip address family
 * privsep: Check if we have a root process before sending it stuff
 * privsep: Only unlink control sockets if we created them
 * common: Improve valid_domain and check correct return
 * common: Allow hwaddr_ntoa to print an empty string
 * privsep: Send only what we have put in the buffer to script env
2023-07-19 13:51:07 +00:00
rin 40faff9771 Sync with external/gpl3/gcc:
https://mail-index.netbsd.org/source-changes/2023/07/18/msg146078.html
----
gcc: Fix peephole optimization bug for sh3 (PR port-sh3/56311)

Cherry-picked from upstream:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=4dbb3af1efe55174a714d15c2994cf2842ef8c28
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469

Now, the PR confirmed fixed. No regression observed for full ATF run on
landisk (compared with GCC built with this peephole optimization being
removed by hand).

We thank Oleg Endo, the author of the upstream commit.

Also thanks hgutch@ and uwe@ for analysis.
2023-07-18 02:58:38 +00:00
rin 81c70943e9 gcc: Fix peephole optimization bug for sh3 (PR port-sh3/56311)
Cherry-picked from upstream:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=4dbb3af1efe55174a714d15c2994cf2842ef8c28
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469

Now, the PR confirmed fixed. No regression observed for full ATF run on
landisk (compared with GCC built with this peephole optimization being
removed by hand).

We thank Oleg Endo, the author of the upstream commit.

Also thanks hgutch@ and uwe@ for analysis.
2023-07-18 02:50:18 +00:00
mrg a1b5697f11 copy the old libEGL/Makefile here and subst .old in a couple of places.
should fix build.
2023-07-17 04:24:34 +00:00
mrg 67b20d37e8 delete accidental copy of gcc.old. 2023-07-17 04:05:41 +00:00
rjs 9fb4187e86 Make most of MesaLib build. 2023-07-16 22:20:54 +00:00
rjs 17e89ed109 Fixup more references to "old" components.
ok mrg@.
2023-07-15 21:24:46 +00:00
rjs df586bec40 Add AMDGPUDisassembler to LLVM runtime. 2023-07-15 21:14:01 +00:00
mrg 23f5f46327 merge GCC 10.5.0 in gcc.old 2023-07-14 19:46:25 +00:00
mrg 4ac76180e9 import GCC 10.5.0 into gcc.old (this time properly.) 2023-07-14 19:35:59 +00:00
mrg c668843f2c import GCC 10.5.0 into gcc.old. 2023-07-14 06:33:43 +00:00
mrg 84b8145c41 don't force gnu++98 here.
fixes build issues seen with GCC 10.5, as well as hopefully ones reported
by Andrew Cagney on current-users.
2023-07-12 07:35:15 +00:00
martin e36df1e8e8 Replace kmutex_t * (which may be undefined here) with struct kmutex *,
suggested by Taylor.
2023-07-11 17:03:16 +00:00
mrg ebba80dab5 mknative-gcc for GCC 10.5.0. 2023-07-11 06:05:43 +00:00
mrg a0414be6db merge GCC 10.5.0. 2023-07-11 00:40:40 +00:00
mrg 7d4dc15be1 initial import of GCC 10.5.0.
(we plan to import 12.3 soon as well, this is mostly so it can be pulled up
to netbsd-10 branch more easily.)

the list of PR's fixed since 10.4.0 can be found here:

https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=10.5

which includes 3 C, 25 C++, 4 debug, 17 libstdc++, and many others for the
internals.
2023-07-11 00:32:05 +00:00
mrg 88618cdd0b this is not needed (or wanted) for jemalloc 1.0, so make it empty. 2023-07-10 07:59:24 +00:00
rin 4516a07eeb PR port-alpha/57511 Temporally disable secure PLT for alpha
until support is added to ld.elf_so(1).
2023-07-07 08:33:25 +00:00
riastradh 82ab0d8bb4 Revert "jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc."
Apparently this restriction was lifted in C17, and this was even
documented in a part of the man page I didn't notice because I got
stuck at the incomplete sentence `The aligned_alloc function conforms
to.'.  Sorry for the noise, folks.
2023-07-05 10:57:33 +00:00
nia 218e68f1dc Updates for ctwm-4.1.0 2023-07-05 08:39:24 +00:00
gutteridge 00faf7a9a7 Install a copy of dhcpcd.conf under /usr/share/examples
Addresses PR bin/57487 from Taylor R Campbell.
2023-07-05 00:26:38 +00:00
uwe 63e7bd933c mdoc.local: fix libbsdmalloc string name 2023-07-04 23:52:44 +00:00
riastradh 2daa8bfe20 libbsdmalloc: New man page.
XXX pullup-10
2023-07-04 16:23:15 +00:00
riastradh 37cdc24322 jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc.
C11, Sec. 7.22.3.1 The aligned_alloc function, paragraph 2, p. 348:

   The value of alignment shall be a valid alignment supported by the
   implementation and the value of size shall be an integral multiple
   of alignment.

posix_memalign does not appear to have any corresponding constraint.

XXX pullup-10
2023-07-04 15:06:28 +00:00
rillig ed46a22553 dri.old: disable lint again 2023-07-02 23:56:12 +00:00
rillig 78dcf2d1b7 dri.old: only disable lint for a single file 2023-07-01 15:16:46 +00:00
rillig ed2a91d216 jemalloc: enable lint again, it is no longer broken
Since today, lint handles unnamed struct/union correctly.
2023-07-01 06:29:14 +00:00
christos 0d9d0fd8a3 merge openpam ximenia 2023-06-30 21:46:20 +00:00
christos 024a2e8c04 Import ximenia (last was tabebuia)
- BUGFIX: Fix race condition in openpam_ttyconv(3) when used with
  expect scripts.

- BUGFIX: In openpam_set_option(3), when removing an option, properly
  decrement the option count.

- BUGFIX: In openpam_subst(3), avoid incrementing past the end of the
  template.
2023-06-30 21:44:02 +00:00
gutteridge 275519e238 PosixDaemon.c: restore NetBSD logging additions lost in merges
Restore part of local modifications r. 1.2 & 1.4 from tsarna@. One
aspect could not be carried forward, as Apple dropped the bug detection
query functionality that was formerly represented by the teststate
member of the DNSServer struct. Otherwise, reapplied almost verbatim,
except for minor consistency and style changes.

This was added again in part as an example should there be a need to
add further logging content for NetBSD's purposes. (DumpStateLog() has
changed further as of Apple's 1790.80.10 release, but should we roll
forward, our means here should still be viable.)
2023-06-30 02:03:58 +00:00
gutteridge 2bc969b373 PosixDaemon.c: convert tabs to spaces to match coding style
Match Apple's coding style for this project. (In part for those of us
who have tabs visually representing four spaces!)
2023-06-30 01:59:45 +00:00
gutteridge a1ca5a5447 prepare-import.sh: fix grammar in a comment 2023-06-29 23:59:43 +00:00
kre 3afd71f9e9 Avoid comparing signed and unsigned values (using signed here seems
safer than the usual unsigned when this happens).   Might fix build.
2023-06-29 01:30:31 +00:00
wiz 6f6fb001c9 tmux: also set HAVE_REALLOCARRAY 2023-06-28 22:47:39 +00:00
wiz f1454f1d67 update build system for tmux 3.3a 2023-06-28 22:21:48 +00:00
wiz 46548964d2 merge tmux 3.3a 2023-06-28 22:21:26 +00:00
wiz 6db2675718 Import original sources for tmux 3.3a. 2023-06-28 22:10:15 +00:00
roy 59c22029c4 Sync with openresolv-3.13.2 2023-06-27 17:07:53 +00:00
roy 91b0a986de openresolv: Update to 3.13.2 with the following changes:
* Do not return error from -i when no interfaces are configured
* unbound can now add generic options to forward zones
2023-06-27 17:04:19 +00:00
martin b01ac68763 isc timer API changed with the recent bind import - use isc_timer_destroy()
instead of isc_timer_detach()
2023-06-27 09:10:25 +00:00
christos f16d61c425 merge conflicts between 9.16.37 and 9.16.42 2023-06-26 22:02:59 +00:00
christos fed34e531e Import 9.16.42 (last was 9.16.37)
--- 9.16.42 released ---

6192.	[security]	A query that prioritizes stale data over lookup
			triggers a fetch to refresh the stale data in cache.
			If the fetch is aborted for exceeding the recursion
			quota, it was possible for 'named' to enter an infinite
			callback loop and crash due to stack overflow. This has
			been fixed. (CVE-2023-2911) [GL #4089]

6190.	[security]	Improve the overmem cleaning process to prevent the
			cache going over the configured limit. (CVE-2023-2828)
			[GL #4055]

6183.	[bug]		Fix a serve-stale bug where a delegation from cache
			could be returned to the client. [GL #3950]

6173.	[bug]		Properly process extra "nameserver" lines in
			resolv.conf otherwise the next line is not properly
			processed. [GL #4066]

6169.	[bug]		named could crash when deleting inline-signing zones
			with "rndc delzone". [GL #4054]

	--- 9.16.41 released ---

6157.	[bug]		When removing delegations in an OPTOUT range
			empty-non-terminal NSEC3 records generated by
			those delegations were not removed. [GL #4027]

	--- 9.16.40 released ---

6142.	[bug]		Reduce the number of dns_dnssec_verify calls made
			determining if revoked keys needs to be removed from
			the trust anchors. [GL #3981]

6138.	[doc]		Fix the DF-flag documentation on the outgoing
			UDP packets. [GL #3710]

6132.	[doc]		Remove a dead link in the DNSSEC guide. [GL #3967]

6129.	[cleanup]	Value stored to 'source' during its initialization is
			never read. [GL #3965]

6124.	[bug]		When changing from a NSEC3 capable DNSSEC algorithm to
			an NSEC3 incapable DNSSEC algorithm using KASP the zone
			could sometimes be incompletely signed. [GL #3937]

5741.	[bug]		Log files with "timestamp" suffixes could be left in
			place after rolling, even if the number of preserved
			log files exceeded the configured "versions" limit.
			[GL #828] [GL #3959]

	--- 9.16.39 released ---

6119.	[bug]		Make sure to revert the reconfigured zones to the
			previous version of the view, when the new view
			reconfiguration fails during the configuration of
			one of the configured zones. [GL #3911]

6116.	[bug]		Fix error path cleanup issue in the dns_catz_new_zones()
			function. [GL #3900]

6115.	[bug]		Unregister db update notify callback before detaching
			from the previous db inside the catz update notify
			callback. [GL #3777]

6105.	[bug]		Detach 'rpzs' and 'catzs' from the previous view in
			configure_rpz() and configure_catz(), respectively,
			just after attaching it to the new view. [GL #3880]

6098.	[test]		Don't test HMAC-MD5 when not supported by libcrypto.
			[GL #3871]

6095.	[test]		Test various 'islands of trust' configurations when
			using managed keys. [GL #3662]

6094.	[bug]		Building against (or running with) libuv versions
			1.35.0 and 1.36.0 is now a fatal error.  The rules for
			mixing and matching compile-time and run-time libuv
			versions have been tightened for libuv versions between
			1.35.0 and 1.40.0. [GL #3840]

	--- 9.16.38 released ---

6083.	[bug]		Fix DNSRPS-enabled builds as they were inadvertently
			broken by change 6042. [GL #3827]

6081.	[bug]		Handle primary server address lookup failures in
			nsupdate more gracefully. [GL #3830]

6080.	[bug]		'named -V' leaked memory. [GL #3829]

6079.	[bug]		Force set the DS state after a 'rdnc dnssec -checkds'
			command. [GL #3822]

6075.	[bug]		Add missing node lock when setting node->wild in
			add_wildcard_magic. [GL #3799]

6072.	[bug]		Avoid the OpenSSL lock contention when initializing
			Message Digest Contexts by using explicit algorithm
			fetching, initializing static contexts for every
			supported algorithms, and initializing the new context
			by copying the static copy. [GL #3795]

6069.	[bug]		Detach from the view in zone_shutdown() to
			release the memory held by the dead view
			early. [GL #3801]
2023-06-26 21:45:59 +00:00
rillig fe67b10b0a jemalloc: reduce CONSTCOND diff to upstream
Since 2021-01-31, lint no longer needs these comments.
2023-06-26 07:56:29 +00:00