sevan
f3e3e81ae9
Document standards and correct history.
...
via Free / OpenBSD.
2019-09-30 13:44:52 +00:00
christos
34c0ab9f83
use __inline
...
add missing __printflike attributes
2019-09-30 12:20:54 +00:00
knakahara
9b6ccc4b31
Fix a ifa_release() leak for a specific struct rt_addrinfo.
...
ok by ozaki-r@n.o
2019-09-30 10:22:14 +00:00
mrg
647857abb4
remove HAVE_GCC == 6 support, add HAVE_GCC == 8 support
2019-09-30 08:40:20 +00:00
knakahara
37335b67b8
Fix typo in vmxnet3_legacy_intr().
...
That causes sysctl hw.vmx*.{rx,tx} effect inversely when vmx(4) uses
INTx or MSI.
2019-09-30 07:13:54 +00:00
rmind
04cb50ac51
libnpf/npfctl: support dynamic NAT rulesets using a name prefix.
2019-09-30 00:37:11 +00:00
mrg
90bf43e918
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
2019-09-30 00:06:02 +00:00
mrg
21303c93e9
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
2019-09-29 23:44:58 +00:00
mrg
4be7da17b5
gcc 7 can now be found in gcc.old.
2019-09-29 22:10:55 +00:00
jakllsch
798696b68b
Use AHCI_RFIS_SYNC in ahci_cmd_complete() AT_READREG case.
...
Ensures CPU sees the current device to host FIS before parsing.
2019-09-29 21:28:20 +00:00
jakllsch
957fc3477a
Use AHCI_CMDTBL_SYNC in ahci_exec_fis() to ensure hardware sees the
...
command FIS.
2019-09-29 21:25:08 +00:00
jakllsch
d0c4fc374a
Ensure cmdh_prdtl is 0 in ahci_do_reset_drive().
...
(I'm probably just being paranoid here.)
2019-09-29 21:21:41 +00:00
jakllsch
e5df2e6fa2
Make AHCI_RFIS_SYNC macro (currently unused) compile.
2019-09-29 21:16:14 +00:00
rmind
18d62e57fc
npfctl: implement table replace subcommand.
...
Contributed by Timshel Knoll-Miller.
(missed a file in previous commit; cvs is so helpful..)
2019-09-29 18:51:08 +00:00
rmind
5d5375a7df
NPF ifmap: rework and fix a few small bugs.
2019-09-29 17:00:29 +00:00
rmind
fc0df3a9c7
npfctl: implement table replace subcommand.
...
Contributed by Timshel Knoll-Miller.
2019-09-29 16:58:35 +00:00
rhialto
1c7f0224e7
Do all delta calculations strictly using uint32_t. Avoid integer
...
overflows in calculating absolute deltas by subtracting the right way
around.
Reported-by: syzbot+68c37d09c833f8ec1341@syzkaller.appspotmail.com
2019-09-29 12:07:52 +00:00
skrll
4d2c256e48
Typo in comment
2019-09-29 08:33:20 +00:00
skrll
aa0418fd85
aprint_debug_dev output alignment
2019-09-29 06:51:45 +00:00
macallan
03cbe5cbfe
appease -Werror=stack-protector by avoiding variable sized arrays
...
Now this builds and works on sparc64
2019-09-29 05:35:29 +00:00
macallan
d5d5bb2c7c
add another matchstring for the ds1307 found in Sun Fire V210 ( and probably
...
V240 )
2019-09-29 05:28:21 +00:00
uwe
dc64369beb
db_command - don't hide local static variable in the middle of other
...
local variable definitions. While here, get rid of the alignment of
variable names.
2019-09-29 02:49:59 +00:00
uwe
59ae426bf2
db_command - make setting have_addr more clear.
...
Don't set it to false that it's already initialized to.
2019-09-29 02:42:12 +00:00
uwe
a11e9371ac
db_command - make sure count is always initialized.
2019-09-29 02:35:39 +00:00
uwe
22d01b8c34
Print db> prompt in db_read_line(), not db_readline().
...
The former is what DDB repl calls. The latter performs the actual
input so let other code use it without the unwanted db> prompt. It's
already used by ACPI (and AcpiOsWaitCommandReady supplies its own
prompt). I also use it for my uncommitted Forth scripting for DDB.
2019-09-29 02:00:22 +00:00
pgoyette
949406f27b
Another issue, as identified on IRC/ICB
2019-09-29 00:57:11 +00:00
jakllsch
2bd734055e
Increase MI efiboot bootprompt() input buffer from 80 bytes to LINE_MAX.
...
This allows you to load a kernel from a build directory deep in some file
system after you accidentally boot an old kernel with a new userland and
are otherwise unable to get yourself back to a matching kernel.
2019-09-29 00:52:26 +00:00
mrg
2c08c52060
fix another sign compare warning:
...
cast 'int ret' to size_t when comparing against another size_t
and 'ret' has known to be 0 or positive.
2019-09-29 00:10:02 +00:00
bad
7a2e426f67
initialize disc_dict to NULL.
...
otherwise, if DIOCGDISKINFO returns an error != ENXIO getdiskinfo() later
tries to prop_object_release() stack garbage.
found by rumpctrl tests using clang-7.
2019-09-28 18:03:18 +00:00
tnn
67966cb98d
len -> m_len
2019-09-28 16:22:45 +00:00
tnn
1afa4d8960
mcx(4): fix rx mbuf DMA overrun
...
pullup-9
2019-09-28 16:20:43 +00:00
chs
addc83ab61
initialize a local variable to avoid a gcc warning with
...
certain optimization options.
2019-09-28 16:14:52 +00:00
jmcneill
a20d501e5a
mbstat_conver_to_user_cb -> mbstat_convert_to_user_cb
2019-09-28 16:02:12 +00:00
christos
42ca6328b8
fix sign-compare.
2019-09-28 15:15:34 +00:00
christos
f43e1160fa
Disable NETBSD32_DRMKMS by not using it, but keep compiling it.
2019-09-28 15:15:09 +00:00
christos
30ebda9305
fixed signed compare.
2019-09-28 15:13:08 +00:00
christos
09ba5bf49a
remove local version of mstohz() now that <sys/param.h> provides it.
2019-09-28 15:11:53 +00:00
christos
63ec74c9e4
document that mstohz take and return unsigned int
2019-09-28 15:11:19 +00:00
christos
98b92e3fd6
For 32 bit the mstohz and hztoms functions evaluate their parameter multiple
...
times. This is inefficient for cases like:
unsigned ms = hztoms(MIN(timeout, mstohz(INT_MAX)));
Make them inline functions; also provide the 64 bit versions for them here
so all the LP64 machines can use them (before only amd64 and sparc64
specialized mstohz).
Make them both return unsigned int.
2019-09-28 15:10:58 +00:00
christos
95af61f1e6
Fix signed/unsigned comparison
2019-09-28 12:34:56 +00:00
bouyer
45858b815d
joshua stein, PR kern/54493: acpi_i2c uses incorrect arguments for _DSM call
...
The last argument to the _DSM call has to be ACPI_TYPE_PACKAGE, as defined in in
clude/acpredef.h for _DSM.
Avoids an ACPI warning at boot.
2019-09-28 11:24:10 +00:00
mlelstv
dda7ace908
Fix typo, remove debug printf.
2019-09-28 10:47:09 +00:00
mlelstv
0735f45fcf
signed/unsigned comparison.
2019-09-28 08:21:08 +00:00
skrll
36e99b00d0
Update tegra_pinmux to support all bindings (pins and pin groups)
...
Update tegra210_pinmux.c with all defined pins and groups.
2019-09-28 07:42:47 +00:00
skrll
93f547b926
Fix build on SOC_BCM2835 kernels
2019-09-28 07:39:30 +00:00
mlelstv
5577cee0b2
Handle BCM2838 (bcm2711) SoC pecularities.
2019-09-28 07:24:52 +00:00
plunky
1f4a29ea41
permit read_encryption_key_size from userland
2019-09-28 07:10:55 +00:00
skrll
1422789e63
newline after break
2019-09-28 07:06:50 +00:00
plunky
c7c6d6a659
When encrypted connections are configured, verify that the encryption
...
key length has a minimum size when the adaptor supports that.
This addresses the 'Key Negotiation of Bluetooth' attack, CVE-2019-9506
https://www.bluetooth.com/security/statement-key-negotiation-of-bluetooth/
2019-09-28 07:06:33 +00:00
skrll
d85c9217cb
Whitespace
2019-09-28 07:06:32 +00:00