Commit Graph

268568 Commits

Author SHA1 Message Date
martin
69403a1476 The network settings confirmation message is a manually formated table,
so do not treat it as free flowing text.
2019-07-08 19:46:57 +00:00
martin
9caaf9d713 Properly zero new memory after reallocating the timezone menu 2019-07-08 19:36:02 +00:00
mlelstv
37d9a541e0 The correct fix for lib/51000 is not to remove the apparently dead assignment
but to add the missing usage.

From https://bitbucket.org/tnozaki/netbsd/commits/24b35fdce250
Thanks to Takehiko Nozaki
2019-07-08 06:45:01 +00:00
msaitoh
f872a06270 Add rnd(9) support. 2019-07-08 03:22:38 +00:00
msaitoh
83631b96b8 Add "ifconfig [-]vlan-hwtagging" to enable/disable VLAN hardware tagging
offload function. It's useful to see Ethernet frame's VLAN tag by
disabling with "ifconfig fooX -vlan-hwtagging" and "tcpdump -e -i fooX".
2019-07-08 03:04:15 +00:00
gutteridge
94ef24d019 cnmagic.9: add xref to ddb(4), and minor grammatical fixes 2019-07-07 21:24:20 +00:00
mrg
e6f83b7dd4 re-add arm64 to the list of llvm-ok platforms. fixes gallium_dri.so:
swrast_dri.so: Undefined symbol "lp_native_vector_width" (symnum = 388))
2019-07-07 17:50:34 +00:00
maxv
5d6ad4f735 The whole 'tv' structure gets added to the RND pool, so clear it first,
otherwise each random buffer gets tainted by uninitialized bytes from the
padding.
2019-07-07 15:12:59 +00:00
martin
f6144d97ee Fix some uninitialized memory access and a potential buffer overrun on
machines with multiple network interfaces.
2019-07-07 12:58:45 +00:00
skrll
54cdeddb90 Bump MSGBUFSIZE 2019-07-07 11:58:44 +00:00
skrll
5687dc3fab Enable tegradrm and tegrafb now that jmcneill has fixed it 2019-07-07 11:58:14 +00:00
jmcneill
ecdab5a024 Register userspace interfaces for our connector 2019-07-07 10:27:41 +00:00
isaki
9d521dde30 Avoid memory reallocation on SET_FORMAT. 2019-07-07 06:29:14 +00:00
isaki
8ac6257950 Rearrange some KASSERT and debug messages, to sync with others. 2019-07-07 06:14:21 +00:00
isaki
8cfdd38e9d Fix to evaluate the validity of this track at earlier on audio_read().
It fixes a panic on read() against descriptor opened as O_RDWR on the
half duplex device.
2019-07-07 06:06:46 +00:00
christos
a3d27ef828 PR/54351: Izumi Tsutsui: Remove obsolete entries that are in
/usr/share/examples/dhcpcd/hooks/, so that when someone uses
the examples, they don't get removed by postinstall. A more
advanced way to fix this is to put a date in the the obsolete
entry and only remove files when they pre-date that date. But
this is too much complexity for little benefit for now.
2019-07-06 19:45:25 +00:00
jmcneill
8255efda83 If panel timings are missing, assume 800x600 2019-07-06 15:53:38 +00:00
maxv
7d872de20d Fix bug: if seg == UIO_SYSSPACE, tv[] is not initialized. The branches
should depend on tptr[] instead.
2019-07-06 14:37:24 +00:00
maxv
469366add0 Fix (harmless) uninitialized variable. In the path
namei_tryemulroot -> namei_oneroot-> namei_start

