msaitoh
03e9d50adf
Fix typo (s/supress/suppress/).
2019-07-11 03:49:51 +00:00
mgorny
3f42a56a4c
Fix thinko: syscalls -> signals
2019-07-11 03:30:01 +00:00
mrg
f791ec1b3a
break the build if a .pc generation leaves something matching "@.*@".
...
this is an error in the build that doesn't trigger issues until you
try to integrate with eg, pkgsrc.
2019-07-10 21:53:35 +00:00
mrg
2926345487
handle @epoxy_has_glx@, @epoxy_has_egl@, and @epoxy_has_wgl@.
2019-07-10 21:32:22 +00:00
mgorny
5428c4a258
Improve/fix doc of PT_SETSTEP and PT_CLEARSTEP.
...
Reviewed by kamil.
2019-07-10 19:51:14 +00:00
mgorny
d79e8eeec8
Fix typo: SIGRAP -> SIGTRAP
2019-07-10 19:03:47 +00:00
maxv
a0c6c9c381
Fix info leak: use kmem_zalloc, because we align the buffers, and the
...
otherwise uninitialized padding bytes get copied to userland in bpf_read().
2019-07-10 17:55:33 +00:00
maxv
3583c449f2
Fix info leak: instead of using SS_INIT as a literal compound, use a global
...
variable from rodata. The compound gets pushed on the stack, the padding
of the structure was therefore not initialized, and was getting leaked to
userland in sys___sigaltstack14().
2019-07-10 17:52:22 +00:00
maxv
85d8cf0368
Zero out 'cprng->cs_name' entirely. Otherwise the RND pool gets polluted
...
by uninitialized bits from the end of the string.
2019-07-10 17:32:37 +00:00
martin
398bb2cbb4
When deleting all partitions (e.g. before we use the default partition
...
sizes) do not kill the geometry information in the internal disklabel
copy.
2019-07-10 16:35:11 +00:00
msaitoh
01ebf75d05
Identify Nuvoton NCT6798D correctly. It seems that the bit width of NCT6796D
...
and newer devices' device ID is 13bit. The previous series was 12bits.
2019-07-10 16:23:55 +00:00
roy
f21e788f80
libunbound: set real version in unbound.h
2019-07-10 13:41:14 +00:00
isaki
ff01d29004
Use kmem_alloc/free() instead of old kern_malloc/free().
2019-07-10 13:26:47 +00:00
isaki
f8461a3133
Fix freem() argument. The 3rd argument is bufsize, not direction...
2019-07-10 13:17:57 +00:00
martin
293d9fff86
hidms depends on tpcalib now
2019-07-10 10:07:23 +00:00
martin
0509bcf964
Gracefully skip test if not enough space in temporary directory.
2019-07-10 06:21:40 +00:00
martin
33a5a5b239
Reduce disk image size for tests (PR 44239 has been fixed)
2019-07-10 06:10:54 +00:00
martin
d903b87a2d
Make sure we have enough free inodes before running the filename_expansion
...
test.
2019-07-10 05:57:43 +00:00
mrg
175feda3cc
add all the arm subdirs explicitly. the mtree vs dist strikes again.
2019-07-09 22:23:48 +00:00
mrg
a58cd20e28
update for libepoxy 1.4.3.
2019-07-09 22:17:33 +00:00
mrg
e2b2895a94
updates for libepoxy 1.4.3.
2019-07-09 22:12:40 +00:00
maxv
6691970b36
Fix info leak: always clear 'dkw', because some of its (otherwise
...
uninitialized) fields can be copied to userland, typically in the
DIOCGWEDGEINFO ioctl.
2019-07-09 17:06:46 +00:00
maxv
e201bd44dc
Fix uninitialized variable: in ipsec_checkpcbcache(), spidx.dir is not
...
initialized, and the padding of the spidx structure is not initialized
either. This causes the memcmp() to wrongfully fail.
Change ipsec_setspidx() to always initialize spdix.dir and zero out the
padding.
ok ozaki-r@
2019-07-09 16:56:24 +00:00
martin
73280645be
When we are going to create (and populate) a new boot partition, we should
...
newfs and mount it.
Fix arguments to the MD_PART_DEFAULTS macro and invoke it a bit earlier
(before we shift things around).
2019-07-09 16:25:05 +00:00
maya
36592171e1
return return atf_no_error() instead of 0 for consistency.
...
suggested by moritzbuhl in https://github.com/NetBSD/src/pull/11/
2019-07-09 16:24:01 +00:00
martin
9aa9c78810
When checking for existing NetBSD partitions skip extended MBR and disklabel
...
raw partitions.
2019-07-09 16:21:52 +00:00
martin
0b27251139
Allow newfs for ext2fs partitions too.
2019-07-09 16:16:33 +00:00
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