Commit Graph

233437 Commits

Author SHA1 Message Date
chs 38a55106b3 revert rev 1.5, which brings back PR 48494.
that earlier revision itself reverted an upstream bugfix,
and that change fixed some systems but broke others
(in particular, it broke my HP Z800 workstation.)
this latest revision brings us back in sync with upstream.
the current upstream (and this latest flip-flop of our copy)
is clearly correct, since it zeros a buffer which is intended
to be used as scratch space for a single acpica operation.
agreed by christos and ryoon back in april 2014.
2015-02-09 03:16:33 +00:00
jmcneill 6315e99e35 From FreeBSD via OpenBSD:
Global Item #3 should be Physical Minimum not Maximum according to the
HID spec.
2015-02-08 23:43:14 +00:00
joerg cfdedc1449 Include vnd, fss and putter 2015-02-08 20:25:10 +00:00
justin 01c483dd39 Add rtadvd to rump user sources 2015-02-08 20:22:01 +00:00
christos 4a931fcb8e add kern_timeout.c for "show callout" 2015-02-08 19:42:12 +00:00
christos 1a5609a923 we can use show callout now from crash 2015-02-08 19:41:39 +00:00
christos 7d5216c057 make the ddb code crash(8) friendly. 2015-02-08 19:41:00 +00:00
christos 1f89ababdf make this kmemuser friendly. 2015-02-08 19:39:09 +00:00
jmcneill 47c1f0bc3f Add Xbox One controller support. Report descriptor from https://github.com/lloeki/xbox_one_controller 2015-02-08 19:22:45 +00:00
wiz 4b0035a070 Fix typo. Reported by rudolf on netbsd-docs. 2015-02-08 19:09:56 +00:00
wiz 448d7d2a8e Add man page for iwm(4). 2015-02-08 16:44:09 +00:00
macallan 21afea1618 - add CHIP_WRONG_ENDIAN for things like PCI buses behind endianness
converting hardware that can't be turned off, like MACE PCI found in
  the SGI O2
- when using CHIP_ACCESS_SIZE on a bus with CHIP_ALIGN_STRIDE > 0 make
  sure we apply the stride when shifting data around
ok matt@ and my gdium still works
2015-02-08 15:22:33 +00:00
christos 3934378a65 Allocate the right size for pcb blocks.
XXX: pullup-7!
2015-02-08 15:09:45 +00:00
mlelstv c75410f9e1 Correct m_len calculation for m_dup() with mbuf clusters.
Fixes kern/49650.
2015-02-08 14:46:30 +00:00
wiz b482bd6fc9 It is 2015 already. 2015-02-08 14:10:28 +00:00
skrll ecba1081f3 RCSid police 2015-02-08 13:51:23 +00:00
njoly 45cb14b62a The length argument is of an unsigned type (size_t) and cannot be
negative. Remove wrong statements in ERRORS section.
2015-02-08 11:27:43 +00:00
jandberg 100db321d0 Add a delay between the recently added new PCMCIA reset method and the old
reset method to get the card reset work reliably on my A1200 model and network
cards.

Discussed on port-amiga.
2015-02-08 09:55:25 +00:00
christos 92e3cdde4e delete error(1) strings. 2015-02-07 20:33:22 +00:00
christos b8c591ba5d check and fix printf formats, negative array indices, uninitialized variables,
shadowed variables.
2015-02-07 20:30:03 +00:00
joerg 2c045a6b19 valid_ipimask is only used under DIAGNOSTIC, so only define it then. 2015-02-07 20:01:48 +00:00
christos bbb44c7f9a Add an FMT macro to snprintb the callout flags. 2015-02-07 19:36:42 +00:00
christos b0698f50d1 print the timer flags. 2015-02-07 19:36:06 +00:00
christos a4efcfa6a1 Apply: http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commit;\
h=c32e74763f77675b9e144126e375977ed6dc562c
The deref overlay in slapd 2.4.13 through 2.4.40 dereferences a NULL
pointer when a search request includes the Deref control with an empty
list of attributes to return (missing input validation). [CVE-2015-1545]

