258113 Commits

Author SHA1 Message Date
mrg
18eacdc36b fix some more missing depends issues. remove various wrong/old depends.
fixes issues i was able to trigger manually by building specific files.

more for PR#53137.
2018-04-13 01:14:19 +00:00
christos
16b63f9a5b remove now unused crap. 2018-04-12 21:38:59 +00:00
christos
6935db70ac PR/53177: David Binderman: Better error handling 2018-04-12 21:14:53 +00:00
christos
e9bf2ea424 ignore the ancient NetBSD emulation tag. 2018-04-12 20:49:08 +00:00
christos
d31378f416 There have never been binaries with a checksum tag for NetBSD.
These days the equivalent functionality is provided by the build
id tag. It was incorrect in the first place to overload tag #2
(which used to be the emulation name) with a different meaning, so
actually document the meaning that was once used (because binaries
with that tag exist).

Tag existance noticed by kre@
2018-04-12 20:48:41 +00:00
mrg
64f3b8c383 fix the hard coded depends list for insn-*. i pulled these out
of the generated .d files for a successful build.  i've tested
that at least one recent macppc build failure is fixed with this
change (namely, try building just insn-emit.o in this subdir),
but the pattern should fix anything else left in insn*.

this really should finally fix PR#53137.
2018-04-12 20:44:16 +00:00
christos
b5c899a4dd let the modular code load the sysv modules. 2018-04-12 20:43:44 +00:00
christos
93433845a4 If we are modular, allow us to use modules for compat; don't load all the
compat code in.
2018-04-12 20:36:59 +00:00
jdolecek
27e5d69f63 fix year for the tls-maxphys resync 2018-04-12 19:12:25 +00:00
jdolecek
2a81354350 update tls-maxphys 2018-04-12 19:11:35 +00:00
jdolecek
8791a97236 update the NVMe entry; perhaps time to consider good enough and remove from
here?
2018-04-12 19:08:02 +00:00
christos
061fe5a110 provide vectors for the ifconf compat code and ifdatareq compat code. 2018-04-12 18:50:13 +00:00
ragge
7fcbf61b29 Fix bug causing DMA to/from user space fail. Fixes PR#49517.
This bug has been around since 2003.
Thanks to Martin Husemann for providing hardware to debug on!
2018-04-12 18:45:57 +00:00
christos
b10d32c2eb disentangle a bit more the compat ioctl code. 2018-04-12 18:44:59 +00:00
nakayama
a5e7377adb Handle compatdir first whether making obsolete lists or not, to
make obsolete lists including compat directory (eg. ./usr/lib/i386)
properly.
2018-04-12 11:49:04 +00:00
msaitoh
90c7e05ef2 Add cpu_ucode_intel_verify() to verify microcode image. Currently, we don't
verify extended signatures'checksum. I have no any image which has extended
signature. If an extended signature found, the function shows
"This image has extended signature table." and continue.
2018-04-12 10:30:24 +00:00
msaitoh
58bd2cc30a Read sc_if_flags after taking core lock. Same as if_wm.c rev. 1.418. 2018-04-12 08:03:55 +00:00
maxv
1a305e09db Make 'opts' local to rip_sbappendaddr(). 2018-04-12 07:45:29 +00:00
maxv
d735f2faea Synchronize the code between raw_ip6.c<->icmp6.c<->raw_ip.c, so that it is
the same everywhere.
2018-04-12 07:28:10 +00:00
maxv
8a7842d9ec Remove misleading comment; we're just checking the SP, not verifying the
AH/ESP payload. While here style a bit.
2018-04-12 06:49:39 +00:00
ozaki-r
55b7c5b86a Resolve tangled lock dependencies in route.c
This change sweeps remaining lock decisions based on if locked or not by moving
utility functions of rtentry updates from rtsock.c and ensuring holding the
rt_lock.  It also improves the atomicity of a update of a rtentry.
2018-04-12 04:38:13 +00:00
msaitoh
377872ea64 Add PCH_CNP support (I219 with Intel 300 series chipset).
It's required more test, so it's disabled by default.
2018-04-12 03:25:08 +00:00
msaitoh
9c91c4de43 If the extended configration size in the EXTCNFSIZE register is 0, don't
continue.
2018-04-12 03:13:04 +00:00
msaitoh
78e62023db Our PCH_SPT part of wm_nvm_valid_bank_detect_ich8lan() was based on
FreeBSD r287467. After that, they reverted it and committed the different
code in r287762. r287762's bank detect code didn't work for us because our wm
dirver had a problem in flash access. The problem was fixed in if_wm.c rev.
1.567, so we can use the new way now.
2018-04-12 03:09:24 +00:00
msaitoh
34de81f25d On PCH_SPT (and newer), FLASH access should be done by 32bit.
Especially for ICH_FLASH_HSFCTL register, it's located at 0x0006, so
it should be accessed via ICH_FLASH_HSFSTS(0x0004) and use shift or mask.
2018-04-12 02:48:59 +00:00
msaitoh
3ee56c6786 No binary change:
- Sort registers.
- Lowercase hexadecimal value.
2018-04-12 02:15:07 +00:00
christos
1211273114 fix type confusion on 32 bits 2018-04-11 23:20:15 +00:00
palle
c84ca42d80 sun4v: Update TODO file with current state of sun4v support 2018-04-11 19:44:47 +00:00
palle
a01cdf60ec sun4v: handle MMU-related traps properly when they occur at trap level 1. This fixes issues when user-level LWPs access the user-level stack 2018-04-11 19:41:18 +00:00
palle
912d648341 Fix typo in comment 2018-04-11 19:37:58 +00:00
christos
ea7b28924d kvm_geterr() already contains errno, use errx. 2018-04-11 18:52:29 +00:00
christos
b02b35c97e use EXIT_FAILURE instead of 1 2018-04-11 18:52:05 +00:00
christos
7e6759edb0 Hide ps error about processes not found (we could be more specific...)
It is superfluous, since we print:
    foo not running? (check /var/run/foo/foo.pid).
