summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-06-02Constipate the second argument to timeout_add_*(). Also, usePhilip Guenthe
nitems() in two places instead of coding the array size and fix a spot of whitespace. ok miod@ blambert@
2009-06-02Avoid a buf oflow in uhidev_set_report_async() if we have to prepend theMiod Vallat
report id and the data to report is too long (this should probably use dynamic allocation for large reports).
2009-06-02Reintroduce the macppc interrupt subsystem rewrite. Several bugs haveDale Rahn
been found and corrected.
2009-06-02Shuffle function declarations a bit; ipsp_kern doesn't actually exist,Bret Lambert
and tdb_hash is only used in ip_ipsp.c, so there's no need to declare it as extern in ip_ipsp.h ok claudio@ henning@
2009-06-02A piece of an upcoming diff was on the same line, revert that portionDale Rahn
of the previous diff so macppc is stable again. found/ok maja@
2009-06-02Abuse bio layer a little less by marking fake buffers with B_PHYS.Marco Peereboom
From beck with lots of squealing and ear bleeds. Issue originally reported by todd. ok beck
2009-06-02Add some extra protection against non-monotonic timestamps. ok steveskChris Kuethe
2009-06-02Remove unused b_forw defines which make beck@ scream like a little girlMiod Vallat
and disturb everyone's peace.
2009-06-02- make sure biodone() gets run at IPL_BIOJasper Lievisse Adriaanse
OK thib@
2009-06-02ANSIfyPhilip Guenthe
noted by Jonathan ARMANI, ok blambert@
2009-06-02Clear PQ_ENCRYPT flag on uvm_pagefree, because free pages are by definitionAriane van der Steldt
not encrypted.
2009-06-02spaceMarco Peereboom
2009-06-02Make rebuilds restartable over reboots.Marco Peereboom
Abort rebuild and drain IO when shutting down.
2009-06-02When about to run X11 in 32 bpp mode, advertize correctly that we areMark Kettenis
really using 24 bpp pixels on 32 bit boundaries. ok miod@
2009-06-02Some casts to please format strings a little bit later onTheo de Raadt
ok grange
2009-06-02The two "firmware" arrays only contained 16 bit values, but were beingTheo de Raadt
being stored in an array of 32 bits. waste of memory. The bandpass filter table only contained 16 bit values, but was being treaded as if it was in an array of 32 bit values, thus what was being loaded into the chip was totally wrong and this probably explains why I remember it sounded horrid. Not tested on real hardware; incorrect array accesses discovered by Parfait ok oga
2009-06-02Add an r10k-specific cop0 control register.Miod Vallat
2009-06-02make rl at pci detachable; untested.Jonathan Gray
2009-06-02do the pf_pkt_addr_changed(m) magic just like gif etcHenning Brauer
tested by Manuel Rodriguez Morales <marodriguez at grupogdt.com>
2009-06-02satosin was already defined in in.h, no need to redefine it hereBret Lambert
ok claudio@
2009-06-02Make fxp at pci detachable; untested.Jonathan Gray
2009-06-02Rebuild can go to degradedMarco Peereboom
2009-06-02do not leak mbufs in the Rx path in case hardware decryption failed.Damien Bergamini
this leak was introduced when i switched to MCLGETI. reported by mpf@ and others.
2009-06-02make sure the channel's subband is found in iwn4965_set_txpower().Damien Bergamini
found by "Parfait".
2009-06-02make dc at pci detachable; untested.Jonathan Gray
2009-06-020 -> NULLBret Lambert
ok claudio@
2009-06-02let atw at pci be detachable; untested.Jonathan Gray
2009-06-02Add a DIAGNOSTIC panic to ensure we are not runningKurt Miller
via an interrupt handler in acpi_sleep_machdep. okay mlarkin@ marco@
2009-06-02truncated format strings; found by Parfait and gccTheo de Raadt
ok maja oga guenther
2009-06-02replace custom macro AR5K_ELEMENTS() with nitems()Reyk Floeter
2009-06-02Drop an argument to DRM_ERROR() that was both unmatched and superfluousPhilip Guenthe
ok oga@
2009-06-02blkno's are 64 bit so need %llu, found by ParfaitTheo de Raadt
ok oga
2009-06-02replace custom macro sizeofa() with nitems()Reyk Floeter
2009-06-02Fix some minor format string problems found in a maze of false positivesTheo de Raadt
provided by Parfait ok oga
2009-06-02Cope with logical device numbers gaps, this fixes out-of-bounds accessAlexander Yurchenko
in an array. Problem found and ok deraadt@.
2009-06-02msgctl(), shmctl(), semctl() all have operations that are supposedPhilip Guenthe
to return pids, not thread ids, so record the former when performing operations. ok blambert
2009-06-02If a bogus channel is encountered, return an error instead of tryingPhilip Guenthe
to use the -1 flag value as an array index. Found by Parfait. ok reyk@ oga@
2009-06-02change a sizeof() to nitems() because the array subtype is a short.Theo de Raadt
change all the N() macros to our favorite new macro nitems() found by Parfait ok oga guenther
2009-06-02marco needs to learn how to do his range checks better, found by ParfaitTheo de Raadt
ok oga guenther
2009-06-02When we fail to find the controller type, don't continue on using the nextTheo de Raadt
consecutive index which is outside the array; found by Parfait ok oga guenther
2009-06-02Do not go one bar too far down the road; found by Parfait; ok ogaTheo de Raadt
2009-06-02Fix an off-by-one in the ddb-only debugging function tdb_hashstats.Owain Ainsworth
when we check if a hash chain is over 15 long, we would access one past the end of the array. change the static array size to a define because it makes this checking easier to verify. Found by Parfait. ok deraadt@.
2009-06-02A process should always be able to attach kevent filters to its ownPhilip Guenthe
threads, even when it has changed uid or gid in the past. As is, a P_SUGID process using rthreads leaks the stack on thread exit. requested and approved by tedu@ a while ago
2009-06-02The xl_detach() function is now used by pci code, so it must be in theTheo de Raadt
shared code in case either cardbus or pci varients are not configured.
2009-06-02add CRYPTO and softraid to zaurus RAMDISKTodd T. Fries
Sure deraadt@
2009-06-02did not issue scsi_inquire with EVPD flag for USB mass strage classYojiro Uo
device, as some devices will be stalled by the request. ok krw@
2009-06-02add CRYPTO to macppc RAMDISKTodd T. Fries
Sure deraadt@
2009-06-02Add an identifier that tells us if we can rebuild this discipline.Marco Peereboom
KNF & spelling too
2009-06-02make xl at pci detachable.Jonathan Gray
2009-06-02set needfree to NULL in sys_writev() so stack garbageThordur I. Bjornsson
does not cause us to call free if we never malloced. crash found by & OK marco@