267269 Commits

Author SHA1 Message Date
christos
ca3496f0f1 Document the '*' field and give a more complex example with F and *. 2019-04-27 17:46:08 +00:00
christos
c650b5f27f Fix an off-by-one in the F modifier that ended up skipping the first : or =
entry, and add a * specifier for a "default case".
2019-04-27 17:45:28 +00:00
maxv
180ad97dfa Mmh, fix nvmm_vcpu_create(), the cpuid is given, and must not be chosen
from the free map. Looks like I forgot this after all my design rounds.
While here reorder the initialization.
2019-04-27 17:30:38 +00:00
maxv
6296b43f91 Reorder the NVMM headers, to make a clear(er) distinction between MI and
MD. Also use #defines for the exit reasons rather than an union. No ABI
change, and no API change except 'cap->u.{}' renamed to 'cap->arch'.
2019-04-27 15:45:21 +00:00
skrll
4402b4d24a Fix build on ppc64 2019-04-27 15:43:09 +00:00
christos
a45df3f4cb simplify and explain 2019-04-27 14:10:01 +00:00
sevan
0c663421c2 Skip CARP & Veriexec support to reduce size 2019-04-27 12:12:25 +00:00
sevan
5a52001516 Skip CARP & Veriexec support in RAMDISK to reduce size 2019-04-27 12:08:11 +00:00
wiz
1dcc590110 Fix some typos, improve wording. 2019-04-27 10:57:11 +00:00
maxv
ab30f80534 Add support for EnhancedIBRS, a more performant mitigation for SpectreV2,
available on future CPUs (or maybe they already exist now...).
2019-04-27 10:40:17 +00:00
maxv
ff7e7d3d5f If guest events were being processed when a #VMEXIT occurred, reschedule
the events rather than dismissing them. This can happen for instance when a
guest wants to process an exception and an #NPF occurs on the guest IDT. In
practice it occurs only when the host swapped out specific guest pages.
2019-04-27 09:06:18 +00:00
pgoyette
7adbc81177 Semicolon not needed 2019-04-27 08:49:19 +00:00
pgoyette
44fda29806 Oooppss - deleted too many chars. Put them back.
Should fix the build break.
2019-04-27 08:48:31 +00:00
maxv
eec145af41 Optimize nvmm-intel, use inlined GCC assembly rather than function calls. 2019-04-27 08:16:19 +00:00
pgoyette
befc8be5c7 A few more empty-string --> NULL in required-modules lists 2019-04-27 06:18:15 +00:00
sevan
1085c20f1b Use usbdevices.config & bluetooth.config to reduce duplication. 2019-04-27 02:00:12 +00:00
sevan
d303e27c07 Rename imask to intr_mask as imask is defined globally in
sys/arch/powerpc/include/intr.h:104 and this clashes.

Resolves build on macppc.
ok <pgoyette>
2019-04-27 01:55:05 +00:00
mrg
8a16bef50a fix uchcom(4) detach, like umodem(4) recently:
- use static normally in umodem_common.c
- add sc_refcnt, sc_lock and sc_detach_cv to softc.  usage is:
  - sc_dying is protected by sc_lock
  - sc_detach_cv is matched with sc_lock for cv operations
  - sc_refcnt is increased in open and decreased in close, any time
    it is decreased, it is checked for less than zero, and a broadcast
    performed on sc_detach_cv.  detach waits for sc_refcnt
- uchcom_param() and uchcom_set() check for sc_dying

this fixes pullout out an open ucom@uchcom.

XXX: pullup
2019-04-27 01:23:26 +00:00
sevan
13f00b880e Use filesystems.config to reduce duplication 2019-04-27 00:56:19 +00:00
sevan
73b544c720 Sort more 2019-04-27 00:37:40 +00:00
sevan
70b5869091 Sort 2019-04-27 00:30:37 +00:00
kamil
f1a9e7560d Backport improvements into GCC's sanitizer_linux.cc from more recent LLVM
Backport fixups for syscall()/__syscall() routines from LLVM compiler-rt
dated October 1st 2018. The commit beffore switching LLVM compiler-rt
sycall calls to libc calls for NetBSD.