XXX: Pullup-7
2015-02-07 17:58:23 +00:00
christos eae2dca513 Apply: http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commit;\
h=2f1a2dd329b91afe561cd06b872d09630d4edb6a

Certain search queries including the Matched Values control can trigger
a double free in slapd 2.4.40 when freeing operation controls. This is a
regression in 2.4.40, no earlier releases are affected. [CVE-1546]

XXX: Pullup-7
2015-02-07 17:56:59 +00:00
jmcneill b2dc542fe0 Work-in-progress Odroid-C1 support. 2015-02-07 17:20:16 +00:00
jmcneill 6bd34646b0 According to the Cortex-A5 TRM, the CBAR register is not implemented and
always reads as 0x00000000. Add ARM_CBAR option to set this in kernel
config.
2015-02-07 17:14:32 +00:00
christos 58fd765e07 Add QXL, re-enable I915 2015-02-07 14:37:42 +00:00
pooka e11041689b Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver.  Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default.  While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.
2015-02-07 13:20:00 +00:00
mlelstv b8751ed3e7 invalidate input mbuf as soon as it is consumed by the mbuf chain
to avoid a double free later.
2015-02-07 12:50:25 +00:00
martin 3af45c0517 Drop i915, it still causes duplicate case statements
(DRM_IOCTL_QXL_UPDATE_AREA == DRM_IOCTL_I915_BATCHBUFFER)
2015-02-07 11:24:55 +00:00
maxv 40e39321ca Revert previous, it was a false positive.
In nilfs_mount_device() there's one branch where the node is not released:
when the device is already mounted. Not releasing it was thus intentional,
but this is something code scanners can't understand.
2015-02-07 10:40:57 +00:00
wiz 56d805f1de Fix typo. From kspillner@OpenBSD, forwarded by jmc@OpenBSD. 2015-02-07 09:59:47 +00:00
christos 14b12a4800 don't leak pdata. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:27:54 +00:00
christos abd5e6dfc6 fix devvp leak. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:25:16 +00:00
christos aad3a792bf fix leak. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:21:11 +00:00
christos cc74afd952 fix buf leak. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:19:52 +00:00
christos aa2ab5b195 fix udf_node leak. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:18:03 +00:00
christos d52002e677 Return an actual error. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:13:26 +00:00
christos cb630f4d81 set error. Reported by;
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:11:06 +00:00
christos 4bb71db082 plug leak on error. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:09:13 +00:00
christos 5376d50617 fix mbuf leak; this is not being compiled yet.
Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:06:52 +00:00
jmcneill 0f0b53da2c make sure we set ACTLR.SMP=1 for CPU_CORTEXA5 in !MP case, ok matt@ 2015-02-07 02:39:56 +00:00
jmcneill 75034e42f7 fix CPU_CORTEXA5 && !MULTIPROCESSOR build 2015-02-07 00:08:34 +00:00
christos df912090bc disable preemption while scheduling the softint to configure the link. 2015-02-07 00:02:09 +00:00
rjs 8a3bcac417 Fix build when MKRUMP=no. 2015-02-06 22:24:15 +00:00
christos e4344b2827 Extend the scripts to handle the X drm ioctls. 2015-02-06 20:08:23 +00:00
christos 3babb960e1 Extend the list of the headers processed to generate symbolic ioctls to
the X sets, and include the DRM ioctls. Unfortunately the DRM ioctls for
different cards overlap, so until I write some code to merge them, only
enable one (currently the i915).
2015-02-06 20:07:45 +00:00
christos 7df88c51be fix ioctl cut-n-paste error 2015-02-06 19:24:12 +00:00
maxv ff56bf4809 Don't include <uvm/uvm_extern.h> 2015-02-06 18:21:29 +00:00