Commit Graph

9872 Commits

Author SHA1 Message Date
christos 70753faeff PR/56256: Germain: cvs info doc incorrect for update -D 2021-06-21 02:48:01 +00:00
riastradh fc9d104b4a gdbserver(1): Work around clang build failure. 2021-06-20 12:29:58 +00:00
mrg 5be704ed29 switch m68000, m68k and 32 bit arm to GCC 10. just sh3 left!
special thanks to rin for fixing arm32.
2021-06-19 06:19:35 +00:00
mrg b85d94cb40 don't install the libuv.pc file for pic (but private) libs as well.
avoids triggering a makefs warning when building a file system out
of the DESTDIR directly, using the METALOG files etc:

makefs: Can't open `././libuv.pc' for reading: No such file or directory

(the file was installed, and the obsoleted.)
2021-06-18 22:12:02 +00:00
christos 806070a644 fix sun2 build 2021-06-18 13:57:52 +00:00
christos 309a1eb039 replace our merged version with upstream. 2021-06-17 12:53:43 +00:00
christos e8238f606f use the linker script provided by the package 2021-06-17 12:38:53 +00:00
rin 6144bd9496 Unbreak build; new libfido2 requires OpenBSD-compatible freezero(). 2021-06-17 06:20:56 +00:00
christos 07d9d5661b merge conflicts and update between libfido 1.5.0 and 1.7.0 2021-06-17 01:15:44 +00:00
christos 95dbdf3206 Import libfido2 1.7.0; changes:
Version 1.7.0 (2021-03-29)
- New dependency on zlib.
- Fixed musl build; gh#259.
- hid_win: detect devices with vendor or product IDs > 0x7fff; gh#264.
- Support for FIDO 2.1 authenticator configuration.
- Support for FIDO 2.1 UV token permissions.
- Support for FIDO 2.1 "credBlobs" and "largeBlobs" extensions.
- New API calls:
    fido_assert_blob_len;
    fido_assert_blob_ptr;
    fido_assert_largeblob_key_len;
    fido_assert_largeblob_key_ptr;
    fido_assert_set_hmac_secret;
    fido_cbor_info_maxcredbloblen;
    fido_cred_largeblob_key_len;
    fido_cred_largeblob_key_ptr;
    fido_cred_set_blob;
    fido_dev_enable_entattest;
    fido_dev_force_pin_change;
    fido_dev_has_uv;
    fido_dev_largeblob_get;
    fido_dev_largeblob_get_array;
    fido_dev_largeblob_remove;
    fido_dev_largeblob_set;
    fido_dev_largeblob_set_array;
    fido_dev_set_pin_minlen;
    fido_dev_set_sigmask;
    fido_dev_supports_credman;
    fido_dev_supports_permissions;
    fido_dev_supports_uv;
    fido_dev_toggle_always_uv.
- New fido_init flag to disable fido_dev_open's U2F fallback; gh#282.
- Experimental NFC support on Linux; enable with -DNFC_LINUX.

Version 1.6.0 (2020-12-22)
- Fix OpenSSL 1.0 and Cygwin builds.
- hid_linux: fix build on 32-bit systems.
- hid_osx: allow reads from spawned threads.
- Documentation and reliability fixes.
- New API calls:
    fido_cred_authdata_raw_len;
    fido_cred_authdata_raw_ptr;
    fido_cred_sigcount;
    fido_dev_get_uv_retry_count;
    fido_dev_supports_credman.
- Hardened Windows build.
- Native FreeBSD and NetBSD support.
- Use CTAP2 canonical CBOR when combining hmac-secret and credProtect.
2021-06-17 00:38:06 +00:00
rin 5bf1f32ce9 Update earmv[67]{,hf}{,eb}: hazard has gone, just working fine!
Note that kernel texts for soft-float variants are just same as that for
hard-float counterparts.
2021-06-16 00:56:16 +00:00
rin b1b853acea mknative for config.gcc fix for arm. 2021-06-15 08:23:41 +00:00
rin fd0328c778 Fix GCC10 for arm.
Include order of bpapi.h and netbsd-elf.h was swapped when official
support for arm*--netbsdelf-eabi{,hf} was added to GCC10. This seems to
cause critical inconsistencies, which results in SIGSEGV for as(1) on
earmv6hf{,eb} and some other regressions for many arm variants.

