summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-27Oops. Missed a line. Fix so disklabel(8) compiles again.Kenneth R Westerback
2006-09-26update the comment for bge_chipinit().Brad Smith
2006-09-26re-enable I2C_VERBOSEJonathan Gray
ok deraadt@
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
2006-09-26switch alpha to gcc3; joint work with drahn@ and brad@Martin Reindl
ok drahn@ brad@ mickey@ deraadt@
2006-09-26a better description of what our automatic keying example is up to;Jason McIntyre
ok hshoexer
2006-09-26Start to get HostAP mode working for pgt(4). Works at the first try,Marcus Glocker
but surely needs more testing and some more modifications.
2006-09-26udp port 664 is sometimes also stolen on the wire by ipmi/asf balony.Theo de Raadt
Did these vendors really really really not think? Absolute morons.
2006-09-26regenMatthieu Herrb
2006-09-26add GeForce 7300 GT, ok deraadt@Matthieu Herrb
2006-09-26Set sk_jumbo_buf to NULL if malloc() fails in the for loop withinBrad Smith
[m]sk_alloc_jumbo_mem().
2006-09-26use .Pa for urls and avoid broken links;Jason McIntyre
problem noticed by frederic culot (pr #5243) ok deraadt pval
2006-09-26clear up some confusion between operands and operators; with & ok jmc@Otto Moerbeek
2006-09-26It seems pointless to assign a variable the atoi() return value afterMichael Knudsen
the strtol() error checking block for the strtol() assignment for the same variable. ok brad mglocker
2006-09-26Allow zero-length patterns with -x soJared Yanovich
$ grep -x "" matches empty lines as reported on misc@ by Martin Marusak <marusak@fhpv.unipo.sk>. Initial diff by otto@ with tweaks by me. ok otto
2006-09-26style(9) extra spaceKurt Miller
2006-09-26- Use mmap to allocate thread stacks instead of malloc. This preventsKurt Miller
applications that install their own thread stack red-zones with mprotect PROT_NONE from entering the malloc pool when the pages are freed. - round up requested thread stack size to closest page boundary to simplify the red-zone calculations. okay brad@
2006-09-26Part 2 of file descriptor race and deadlock corrections.Kurt Miller
Adjust design of file descriptor table to eliminate races with both opening and closing of file descriptor entries and eliminates one class of deadlocks. One nice side effect of this change in design should be better performance for applications that open and close many file descriptors due to reduced fd_table_lock contention and fd entry reuse. - Add entry states to manage use of entry and eliminate some closing races. fd entries are not deallocated upon close() now. - Call _thread_fd_table_init with one of five discreet modes to properly initialize an entry and manage the state transition to open. - When closing an entry hold the entry spinlock locked across the state transition and the _thread_sys_close call to close another race. - Introduce a new lock type FD_RDWR_CLOSE that transitions either a closed entry or an open entry into closing state and then waits for a RDWR lock so that the lock queue can unwind normally. All subsequent fd lock attempts for that entry are rejected with EBADF until the fd is fully closed, or reopened by dup2(). Once a thread holds the FD_RDWR_LOCK it is safe to close() it or dup2() on it. - When a thread creates a new fd there is a window of time when another thread could attempt to use the fd before the creating thread has initialized the entry for it. This can result in improper status_flags for the entry, so record the entries init mode, detect when this has happened and correct the status_flags when needed. reviewed by marc@ & brad@, tested by several, okay brad@
2006-09-26Fix compilation, okay henning@ mpf@Pedro Martelletto
2006-09-26do not alloc jumbo buffers (3.5m per iface) and also do not allow card to ↵Michael Shalayeff
receive large frames until mtu is set to higher value (later piece from brad); brad@ ok
2006-09-26Get HostAP mode working and fix IBSS tweaks. From DragonFly driver.Marcus Glocker
Tested by claudio and me so far. ok jsg@
2006-09-26regenJonathan Gray
2006-09-26Match ELECOM LD-USB20Jonathan Gray
From redzonemiata at yahoo.co.jp via FreeBSD PR 86195
2006-09-26Sync in_cksum.c to the same version dvmrpd has. This fixes problems with oddClaudio Jeker
packet lenght even though ospfd does not produce such packets. OK norby@
2006-09-26Simplify and make ISO chksum work on big endian machines.Esben Norby
Found by me and corrected by claudio@ during the r2k6. ok claudio@
2006-09-26authunix_create_default() might return NULL; spotted by tbert;Otto Moerbeek
ok deraadt@
2006-09-26accidental extra %s in ddb printfMichael Shalayeff
2006-09-26fix races w/ getdirtybuf() usage that can violate normalMichael Shalayeff
softdep processing and temporarily create inconsistant on-disk ffs state and as well abuse kmem. pedro@ deraadt@ ok; tested by many
2006-09-26Shrink the number of matches done in piixsata_chip_map,Jonathan Gray
no functional change.
2006-09-26Move some duplicated debug code into its own function.Jonathan Gray
2006-09-26Go back to spl0, previous change broke Cuda adb; reported by CarlMiod Vallat
Bloomsburg.
2006-09-26escape error response to unsupported Expect: header, fixesDamien Miller
CVE-2006-3918; ok cloder@
2006-09-26Make mesh compile again, it also works now too, from NetBSD with a lotGordon Willem Klok
of tweeks. Leave it commented out in GENERIC and files.macppc for now. ok kettenis@, brad@
2006-09-25Remove debugging printf accidentally committed.Ray Lai
OK joris@.
2006-09-25mention D-Link adapters.Brad Smith
2006-09-25add the new PCI ids.Brad Smith
2006-09-25regenBrad Smith
2006-09-25add PCI ids for the DLink DGE-550SX and some unknown Marvell YukonBrad Smith
chipsets. From the Linux sky2 driver in the mm kernel tree.
2006-09-25Remove unnecessary /* NOTREACHED */ comments because our lint isRay Lai
cool and recognizes __dead, and because shorter examples are clearer. OK otto@.
2006-09-25well, this is embarrassing.David Gwynne
it turns out a drivers detach code isnt called when the machine is shutting down, which meant my bits to stop bgrb and sync the cache werent being run. without those bits being run the filesystems on these controllers were never clean on reboot, so we'd always get an fsck. so now we provide a shutdown hook which does get run on shutdown to sync the cache properly. found by claudio@
2006-09-25enabling interrupts isnt a bug, so dont put XXX next to it.David Gwynne
only ack the interrupts we deal with in the interrupt handler. use the correct macros when setting the interrupt mask.
2006-09-25Martin Végiard <deadbug AT gmail.com> has been kind enough to rescind theGordon Willem Klok
third clause of his license and strike the phrase "All rights reserved", so we can consolidate both license blocks into one. Thanks!
2006-09-25Include s_llrint.c instead of ithe now removed llrint.c.Mark Kettenis
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which lead to surprising results. Spotted by Paul Stoeber. ok kettenis@
2006-09-25Move llrint.c, llrintf.c, lrint.c and lrintf.c to s_llrint.c, s_llrintf.c,Mark Kettenis
s_lrint.c and s_lrintf.c, and add i387-specific assembler versions. ok deraadt@, otto@
2006-09-25You forgot about -DSMALL and broke all the install mediaTheo de Raadt
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which lead to surprising results. Spotted by Paul Stoeber. ok djm@
2006-09-25Support some additional HTTP redirect codes.Jonathan Gray
"looks good" pedro, fgsch, ok otto
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which lead to surprising results. Spotted by from Paul Stoeber, more to come. ok miod@
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which lead to surprising results. Spotted by from Paul Stoeber, more to come.