Commit Graph

8690 Commits

Author SHA1 Message Date
christos
fbb09d761c Add more -O0 files for vax, sort 2019-10-29 02:49:05 +00:00
christos
c60e3bd895 another vax optimizer hack. 2019-10-28 18:38:54 +00:00
christos
f3b58f9273 vaxinate sanitizer_file.cc against the optimizer virus. 2019-10-28 16:25:05 +00:00
christos
b83b36aedd remove build output. 2019-10-27 21:07:37 +00:00
christos
c61fe20bc9 add some more machines to the 32 bit part 2019-10-26 18:36:25 +00:00
christos
876570509c Unbreak the sanitizers for gcc. The sanitizer offset defined in
libsanitizer needs to match with the compiler concept of
TARGET_ASAN_SHADOW_OFFSET, since the compiler generates instructions
to access memory at that offset in the code, and expects the
sanitizer library to have mapped something there. If there is
disagreement, Mr. Segmentation Fault comes and resolves it for you.
2019-10-25 18:03:59 +00:00
christos
943bd98d5c arm-common.c uses bitmap stuff so put the common-target.a before common.a 2019-10-24 18:48:43 +00:00
christos
741a117e19 arm-common.c needs stack-protector treatment 2019-10-24 18:48:09 +00:00
kamil
77a1ad5f00 Switch the iconv(3) prototype to the POSIX conformant variation
Remove const from the 2nd argument.

const char ** and char ** are incompatible types and it was a cost to keep
the technically incompatible form for a more purist variation. NetBSD was
almost the last alive OS to still keep the const argument (known leftovers:
Minix and Illumos).

Keep the const form for the internal purposes inside citrus and rump.

Address the build breakage fallout in the same change.

There are no ABI changes.

