summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-08make workq/taskq runner threads yield when they've hogged the cpuBret Lambert
ok deraadt@ dlg@ phessler@
2014-10-08whack a few stray .Pp macrosIngo Schwarze
2014-10-08Add offsets for cortex-A7/A15. Adapted from bitrig.Raphael Graf
ok jsg@ bmercer@
2014-10-08add a few more functions.Ted Unangst
(I also forgot to credit doug for much of the initial markup in the previous commit.)
2014-10-08add support for megaraid 3008 (fury) and 3108 (invader) cards. theDavid Gwynne
new dell h730 is a rebaged 3108. adding the ids appears to be enough to support this chip. ill need to check the sgl code to be sure though.
2014-10-08rough sketch of ressl documentationTed Unangst
2014-10-08On ThinkPads, protect code handling the hibernate button withDavid Coppa
"#if defined(HIBERNATE)" ok deraadt@, mlarkin@
2014-10-08At present (since NOINET6-by-default), pppoe(4) does not request IPV6CP unlessStuart Henderson
the pppoe interface already has a link-local address. Add to the config sample showing how to do this with "inet6 eui64". Not ideal and may want further changes in the driver, but since v6 over pppoe is broken for some people let's at least document it for now. Also show the not-easy-to-guess "route add" line that's needed. ok deraadt@ jmc@
2014-10-08Tedu the RB-tree of addresses, thanks for all the fish!Martin Pieuchot
ok henning@, dlg@, mikeb@
2014-10-08obvious reallocarray()Theo de Raadt
2014-10-08obvious reallocarray(); ok dougTheo de Raadt
2014-10-08obvious reallocarray() useTheo de Raadt
2014-10-08Introduce ppc_mttb() and use it instead of rerolling the move to timeMartin Pieuchot
base dance in inline assembly in various places. tweak and ok miod@
2014-10-08tedu the tedu code that tedu forgot to tedu when he tedued the other partJoel Sing
of this tedu code.
2014-10-08Fix a 37 year old bug introduced by Bill Joy on August 24, 1977Ingo Schwarze
that was already present in the 1BSD release on March 9, 1978 by merging Keith Bostic's 22 year old fix from 4.4BSD (not kidding). Original CSRG SCCS commit message: ^As 00009/00006/00145 ^Ad D 5.7 92/03/04 14:35:42 bostic 9 8 ^Ac can't use freopen; example is "date | head file1 /dev/stdin" ok deraadt@ tedu@, also checked by Martin <Natano dot net>
2014-10-08regenDavid Gwynne
2014-10-08new megaraidsDavid Gwynne
2014-10-08rtalloc(9) and rtalloc_noclone(9) are dead, long live rtalloc1(9)!Martin Pieuchot
reminded by phessler@
2014-10-08Use rtalloc1() instead of rtalloc_noclone().Martin Pieuchot
ok henning@, phessler@
2014-10-08Check if the outgoing route is associated to a broadcast address insteadMartin Pieuchot
of doing a lookup on all the addresses of the outgoing interface. ok henning@
2014-10-08Now that the cleaner yields the cpu, we can stop checkingBret Lambert
to see if we've hogged the cpu for >1 second. okay miod@
2014-10-08restrict address lookups to configured address families.Eric Faurot
ok gilles@
2014-10-08trivial use of reallocarray()Theo de Raadt
2014-10-08syncTheo de Raadt
2014-10-08remove an unused file that is a duplicate of arch/hppa/gsc/mongoose_gsc.cJonathan Gray
ok miod@
2014-10-08use reallocarray() to detect multiplicative integer overflow; obviousTheo de Raadt
pattern. This commit does not fix the non-obvious bloody horror of select.c.
2014-10-08obvious realloc -> reallocarray conversionTheo de Raadt
2014-10-08obvious reallocarray()Theo de Raadt
2014-10-08using reallocarray() gives us multiplicative integer overflow checkingTheo de Raadt
in case something wants to create massive amounts of environment, like a bit more than 1/4 of a 32-bit address space. unrealistic -- but why audit one code path, and not treat others the same? then you have to re-engage everytime you see the code. read the news, that isn't what developers do. At least if the code paths look the same, there is hope, because they are easier to verify for correctness. developers need to give other developers a chance to want to care.
2014-10-08obvious conversion of realloc() to reallocarray(). Luckily this isTheo de Raadt
using pollfd, because if this was fd_set... it would not be obvious (or easy)
2014-10-08obvious reallocarray(); ok dougTheo de Raadt
2014-10-08obvious malloc -> reallocarray, for mult int oflowTheo de Raadt
2014-10-08Remove the i830/i845 pipe A force quirks, matching changesJonathan Gray
in recent versions of the linux drm code. drm/i915: Nuke pipe A quirk on i830M From Daniel Vetter 0e8abc81bf4b54a01bb026ba4d883de7c415cc03 in mainline linux drm/i915: Undo the PIPEA quirk for i845 From Chris Wilson a4945f9522d27e1e6d64a02ad055e83768cb0896 in mainline linux With this change a hardware lockup with i845g reported by "THEvoid" via bugs@ is avoided.
2014-10-08obvious reallocarray()Theo de Raadt
2014-10-08if SMALL_KERNEL do not register the imc_watchdog_cb callback. We stillTheo de Raadt
use the callback function to clear conditions on boot... but no callback hook. Should work :)
2014-10-08obvious malloc() -> reallocarray() oflow check; ok dougTheo de Raadt
2014-10-08KNFTheo de Raadt
2014-10-08easy realloc() -> reallocarray() which gives us mult int overflow checkingTheo de Raadt
for free, FREE, FREEEEE ok doug
2014-10-08obvious realloc() -> reallocarray() conversionsTheo de Raadt
ok doug
2014-10-08remove a spaceTheo de Raadt
2014-10-08use reallocarray(NULL, a, b) instead of malloc(a*b)Theo de Raadt
ok doug
2014-10-08easy obvious use of reallocarray(); ok dougTheo de Raadt
2014-10-08use reallocarray(); ok dougTheo de Raadt
2014-10-08use reallocarray(). BTW << 3 is a sloppy compared to * sizeof(u_int64_t)...Theo de Raadt
ok doug
2014-10-08obvious reallocarray() use for * int overflow; ok dougTheo de Raadt
2014-10-08reallocarray() to detect potential int overflow; ok dougTheo de Raadt
2014-10-08reallocarray() for mult int overflow detect; ok dougTheo de Raadt
2014-10-08remove useless castTheo de Raadt
2014-10-08simple reallocarray() use; ok dougTheo de Raadt
2014-10-08use reallocarray() to detect int overflow; ok dougTheo de Raadt