There was a branch where 'ndp->ni_erootdir' was not initialized.
2019-07-06 14:27:38 +00:00
isaki
65cbbcc78f Implement auto recovery of the mixing volume. 2019-07-06 12:58:58 +00:00
mlelstv
e810f82151 Don't sign-extend bytes when dumping description data. 2019-07-06 12:30:36 +00:00
maxv
40a1f4cc30 Revert previous, for now. 2019-07-06 08:00:19 +00:00
maxv
1b0febfb10 Add a condition in the loop. Otherwise there could be an infinite loop,
and we could also be wrongfully adding more wedges than necessary.
Arbitrarily limit the number of blocks to 512, like GPT.
2019-07-06 05:41:23 +00:00
maxv
f1294483c0 Localify two functions that are no longer used outside. Also return the
error from the *_vcpu_run() functions, now that we commit the states in
them (which can fail).
2019-07-06 05:13:10 +00:00
maxv
da12cb8442 Fix two length checks, otherwise a malicious USB key plugged in the
system could trigger overflows, seen with KASAN.
2019-07-06 05:05:53 +00:00
gutteridge
e2f2539cb1 perfused.8: fix typos 2019-07-06 00:45:02 +00:00
jmcneill
c03df035c2 Fix start_delay calculation for tcon0. port-arm/54342 2019-07-06 00:23:38 +00:00
gutteridge
d62992cd0f cvs.1 & cvs.texinfo: note global "-u" option
Add details about the global "-u" option, partly to clarify its
distinction from the "admin" command's local "-u" option. Addresses
PR bin/25472.
2019-07-06 00:10:25 +00:00
gutteridge
49b638eae9 cvs.1 & cvs.texinfo: note NetBSD addition of global -D option 2019-07-05 23:30:57 +00:00
gutteridge
bfcad2f68f cvs.1 & cvs.texinfo: a couple of minor corrections
Add a caveat about file locking (a.k.a. reserved checkouts) to the
"release" command, and add a missing word elsewhere.
2019-07-05 22:42:09 +00:00
maxv
c68a43b15e Fix info leak. The padding of 'sigact' is not initialized, it gets copied
in the proc, and can later be obtained by userland.
2019-07-05 17:14:48 +00:00
maxv
256079f72b More inlines, prerequisites for future changes. Also, remove fngetsw(),
which was a duplicate of fnstsw().
2019-07-05 17:08:55 +00:00
sevan
38f983952f SEMB SGPIO 2019-07-05 15:33:07 +00:00
hannken
19f44db6df Change dtrace toxic range to "0 .. VM_MIN_KERNEL_ADDRESS_DEFAULT",
the direct map may be mapped below "VM_MIN_KERNEL_ADDRESS".
2019-07-05 08:29:18 +00:00
hannken
30c4137c4d Change module type to "MODULE_CLASS_MISC" to allow preloading.
Change "dtrace_nullop()" to return zero, it gets casted to "int (*)(...)".
2019-07-05 08:28:52 +00:00
hannken
ce2428b9c3 When building a module keep symbols if built with "MKCTF" and "COPTS=-g". 2019-07-05 08:28:16 +00:00
msaitoh
8131c50e5e Regen. 2019-07-05 06:19:49 +00:00
msaitoh
3d68d2fa6f Add some Intel Whisky Lake devices. 2019-07-05 06:19:24 +00:00
mlelstv
cdb8872cc5 Resynchronizing the input stream could infinitely wait when the touchpad
is in the wrong (relative) mode. The detection of relative mode is never
reached.

Limit the resynchronization to 6 bytes, then trigger a reset.
2019-07-05 05:09:24 +00:00
thorpej
5d5d89b89e Get the very generically-named put_uint32(), etc. out of the application
namespace.  These symbols are not intended to be used outside of the
dns_sd library.
2019-07-04 15:54:09 +00:00
sevan
204825b73f ADDDC AEDC IBPI LMCE POR PPR SAF-TE SDDC SSC WHEA 2019-07-04 15:31:37 +00:00
wiz
4785fe6db5 Formatting nit. 2019-07-04 13:55:31 +00:00
hkenken
f5808f43a4 Avoid workqueue_check_duplication(). 2019-07-04 11:13:26 +00:00
msaitoh
2d5bf6b9e2 On ENETRESET case, not continue and quit the ifflags_cb() function because
if_init() will do the same thing.
2019-07-04 09:02:24 +00:00
msaitoh
1c56691b77 Fix hung queue check when the queue number >= 31. 2019-07-04 08:56:35 +00:00
ozaki-r
8fc34cb71c Bump the version for if_description
Welcome to 8.99.50
2019-07-04 02:49:30 +00:00
ozaki-r
24bc91d9f1 Add ATF test for a description.
From t-kusaba@IIJ
2019-07-04 02:46:40 +00:00
ozaki-r
86e9de9cad Add descr,description/-descr,-description commands to ifconfig(8) to handle a description.
From t-kusaba@IIJ
2019-07-04 02:45:45 +00:00
ozaki-r
aa0ca9e9b1 Add support for a network interface description.
ioctl(2):
- Add SIOCGIFDESCR/SIOCSIFDESCR commands to get/set the description.

This enables to make a memo for interface, like "Home network" or "Remote VPN".

From t-kusaba@IIJ
2019-07-04 02:44:25 +00:00
jmcneill
339e525973 Add SDHC_FLAG_SINGLE_POWER_WRITE and SDHC_FLAG_32BIT_ACCESS flags 2019-07-03 23:10:43 +00:00