Commit Graph

268677 Commits

Author SHA1 Message Date
msaitoh 7aa5b4eed3 Sync with OpenBSD's piixpm.c up to rev. 1.35:
- Print "polling" correctly when in the attach function. Same as OpenBSD
 rev. 1.22-23.
- Improve debug printf()'s. Part of OpenBSD 1.24.
- Do not bus_space_map devices which are at address 0 (it's uninitialized).
  Same as OpenBSD rev. 1.25.
- Add ServerWorks HT1100 device from OpenBSD. Same as OpenBSD rev. 1.32
- Use unique wait channel. From OpenBSD rev. 1.35
2019-07-12 03:57:50 +00:00
uwe c42a8ccb39 Improve (hopefully) mark up of the capabilities tables. 2019-07-12 03:32:41 +00:00
msaitoh 23d254e081 Regen. 2019-07-12 02:39:37 +00:00
msaitoh e2ac13c400 Fix previous (s/1000/1100/). 2019-07-12 02:38:35 +00:00
msaitoh 06953ace32 Regen. 2019-07-12 02:33:51 +00:00
msaitoh 1d666d610e Add some ServerWorks HT1100 devices from OpenBSD. 2019-07-12 02:32:43 +00:00
uwe 776605b5ed Use proper markup instead of .Em to refer to capabilities, structure
memebers, etc in the text (but not in the tables yet, as those require
more rework).
2019-07-12 01:53:45 +00:00
christos 803a9f2a2b relinguish our lock while we are autoloading. 2019-07-11 23:28:17 +00:00
christos d40a55d19d Disable unloading until we keep track of references 2019-07-11 23:27:24 +00:00
macallan cc00210af5 add compat string for H5
ok jmcneill@
2019-07-11 18:22:14 +00:00
maxv c88009ff0d Fix info leaks: the alignment of the structures causes uninitialized heap
memory to be copied to userland in sys_recvmsg().
2019-07-11 17:30:44 +00:00
maxv 1fb326db46 Fix info leak: 'map_attrib' is not used in UVM, and contains uninitialized
heap garbage. Return zero. Maybe we should remove the field completely.
2019-07-11 17:07:10 +00:00
maxv 5a41994391 Fix (harmless) uninitialized variable: 'pg' could be 'endm', in which case
'pg->uobject' would not be initialized. Just invert the two last conditions
of the KASSERT.

ok hannken@
2019-07-11 16:59:14 +00:00
sevan d9a350e71c WPAD 2019-07-11 15:21:46 +00:00
skrll 953e68b667 Typo in comment 2019-07-11 10:53:39 +00:00
wiz 25c730350a Merge lines. Fixes display problem noted in PR 54361 by he@ 2019-07-11 09:48:22 +00:00
skrll 9882958aeb Remove unnecessary #include 2019-07-11 09:03:41 +00:00
mrg a524a1fa61 define _CONST_X_STRING for libXt 1.2.0 2019-07-11 05:44:07 +00:00
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