summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-03Cast char to u_char before passing to isalnum().Ray Lai
OK nicm@
2009-06-03Revert readv/writev changes, as they trigger an apparent file descriptorBret Lambert
deadlock for ckuethe@ "if you have to revert, you have to revert" deraadt@
2009-06-03kill some unused defines, don't do an ifndef dance forThordur I. Bjornsson
things that should be defined here and remove a silly comment.
2009-06-03syncTheo de Raadt
2009-06-03Don't postpone memory allocation for the error message to the error handler:Ingo Schwarze
That way, memory exhaustion simply cannot be reported because it would require to... allocate memory. Instead, really use a statical buffer as it is advertised in the manual. "looks good" millert@
2009-06-03remove the never used bufq_ code.Thordur I. Bjornsson
ok oga@ 'dance for me' blambert@
2009-06-03Remove some redundant code.Mark Kettenis
2009-06-03More KNFJordan Hargrave
ok marco@
2009-06-03Make sure we don't stomp on a RAID partition that is already in use.Marco Peereboom
Code is now enabled and ready for general testing.
2009-06-03droppmap is only necessary (and declared) on MULTIPROCESSORArtur Grabowski
2009-06-03remove cruft that snuck in with previousThordur I. Bjornsson
2009-06-03remove unneeded ARGSUSED; ok krw@ henning@Kevin Steves
2009-06-03Just like on amd64. Instead of keeping a bitmap of which cpus a pmapArtur Grabowski
is active on, save a curpmap pointer in cpu_info. This lets us simplify a few things and do lazy context switching from a user process to a kernel thread. There's a new IPI introduced for forcing a cr3 reload when we're tearing down a dead pmap. kettenis@ ok (after I polished a few minor things)
2009-06-03Synchronize man page and help output.Christian Weisgerber
From a least of details by sobrado@; input by jmc@ who still isn't happy.
2009-06-03Nuke CYRIX_CACHE (and related defines). They've not been used in a longTobias Weingartner
time. Beginning of refactoring cpu identification. ok kettenis@
2009-06-03Add acpivideo support. This adds brightness support for all laptopsPaul Irofti
except thinkpads, they will use the acpithinkpad driver. The driver is also hooked into wsconsole. So brightness can be adjusted via: $ wsconsctl display.brightness=<percentage> This is very helpfull on some laptops that have a nasty bios and get two steps instead of one when pressing the brightness button. Tested on various dell, fujitsu, acer, samsung and other laptops. Okay marco@, miod@. Suggestions from kettenis@. Lots of reviews and help from miod@, thanks!
2009-06-03Only need to umount once on restarting. Force umounts in case ofKenneth R Westerback
restarting. No need to ask for verbose umount output since we send it all to /dev/null. Make sure we start in '/', lest we were restarted while exploring the installed/upgraded filesystems.
2009-06-03jordan and marco claim this is about to work, so stop spreading dreadTheo de Raadt
2009-06-03Added ejectable bay for IDE cdromsJordan Hargrave
ok marco@
2009-06-03Lift the NFS over UDP retransmit logic from FreeBSD.Thordur I. Bjornsson
OK blambert@ FreeBSD commit message: Refactor the NFS over UDP retransmit timeout estimation logic to allow the estimator to be more easily tuned and maintained. There should be no functional change except there is now a lower limit on the retransmit timeout to prevent the client from retransmitting faster than the server's disks can fill requests, and an upper limit to prevent the estimator from taking to long to retransmit during a server outage.
2009-06-03from Brad; I've read and tested it, also reads ok to dlg@.Stuart Henderson
- Further simplify the re(4) receive filter handling and have everything taken care of in re_iff(), eliminating a bit of code from re_init(). - Remove unused if_flags field.
2009-06-03Enabled docking driverJordan Hargrave
ok marco@
2009-06-02Enable acpidock deviceJordan Hargrave
ok marco@
2009-06-02KNF cleanup and denoiseJordan Hargrave
ok marco@
2009-06-02Nuke sissy verbiage about losing data. No more special casing forKenneth R Westerback
restarted installs/upgrades. They should just work the same as first attempts except for presenting some remembered info as default answers. ok deraadt@
2009-06-02ehci_alloc_sqtd_chain() was doing signed math on len, thus the great codeTheo de Raadt
curlen -= curlen % mps; can for very large transfers result in an intermediate variable growing larger than it should. Probably can't really happen in the real world. Do the same u_int repairs to the other matching drivers ok blambert kjell miod kettenis
2009-06-02Somehow this change didn't get committed with the rest of the powepc interruptDale Rahn
fixes. Required to be changed at the same time.
2009-06-02Recent code to try and detect if a terminal supports UTF-8 by printing to itNicholas Marriott
fails spectacularly on (at least) sparc64, so disable it for now. Thanks to naddy and Josh Elsasser for help and testing.
2009-06-02Fix the way apache reports Content-Length by promoting the clength fieldPierre-Yves Ritschard
of request_rec from long to off_t, which makes it 64bit on i386. This allows files bigger than 2gig to be correctly served on arches where long is only 32bits. Warning: this introduces an ABI break, and hence some third party apache modules will need to be rebuilt to correctly link to this new apache. ok miod@, deraadt@
2009-06-02give the retransmission count booking keeping a facelift,Thordur I. Bjornsson
just store the maximun amount of rexmits in one place and cleanup. Also make sure this only effects soft mounts. OK blambert@
2009-06-02Change the wait-channel type to 'const volatile void *', eliminatingPhilip Guenthe
the need for casts when calling tsleep(), msleep(), and wakeup(). "I guess so" oga@ "it's masturbation" art@
2009-06-02Added changes for docking station, must eject all children devicesJordan Hargrave
ok marco@, mlarkin@
2009-06-02Instead of the global hash table with the terrible hashfunction and aOwain Ainsworth
global lock, switch the uvm object pages to being kept in a per-object RB_TREE. Right now this is approximately the same speed, but cleaner. When biglock usage is reduced this will improve concurrency due to lock contention.. ok beck@ art@. Thanks to jasper for the speed testing.
2009-06-02Bring interface list handling up to disk and cd behaviour of beingKenneth R Westerback
able to detect added/deleted interfaces. Tweak vlan handling. No longer delete interfaces as they are configured so you can choose to reconfigure them. ok deraadt@, ksh tweaks from halex@
2009-06-02Protect errno.Ray Lai
OK millert
2009-06-02snprintf returns int, not size_t.Ray Lai
OK millert otto deraadt
2009-06-02Set errno to EINVAL when fgets is given a non-positive size.Ray Lai
OK millert otto
2009-06-02make env->sc_listeners and env->sc_ssl pointers, one step further towardGilles Chehade
configuration reloading without killing active sessions; ok jacekm@
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-02bring in buf_seek, buf_size and buf_left from bgpdEric Faurot
ok pyr@
2009-06-02we were erroneously setting fill-column, even when the inputKjell Wooding
to set-fill-column was garbage. (common, since they keystroke is so close to find-file). Fix!
2009-06-02Remove unused fields from struct filestatTodd C. Miller
2009-06-02constify argument to buf_addEric Faurot
ok pyr@
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-02Same reject and blackhole route handling as in ospfd. Allow those routesClaudio Jeker
to be redistributed even though they point to 127.0.0.1. OK michele@
2009-06-02remove unused variableCharles Longeau
ok krw@
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