2018-04-11 18:51:22 +00:00
christos
0c6b6224b4 Add the missing lock. 2018-04-11 18:34:18 +00:00
christos
d0c4b2c3b3 Add the location of the last lock to help debugging. 2018-04-11 18:33:48 +00:00
christos
03fd2bea72 instead of short-circuiting the test, set auto target host on by default. 2018-04-11 18:33:21 +00:00
christos
3ec6e2e2d6 flip the default and enable kernel timestamps. 2018-04-11 15:25:58 +00:00
nonaka
45c29ee2ce efiboot reports parent ppb bus/device/function of booted network inteface. 2018-04-11 10:34:19 +00:00
nonaka
b014c9faab efiboot: Added network boot support. 2018-04-11 10:32:09 +00:00
maxv
81857fe9a5 Remove whitespaces/tabs, and one non-ASCII character. 2018-04-11 08:29:19 +00:00
maxv
db09a739cd Don't pass IP_ALLOWBROADCAST in ipsec4_input. The flag lands in
ipsec_getpolicybyaddr, and only IP_FORWARDING is taken.

In fact it would be good to change the 'flags' argument of ipsec4_input
to be a boolean, same for ipsec_getpolicybyaddr. It would be less
misleading.
2018-04-11 08:11:20 +00:00
maxv
cc670cf1d8 Add comment about IPsec. 2018-04-11 07:55:19 +00:00
maxv
8e7acb22ab Small changes in ip_dooptions: replace bcopy by memcpy, the areas can't
overlap.
2018-04-11 07:52:25 +00:00
maxv
51eb5c20a1 Add 'static', like the prototype. 2018-04-11 07:15:12 +00:00
mrg
28731ff616 if a new map entry doesn't fit, be more verbose about the sizes. 2018-04-11 07:14:23 +00:00
mrg
d144e17dce add information about how to boot from gpt. mostly taken from the wiki. 2018-04-11 07:13:18 +00:00
wiz
ba701a99f9 Update usage. 2018-04-11 06:41:23 +00:00
wiz
a10e00a15c Sort flags in SYNOPSIS. 2018-04-11 06:40:53 +00:00
maxv
db5deb0877 Add one more XXX in the list. 2018-04-11 06:37:32 +00:00
maxv
279f1df60e Add XXX. 2018-04-11 06:26:00 +00:00