With this fix, everything work just fine as far as I can see.

Thanks skrll and mrg for discussion!
2021-06-15 08:22:23 +00:00
cjep c83e65e698 Whilst debugging the nbmakeinfo tool on an OpenBSD box, I noticed
two changes in OpenBSD's makeinfo sources. One addresses an out of bounds
access issue and the other an off-by-one issue.

Fixes PR toolchain/56179. Reviewed by christos.
2021-06-07 20:27:59 +00:00
christos 1107fae2d2 enable gdbserver for amd64 (so that we don't break its build). 2021-06-07 14:24:42 +00:00
christos a66f3670d9 regen mipsn64el 2021-06-06 01:09:08 +00:00
rin 7b1352c2f3 Add missing nbsd_init_abi() call to aarch64_nbsd_init_abi().
Fix tests/usr.bin/gdb/t_regress:pie on aarch64eb (types of auxv was
misinterpreted), and hopefully other strange behaviors on aarch64{,eb}.

This is a regression introduced in GDB11. Neither gdb.old nor release
branches are affected.
2021-06-04 01:42:14 +00:00
rin c89b19724b Sort ${MACHINE}'s. No functional changes. 2021-06-03 07:37:00 +00:00
rin 42e92a46dc For amiga, use wskbd as default, which is only supported protocol today. 2021-06-03 07:34:29 +00:00
rin c9540f6f13 PR toolchain/55837
Get rid of -O0 hack for GDB for hard-float arm. This was necessary because
libunwind did not support s0-s31. Note that for *most* cases (not all!),
-O0 stops using VFP registers for general purposes.

Also note that this hack was incomplete. We had to compile every functions
with -O0, that can be unwinded. Otherwise, GDB crashed every time exceptions
were raised.
2021-05-31 22:33:19 +00:00
joerg 9a3318469d Stop using -fcommon, xsrc should be fixed. 2021-05-31 21:45:41 +00:00
joerg b3e06b24c0 Use -fcommon 2021-05-31 00:04:15 +00:00
joerg 729a28aac6 Various X drivers still need -fcommon, so add it. 2021-05-30 22:24:35 +00:00
thorpej 1e5f9ecd1c Minimal change to suppress unaligned access errors on NetBSD/alpha; add
the UNALIGNED decoration to icmp6 related structures.

PR bin/56199.
2021-05-30 21:48:42 +00:00
thorpej daed3b997c Minimal change to suppress unaligned access errors on NetBSD/alpha; add
the UNALIGNED decoration to struct icmp.

PR bin/56199.
2021-05-30 21:01:43 +00:00
joerg a6d457667a Remove old version of libc++, migrated to external/apache2/dist/libcxx
to match the rest of the mono-repo imports.
2021-05-30 03:26:33 +00:00
joerg a34819e0d3 Remove files no longer used by 249b40b558955afe5ac2b549edcf2d7f859c8cc9 2021-05-30 02:58:06 +00:00
joerg a956dc8220 Always use C++17 string_view, the emulation is just broken. 2021-05-30 02:23:25 +00:00
joerg 8a6356f70d Ignore pointer sign cast issues with clang. 2021-05-30 02:22:19 +00:00
joerg 97ed88ec7e Ignore pointer cast warnings for clang, too. Use -Wno-format more
selectively.
2021-05-30 02:20:09 +00:00
joerg 53d1339bf7 Update LLVM build system for 249b40b558955afe5ac2b549edcf2d7f859c8cc9
This enables the use of modules for a significant build performance gain
when building with clang as host compiler or when using HAVE_LLVM=yes.
Switch libc++ to using the copy from the mono-repo.
2021-05-30 01:56:44 +00:00
joerg 4d6fc14bc9 Import libc++ 249b40b558955afe5ac2b549edcf2d7f859c8cc9 2021-05-30 01:29:16 +00:00
joerg 82d56013d7 Import LLVM 249b40b558955afe5ac2b549edcf2d7f859c8cc9. 2021-05-30 01:26:32 +00:00
joerg e038c9c467 Import clang 249b40b558955afe5ac2b549edcf2d7f859c8cc9. 2021-05-30 01:25:15 +00:00
joerg 006b832c46 Cast to enums via uintptr_t to avoid compiler warnings. 2021-05-30 00:19:08 +00:00
joerg 387d62228c Merge 47661d00cd4d6cd728ae31b0bb29a49a6c06272a 2021-05-30 00:12:31 +00:00
joerg ef049e9fc7 Import libcxxrt 47661d00cd4d6cd728ae31b0bb29a49a6c06272a
The repository moved to https://github.com/libcxxrt/libcxxrt in the mean
time, but keep it on the same branch as before. This primarily brings
C++14 support.
2021-05-30 00:08:19 +00:00
rin cd9f2afc58 Make wskbd(4) default for mac68k; no other protocol is available. 2021-05-29 12:15:32 +00:00
mrg 41b9942230 switch mips* and i386 to GCC 10.
arm32 (significant issues remaining), m68k (seems fine, but x68k
needs to reduce support in loadbsd), and sh3 remaining.
2021-05-27 06:58:27 +00:00
jdc af78ad58e0 Restore the build of the pnozz driver on sparc, now that it has EXA support. 2021-05-27 04:54:21 +00:00
jdc c1739f3a47 Update the pnozz files list for EXA support. 2021-05-27 04:53:44 +00:00
christos 946275102f merge local changes between dhcp-4.4.2 and dhcp-4.4.2-P1 2021-05-26 22:52:31 +00:00
christos 2e8b2e06c5 Import dhcp-4.4.2-P1:
! Corrected a buffer overwrite possible when parsing hexadecimal
   literals with more than 1024 octets. Reported by Jon Franklin from Dell,
   and also by Pawel Wieczorkiewicz from Amazon Web Services.
   [Gitlab #182]
   CVE: CVE-2021-25217
2021-05-26 22:48:40 +00:00
christos 2f967ad4a3 Add missing call to libdhcp_callbacks_register(). Should stop
dhcrelay() crashing when accessing *libdhcp_callbacks.local_port.
(from mrg@)
2021-05-21 21:07:37 +00:00
hannken b3278aea3c Replace the Solaris style endian check (exactly one of
_LITTLE_ENDIAN or _BIG_ENDIAN is defined) with standard check
"#if BYTE_ORDER == BIG_ENDIAN" like we do it elseware.

Should fix PR 56191 (ZFS tests fail on sparc64)
2021-05-21 17:32:49 +00:00
christos 407a19b76a restore -iremap functionality which was omitted by a merge botch, and then
remove as unused later.
2021-05-18 21:34:03 +00:00
rin 5b02012073 Fix search for collating symbols in form of [[.foo.]], as in a similar
manner as already done for POSIX character classes by upstream:

fd5795cc98 (diff-42d58222b328681b9923634991312932089876a0242f78cf488157aa24969c1a)

(We already have this change since initial import to external/bsd/nvi.)

Found by tnozaki. Thanks!
2021-05-17 04:01:57 +00:00
rillig ca8378a5d8 wpa: fix Clang build
src/external/bsd/wpa/bin/hostapd/../../dist/src/common/dpp.c:5377:7:
error: format specifies type 'unsigned long' but the argument has type
'os_time_t' (aka 'long long') [-Werror,-Wformat]
2021-05-15 19:19:55 +00:00
nia b4dc6216b2 this is not FreeBSD 2021-05-13 09:05:19 +00:00
nia a7a8521793 zfs: this is not FreeBSD 2021-05-13 09:03:35 +00:00