233259 Commits

Author SHA1 Message Date
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
maxv
20fc3c6998 Kill kmeminit(). 2015-02-06 18:19:22 +00:00
ginsbach
ce098d3b4e PR/49642: change processor to host
Use the wording used by FreeBSD, IRIX, and MacOSX (as a sample) rather
suggested wording in PR from Henning Petersen.
2015-02-06 17:35:46 +00:00
martin
c2d9907a1e Fix copy & pasto (libblacklist version) 2015-02-06 17:15:31 +00:00
jmcneill
bc8895a810 By default, RPI firmware sets the max CPU frequency to 600MHz. This can be
overridden by setting arm_freq in config.txt, but the default freq at boot
is still 600MHz.

Add logic to rc.local to compare the current vs. max CPU frequency; if they
differ, set the target frequency to the maximum.
2015-02-06 15:15:01 +00:00
ginsbach
89f8ebe7dd PR/49646: Nikolai Lifanov: Add LLDP - 802.1ab link layer discovery protocol 2015-02-06 14:48:24 +00:00
ginsbach
244854a3bd Add Port Control Protocol (RFC 6887) 2015-02-06 14:39:14 +00:00
prlw1
0b01710bb3 Take procfs_machdep.c rev 1.4 one step further and adjust signature of
thunk_getcpuinfo().
2015-02-06 10:25:13 +00:00
wiz
1dc99cebf1 Remove trailing whitespace. 2015-02-06 08:37:39 +00:00
christos
0a0e590de3 Remove incorrect comment about size; mention that the malloc ambiguity is
part of the C standard.
2015-02-05 22:05:33 +00:00
rmind
e94658962b npf_conn_establish: fix the previous change - drop the reference on error. 2015-02-05 22:04:03 +00:00
snj
18762df49a don't create an empty installation/misc directory in the release tree. 2015-02-05 21:50:42 +00:00
christos
7347edd333 Revert addition to reallocarray to the malloc man page, but keep
the examples.  Add separate manual page to reallocarray explaining
what are the problems with it.
2015-02-05 20:02:28 +00:00
gdt
91f284e510 Fix bug in mrouted about aging neighbors.
mrouted will periodically age its neighbors and will remove a neighbor
if it hasn't heard from it for NEIGHBOR_EXPIRE_TIME. Unfortunately, the
neighbor pointers 'a' and 'prev_a' were never advanced when timer was
not expired. Therefore it would get stuck in a tight loop, advancing
'al_timer' until it would be greater than NEIGHBOR_EXPIRE_TIME. This
caused the neighbor to allways get timed out and dropped. Furthermore,
there was a second bug in this loop when deleting an item that was not
at the head of the list (i.e., prev_a should stay the same instead of
advancing).

This bug fix is the work of Konrad Lorincz.  Bug found and fix made on
netbsd-6.

This material is based upon work supported by the Defense Advanced
Research Projects Agency and Space and Naval Warfare Systems Center,
Pacific, under Contract No. N66001-09-C-2073.  Any opinions, findings
and conclusions or recommendations expressed in this material are
those of the author(s) and do not necessarily reflect the views of the
Defense Advanced Research Project Agency and Space and Naval Warfare
Systems Center, Pacific.
Approved for Public Release, Distribution Unlimited
2015-02-05 16:50:19 +00:00
christos
efd6b20bba add reallocarray. 2015-02-05 16:07:15 +00:00
christos
7f04eb91cf add reallocarray 2015-02-05 16:05:46 +00:00
christos
20f708949a add a couple of casts. 2015-02-05 16:05:20 +00:00
christos
a582ce5979 Add and use reallocarray() to prevent a multiplication overflow in allocation.
Reported by Guido Vranken, thanks!
2015-02-05 16:04:35 +00:00
christos
269fe79da6 cast to return type 2015-02-05 16:01:38 +00:00
christos
70c8a4b907 fix incorrect type 2015-02-05 16:00:39 +00:00
nonaka
fdb1288869 Added drvctl, putter and PUFFS. 2015-02-05 14:32:31 +00:00
nonaka
f538e26e73 Added drvctl. 2015-02-05 14:04:46 +00:00
isaki
083cb7865f Skip kqueue_unsupported_fd test if /dev/drvctl is not configured
in the kernel.  PR bin/49644.

XXX Ideally, it's better to modify to use more generic device file.
2015-02-05 13:55:37 +00:00
nonaka
3d785dc95b Don't write DMAC_DINT register on PXA270, because read-only register. 2015-02-05 13:27:18 +00:00
isaki
f4c31ffb3e For the extended precision, the MSB of the mantissa is an integer
part, and this bit must be ignored at Infinity.
found by tests/lib/libc/stdlib/t_strtod.c::strtold_inf.
2015-02-05 12:23:27 +00:00
isaki
cbb3de29ae Fix typo in comment. pointed out by Y.Sugahara. 2015-02-05 12:22:06 +00:00
pettai
68bf72fd96 Update the Heimdal details 2015-02-05 11:37:47 +00:00
snj
d442c06aa5 GPL code isn't just in src/gnu these days (i.e., the last 6 years).
move stuff from src/external/gpl[23] out of the src tarball and into
gnusrc.
2015-02-05 07:52:49 +00:00
agc
530ddfcba7 Sync the src version of netpgpverify with the version in pkgsrc
> ----------------------------
> revision 1.10
> date: 2015-02-04 16:58:02 -0800;  author: agc;  state: Exp;  lines: +1 -0;  commitid: 0v3HoBPFTnhDSK8y;
> appease compiler warning police - initialise a variable in case it's otherwise
> "used uninitialised". ride previous version bump.
> ----------------------------
> revision 1.9
> date: 2015-02-04 16:21:57 -0800;  author: agc;  state: Exp;  lines: +48 -21;  commitid: ElUADrlljB46GK8y;
> Update netpgpverify (and libnetpgpverify) to version 20150205
>
> + recognise signatures made by subkeys as well as by primary keys
>
> + print out the relevant key which signed the file, even if it's
> a subkey and not the primary key itself.
>
> + keep the same API as before
>
> with many thanks to Jonathan Perkin
> ----------------------------
> revision 1.8
> date: 2015-02-03 13:34:57 -0800;  author: agc;  state: Exp;  lines: +1 -3;  commitid: 6qTclEbv7hmZMB8y;
> Update netpgpverify, and libnetpgpverify, to 20150204
>
> + dump the huge output in testing script to /dev/null so that we can
> see what's happening with the other tests in testit.sh
>
> + fix from jperkin@, don't try to be clever when selecting the only
> key id in a keyring
>
> + add a test for single key (non-ssh) pubring
> ----------------------------
> revision 1.7
> date: 2015-02-03 13:13:17 -0800;  author: agc;  state: Exp;  lines: +3 -0;  commitid: ztXbqAi9ocXGFB8y;
> Update netpgpverify, and libnetpgpverify, to 20150203
>
> + portability fixes to make netpgpverify build on freebsd 10.1 with WARNS=5
>
> + fixed an oversight in the testit.sh script
2015-02-05 01:26:54 +00:00