GCC8 will get part of these changes from upstream and GCC9 will operate on
libc calls directly for the NetBSD port.

This is intended to correct misuse of parameters of syscall()/__syscall()
that could break !x86 ports in UBSan.
2019-04-27 00:23:17 +00:00
christos
f03563bfb7 Enforce alignment also if the compiled in PAGE_SIZE is bigger than
getpagesize()
2019-04-26 23:57:59 +00:00
christos
1c2f4c69fa Back to using MAX_PAGE_SHIFT 2019-04-26 23:57:00 +00:00
sevan
702a353ffb Use veriexec.config to reduce duplication 2019-04-26 22:46:03 +00:00
sevan
84c67733ac typo 2019-04-26 22:29:20 +00:00
sevan
d637958541 Enable BUFQ_PRIOCSCAN, CARP, Veriexec 2019-04-26 22:28:41 +00:00
sevan
75d6e670be Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
2019-04-26 21:40:28 +00:00
macallan
0fa231dd33 fix misleading error message 2019-04-26 21:02:42 +00:00
maya
af8d450a9a Use LDADD, which apparently puts the libraries at the end of the command,
and makes static builds (aka sun2) happier.
2019-04-26 20:41:10 +00:00
christos
eb9b53725a Fix stack protector build 2019-04-26 19:42:27 +00:00
christos
260d5f320c for "countable" lwp names, try to display name*<count> instead of truncating. 2019-04-26 19:39:19 +00:00
maya
d7ada1c9e8 -frounding-math is gcc specific, help clang builds 2019-04-26 19:17:05 +00:00
christos
0ea918eb42 Amputate stack protector warnings, instead of trying more band-aids. 2019-04-26 18:49:35 +00:00
sevan
0d183fde6a Add a configuration file for enabling Veriexec in kernel config(5) files. 2019-04-26 18:41:24 +00:00
skrll
42a83c97c6 KNF 2019-04-26 18:37:24 +00:00
skrll
7977da520a Add mount_cd9660 and sysctl 2019-04-26 18:25:08 +00:00
mlelstv
75ae521e01 Handle half-closed pipes in FIONWRITE and FIONSPACE. 2019-04-26 17:24:23 +00:00
mlelstv
83d07c8177 Clean up pipe structure before recycling it. 2019-04-26 17:20:49 +00:00
christos
ef72f68d26 Follow the man page for EL_GETTC and not require a NULL terminated argument
list: https://reviews.llvm.org/D61191
2019-04-26 16:56:57 +00:00
christos
aa4ed64cc9 Undo previous, it is moving us in the wrong direction. 2019-04-26 14:58:56 +00:00
roy
ffbf4bb585 Note import of dhcpcd-7.2.1 2019-04-26 14:36:40 +00:00
roy
5520e60803 Sync 2019-04-26 14:34:10 +00:00
roy
cdfaff8fa4 Import dhcpcd-7.2.1 with the following changes:
*  auth: Use consttime_memequal to avoid latency attack
*  DHCP: Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED
*  DHCPv6: Fix a potential buffer overflow reading NA/TA addresses
2019-04-26 14:32:27 +00:00
mlelstv
583ae9ed45 Expose device type. You can query it with e.g. drvctl -p ld0 disk-info/type.
Missing in previous commit.
2019-04-26 14:28:40 +00:00
pgoyette
64eedb18ba Some more empty-string --> NULL conversions for module dependencies 2019-04-26 11:51:56 +00:00
mrg
e7c3d862ce re-#if 0 some testing code. 2019-04-26 10:27:49 +00:00
mrg
6bc30fa402 - implement sub-5degC interpolation.
- avoid setting TSADC_AUTO_CON_SRC*_EN twice
2019-04-26 10:20:09 +00:00
maya
6717e848e2 Remove unused 387 implementations.
These were removed from the build for being wrong, but the implementation
stayed around. This is confusing, we have the attic for old code,
let's delete the unused implementations.
2019-04-26 10:11:14 +00:00
jmcneill
2237cf1d59 Remove Designware timer code. This was used by the old Rockchip port and
is no longer required.
2019-04-26 10:11:03 +00:00