summaryrefslogtreecommitdiff
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-02remove extra imsg_event_add() after EV_WRITE checks - this is notReyk Floeter
required because it is called later and there is no return before. ok gilles@
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-02Libevent may do an upcall with both EV_READ and EV_WRITE set.Reyk Floeter
So change the code accordingly to allow that. Found by claudio@ in ospfd
2009-06-02Do not go one bar too far down the road; found by Parfait; ok ogaTheo de Raadt
2009-06-02Don't access array[-1] if array is an empty string.Ray Lai
OK nicm@
2009-06-02Make code clearer:Ray Lai
- if (hdr->size > SIZE_MAX - 1) + if (hdr->size == SIZE_MAX) OK nicm@
2009-06-02Don't dereference NULL if buf winds up being empty. Can't happenRay Lai
right now according to NicM but better safe than sorry. OK nicm@
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-02syncTheo de Raadt
2009-06-02Don't leak memory if multiple -f flags are given.Ray Lai
OK nicm@
2009-06-02strip /<version>/<arch> part from the install url before feeding it backAlexander Hall
to the ftplist server ok deraadt@
2009-06-02some sed cleanup and killing a catAlexander Hall
very similar diff ok krw@
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-02Also match on 'master.passwd.byuid'. Fixes a problem with lookup by uid.Bernd Ahlers
ok pyr@
2009-06-02fix macro handlingAlexander Hall
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 TZ on install media where it should fitTodd T. Fries
ok 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 tmuxTheo de Raadt
2009-06-02tweak previous;Jason McIntyre
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-02machfb(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-02make the eval's resistant to rouge user inputAlexander Hall
2009-06-02Added interface for cpu idle on amd64Jordan Hargrave
ok gwk@, toby@, marco@