Change accepted by core@.
2019-10-24 18:17:14 +00:00
christos
8cb33180ff mknative tries to build this file with c++ and c++ does not like types
inside offsetof() (a language limitation).
2019-10-24 03:31:38 +00:00
christos
d05d30e64c add new files
XXX: all the arms need regen
2019-10-24 03:26:06 +00:00
christos
ad28d61a37 Since add_debug_regex_map is used in opts-global.c unconditionally, we can't
disable the code with #ifndef __NetBSD__ because it breaks cross-building.
2019-10-23 18:55:36 +00:00
jhigh
b302373f87 adding argon2 support to libcrypt. argon2 user authentication now
available via MKARGON2=yes (3 variants supported; argon2id recommended)
before using, please read argon2 paper at
https://github.com/P-H-C/phc-winner-argon2
2019-10-21 02:36:48 +00:00
christos
f2cca13bde remove LD_WRAP 2019-10-17 16:53:06 +00:00
christos
a979df4dfb merge conflicts 2019-10-17 16:46:57 +00:00
christos
a92be1735d --- 9.14.7 released ---
5299.	[security]	A flaw in DNSSEC verification when transferring
			mirror zones could allow data to be incorrectly
			marked valid. (CVE-2019-6475) [GL #16P]

5298.	[security]	Named could assert if a forwarder returned a
			referral, rather than resolving the query, when QNAME
			minimization was enabled. (CVE-2019-6476) [GL #1051]

5297.	[bug]		Check whether a previous QNAME minimization fetch
			is still running before starting a new one; return
			SERVFAIL and log an error if so. [GL #1191]

5294.	[func]		Fallback to ACE name on output in locale, which does not
			support converting it to unicode.  [GL #846]

5293.	[bug]		On Windows, named crashed upon any attempt to fetch XML
			statistics from it. [GL #1245]

5292.	[bug]		Queue 'rndc nsec3param' requests while signing inline
			zone changes. [GL #1205]

	--- 9.14.6 released ---

5289.	[bug]		Address NULL pointer dereference in rpz.c:rpz_detach.
			[GL #1210]

5286.	[contrib]	Address potential NULL pointer dereferences in
			dlz_mysqldyn_mod.c. [GL #1207]

5285.	[port]		win32: implement "-T maxudpXXX". [GL #837]

5283.	[bug]		When a response-policy zone expires, ensure that
			its policies are removed from the RPZ summary
			database. [GL #1146]

5282.	[bug]		Fixed a bug in searching for possible wildcard matches
			for query names in the RPZ summary database. [GL #1146]

5281.	[cleanup]	Don't escape commas when reporting named's command
			line. [GL #1189]

5280.	[protocol]	Add support for displaying EDNS option LLQ. [GL #1201]

5279.	[bug]		When loading, reject zones containing CDS or CDNSKEY
			RRsets at the zone apex if they would cause DNSSEC
			validation failures if published in the parent zone
			as the DS RRset.  [GL #1187]
2019-10-17 16:25:39 +00:00
christos
9fb3a182b9 prevent DFmode re-definition. 2019-10-16 15:01:56 +00:00
roy
f0364f8372 Sync 2019-10-16 14:54:39 +00:00
roy
ec58a5344d Import dhcpcd-8.1.1 with the following changes:
* IPv6: Fix a potential crash when learning interface addresses.
 * DHCP: Fix fallout from dhcpcd-8.1.0 for checksum calculation.
2019-10-16 14:53:22 +00:00
roy
72467b57d4 Import dhcpcd-8.1.1 with the following changes:
* IPv6: Fix a potential crash when learning interface addresses.
 * DHCP: Fix fallout from dhcpcd-8.1.0 for checksum calculation.
2019-10-16 14:50:27 +00:00
mrg
bf3ec4633d use GCC_NO_STRINGOP_OVERFLOW for charray.c.
this only affects some platforms.
2019-10-16 07:39:18 +00:00
mrg
4c9e8c010a regen arm ports for config.gcc fix. 2019-10-16 07:38:02 +00:00
mrg
c1069780e3 make sure to include bpabi.h before arm.h. 2019-10-16 07:35:14 +00:00
christos
5deb22f351 add new grammar file 2019-10-15 16:14:49 +00:00
christos
738f1cc2dc add %code bison extension (needed by acpica) 2019-10-15 15:58:46 +00:00
hannken
e59a8eaee2 Add missing "#ifdef _KERNEL" to fix the build of userland zfs libraries. 2019-10-15 06:58:12 +00:00
hannken
239a7f3a3b Change dmu_diff() back to use a "file" instead of a "vnode".
Command "zfs diff" calls it with a pipe, not a plain file.

Fixes PR kern/54541: kernel panic using "zfs diff"
2019-10-14 13:18:00 +00:00
joerg
9eb3d41e85 Merge pkg_install-20191008 2019-10-13 21:56:14 +00:00
christos
af4abd50bc make worker thread prototype match the pthread_create signature. 2019-10-13 21:32:07 +00:00
mrg
669eddb156 use sanitizer_platform_limits_netbsd.cc.
link asan with libm so it can find signgam.

basic libasan works now.
2019-10-13 21:18:20 +00:00
kre
e61903222f This previously had -Wno-format-truncation so I am presuming it should
have been converted to GCC_NO_FORMAT_TRUNCATION rather than
GCC_NO_STRINGOP_TRUNCATION which is what happened.   This might unbreak
the build (olr at least get it further).
2019-10-13 10:07:27 +00:00
mrg
9ded70a5ef expand a buffer size to properly handle full-size 64 bit values 2019-10-13 07:42:27 +00:00
mrg
de11d87641 introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
2019-10-13 07:28:04 +00:00
mrg
0889f52374 remove dated commented warning disable. 2019-10-13 01:17:24 +00:00
christos
cec28d0bd7 Fix the rest of the places where strncpy was called instead of pcap_strlcpy
to copy the interface name. The kernel requires the interface to be NUL
terminated anyway and will fail with ENAMETOOLONG otherwise. Pointed out
by Robert Swindells.
2019-10-11 18:20:20 +00:00
roy
e6b51d5995 Sync 2019-10-11 11:03:59 +00:00
roy
ced039dea4 Import dhcpcd-8.1.0 with the following changes:
* Fix carrier status after a route socket overflow
 * Allow domain spaced options
 * DHCP: Allow not sending Force Renew Nonce or Reconf Accept
 * IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
 * ARP: Fix a typo and remove pragma (thus working with old gcc)
 * DHCP6: Fix a cosmetic issue with infinite leases
 * DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
 * Ignore some virtual interfaces such as Tap and Bridge by default
 * BPF: Move validation logic out of BPF and back into dhcpcd
2019-10-11 11:00:49 +00:00
uwe
aa615a5bc9 Typo. 2019-10-10 22:06:35 +00:00
kre
bab7747200 Only exclude gcc-8 warnings when the gcc we're using is gcc>=8 2019-10-10 02:35:45 +00:00
kre
eb63746a71 Only exclude ggc-8 warnings when the gcc we're using is gcc 8 or more. 2019-10-10 02:30:43 +00:00
christos
04c417de37 no error for string truncation 2019-10-09 21:49:50 +00:00
christos
ec0d0d9190 No error for stringop truncation. 2019-10-09 21:19:28 +00:00
wiz
ebde28641d Fix date. 2019-10-09 13:25:20 +00:00
jhigh
0090dad153 added backend support for argon2 password scheme 2019-10-09 13:13:08 +00:00
christos
7ea1cb15c2 the cast police is looking for me. 2019-10-09 01:18:55 +00:00
christos
bfd64f2ac7 grow the buffer. 2019-10-08 20:02:44 +00:00
kre
332037c027 Merge tzdata2019c 2019-10-08 02:44:35 +00:00
kre
96989b5eda Import tzdata2019c from ftp://ftp.iana.org/tz/releases/tzdata2019c.tar.gz
Summary of changes in tzdata2019c (2019-09-11 08:59:48 -0700):
	Fiji observes DST from 2019-11-10 to 2020-01-12
	Norfolk Island starts observing Australian-style DST

	Plus historic corrections to time in Turkey (1940-85)
	South Korea (1948-51) Detroit (US) (1967-8), Perry County
	(Indiana, US) (pre 1970) Edmonton (CA) (1967, 1969)
	Vancouver (CA) (1946), Vienna (AT) (1946), Kaliningrad (1945-6).
	Louisville (US) (1946-50).  Brussles (BE) (1892).
	Hong Kong Winter Time (1941) now listed as being "DST".

Summary of changes in tzdata2019b (2019-07-01 00:09:53 -0700):

	Brazil no longer observes DST
	Predictions for Morocco extended to 2087.
	Panestine (March 2019) time zone change date corrected
	(and guesses for future transitions revised).

	Historic updates:  Honk Kong (1941 - 1947), Italy (1866).
2019-10-08 02:43:56 +00:00
christos
1e2ebaf66a Enable the backtracking extension, otherwise code does not compile with YYDEBUG. 2019-10-07 02:56:33 +00:00
christos
caea1f9a8b merge conflicts 2019-10-06 23:29:42 +00:00