Commit Graph

268782 Commits

Author SHA1 Message Date
martin
952bf21a9d When editing outer partitions:
- when there are no outer partitions to edit, just report success and go
   on, instead of failing an assertion.
 - use the partitions passed as argument and avoid refering (the hopefully
   same set) via the global pm device pointer.

When checking for pre-exisiting partitions, skip non-user partitions
(like the raw partition in disklabel, or extended partitions in MBR).
2019-07-09 16:14:46 +00:00
gson
7753bf0b70 Update require.memory to match the increased rlimit. 2019-07-09 13:59:25 +00:00
ryoon
636f0add72 Enable finger touch panel of HP Spectre x360 13-inch ae019TU 2019-07-09 12:56:30 +00:00
ryoon
e77d389b55 Do not overflow int64_t on HP Spectre x360 13-inch ae019TU
The machine has pen touch panel with (18344, 10544) -> (3840, 2160)
conversion.
2019-07-09 12:55:45 +00:00
ryoon
ed02490963 Add tpcalib, touch panel calibration to ims(4)
Suggested by ryo@ at Japan NetBSD Users' Group BOF 2019-07-06.
2019-07-09 12:52:51 +00:00
msaitoh
58545fc97d Print extend capability from 0x25 to 0x29 correctly. 2019-07-09 12:17:13 +00:00
msaitoh
66e213475a Identify 16GT/s. 2019-07-09 12:13:42 +00:00
msaitoh
e95fc1e9c6 Regen. 2019-07-09 12:09:18 +00:00
msaitoh
124fa0bed9 Add Phison PS5000 and PS5016 NVMe. 2019-07-09 12:07:30 +00:00
nakayama
5449d2249a Zero clear the allocated ring buffer for vmbus_channel.
This change makes Hyper-V's vmbus devices work properly even after reboot.
2019-07-09 10:07:11 +00:00
msaitoh
e27c9b119b Don't automatically set ec_capenable's ETHERCAP_VLAN_HWTAGGING bit in
vlan_config() to make it user-controllable. Instead, set the bit in
xxx_attach().
2019-07-09 08:46:58 +00:00
ozaki-r
a96cce565c tests: check that a new cache is not created over the limit 2019-07-09 02:50:24 +00:00
mrg
7180a63b2a update for libX11 1.6.8. 2019-07-08 23:06:15 +00:00
mrg
d8280f368d define _CONST_X_STRING to silence Xt warnings (from xcalc 1.1.0.) 2019-07-08 20:37:33 +00:00
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