summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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@
2009-06-02Enable machfb(4) and raptor(4) here too.Mark Kettenis
2009-06-02Set flags on the recently added CardBus ids based onJonathan Gray
product id.
2009-06-02Define a proper wsdisplay type for machfb(4).Mark Kettenis
requested by miod@
2009-06-02Make machfb_putcmap() respect the starting index in the colormap.Mark Kettenis
2009-06-02Enable machfb(4).Mark Kettenis
2009-06-02it is better when ramdisks compileTheo de Raadt
2009-06-02Initial stab at an accelerated driver for PGX/PGX64 framebuffers.Mark Kettenis
Inspiration from the NetBSD, Linux and X.org drivers.
2009-06-02Initial stab at an accelerated driver for PGX/PGX64 framebuffers.Mark Kettenis
Inspiration from the NetBSD, Linux and X.org drivers.
2009-06-02Add more CardBus ids to PCI attachments to cope withJonathan Gray
things like the crazy ExpressCard->CardBus adapters which make CardBus devices show as PCI devices.
2009-06-02minor tidying; from Brad; ok sthen@Christian Weisgerber
2009-06-02Added interface for cpu idle on amd64Jordan Hargrave
ok gwk@, toby@, marco@
2009-06-02dofile{read,write} are essentially identical to their iovec equivalents,Bret Lambert
dofile{read,write}v, so remove the former and rework it so that everything uses the latter "nice" deraadt@ "reads ok" oga@ spastic 'OMG Ponies!!!!' weingart@
2009-06-02"Add a macro to define the newer generation of bge(4) chipsets. SimplifiesStuart Henderson
things a bit a and helps with adding support for more newer chipsets with the same common features. From the Linux tg3 driver." From Brad; binaries are not identical; the if statement is changed slightly, but no functional change. Looks fine to naddy@.
2009-06-02Add CardBus devices to the match list.Jonathan Gray
2009-06-02Make rtw at pci detachable.Jonathan Gray
2009-06-02First bits for rebuild. Disabled for now.Marco Peereboom
2009-06-02Move M_PREPEND macro code to be entirely into m_prepend the function;Bret Lambert
calling M_PREPEND is now #define'd to be calling m_prepend. Shaves an unknown but assumed-to-be-nontrivial amount from the kernel. ok claudio@ henning@(who may have had to okay this twice to get me to notice)
2009-06-01Remove dead/unused codeJordan Hargrave
ok marco@
2009-06-01no point in calling curcpu() when ci is already set. ok miod@Dale Rahn
2009-06-01Deal with wraparound when checking RLIMIT_DATA.Todd C. Miller
OK guenther@ otto@
2009-06-01Fix the order of checking if a machine has MTRR. We need to checkPeter Hessler
against the vendor string, then cpu family, then if the cpu claims to have it. requested by toby@ Also match against Via's cpu string to enable MTRR on matthieu@'s VIA Nano compile tested on i386 by wcmaier@
2009-06-01Move ibcs2_sendsig into compat. Quit poluting machdep.Tobias Weingartner
Ok guenther@
2009-06-01Use proper pmap during ACPI sleep on amd64. Original code by Kurt,Mike Larkin
this version by Art. additional ok by marco@
2009-06-01Since we've now cleared up a lot of the PG_RELEASED setting, remove theOwain Ainsworth
pgo_releasepg() hook and just free the page the "normal" way in the one place we'll ever see PG_RELEASED and should care (uvm_page_unbusy, called in aiodoned). ok art@, beck@, thib@
2009-06-01Use the background color attribute in udl_erasecols and udl_eraserowsMarcus Glocker
instead hardcoding ``0x0000''.
2009-06-01Sort argument list of udl_draw_char similar as udl_fb_* friends.Marcus Glocker
2009-06-01There is no need to use a variable just for sizeof(). Garbage collect ifa.Claudio Jeker
No binary change.