summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-10uninitialised value caused some lmenv(4) fans to never appear sometimes;Constantine A. Murenin
the bug was reported long time ago by Simon Slaytor with adm9240; the eyes were cleared today by LLVM/Clang Static Analyser; ok deraadt
2008-11-10vm_map_lock() around calls to uvm_map_findspace(); ok teduTheo de Raadt
2008-11-10last character in line is at len - 1. ok gillesTed Unangst
2008-11-10insertion sort is faster than bubble sort. ok gillesTed Unangst
2008-11-10- simplify the passing of ssl cert/key during ssl configuration,Gilles Chehade
from Jacek Masiulaniec <jacekm@dobremiasto.net>
2008-11-10same vmspace song and dance as in kern_sysctl.c 1.167; ok kurtTheo de Raadt
2008-11-10- in queue, do not use the atomic api when dealing with real filesGilles Chehade
change based on a comment from deraadt@ - in queue_register_submission(), if an envelope cannot be fully written because of some error (ie: disk full), not only return error but also remove the partial envelope from file system. this prevents the queue process from trying (failing) to reload it over and over.
2008-11-10- plug a descriptor leak when session is aborted by a server error insteadGilles Chehade
of a client QUIT or client timeout
2008-11-10- move '=>' into the lex loop, requested by and with help from deraadt@Gilles Chehade
2008-11-10PuTTY supports AES CTR modes, so interop test against them tooDamien Miller
2008-11-10- in queue_load_submissions(), if queue_message_from_id() fails for someGilles Chehade
reason just warn instead of aborting the whole smtpd.
2008-11-10- snprintf() can return -1, make sure every call is checked properlyGilles Chehade
2008-11-10- recognize '=>' as one token instead of trying to match '=' and '>'. thisGilles Chehade
prevents: "foo = > bar" from being valid
2008-11-10- make READ_BUF_SIZE a power of 2Gilles Chehade
2008-11-09the extra kget() macro just befuddles the things we need to replace with a ↵Theo de Raadt
sysctl mechanism later
2008-11-09protect against .orig files resulting from a patch.Marc Espie
2008-11-09correct device name.Owain Ainsworth
2008-11-09Don't attach to the agp bridges on amd64 machines. They have a differentOwain Ainsworth
interface (which is currently used by iommu(4) on amd64). I have a driver for that interface, but it would currently conflict with iommu and as such has not been commited.
2008-11-09Make own struct for the stream header instead saving the data in singleMarcus Glocker
variables.
2008-11-09Add BULK xfer support.Marcus Glocker
Thanks to Carlos Valiente for donating an EeePC 701 where this has been developed and tested.
2008-11-09typos; ok ratchov@ jmc@Christian Weisgerber
2008-11-09workaround lack of struct proc. this whole mess must be cleaned out.Theo de Raadt
userland processes should not see all the kernel components.
2008-11-09make aucat(1) stop automatically the audio(1) device if it's idle. ThisAlexandre Ratchov
way, when in server mode, it consumes no CPU if there are no clients. Later, this will allow to start aucat(1) at session or system startup.
2008-11-09add missing header needed by getpagesize().Charles Longeau
ok millert@
2008-11-09if the device is not started, make sio_pollfd() pass 0 events bitmapAlexandre Ratchov
to the backend to avoid reporing the device as writable when it's stopped. Solves 100% CPU usage of apps poll()ing a stopped device.
2008-11-09Rework that way that agp attaches.Owain Ainsworth
previously, we had a static list of pcidevs and which agp driver would be interanlly attached. Instead, split the agp drivers so they work like audio(4), where we attach a driver, which sets up some callbacks and initial state, then attaches the interface (agp(4)). Since this allows us to attach different drivers in different places, and give them /proper/ probe functions move most of the drivers back to attaching at pchb, where they should, and intagp (formerly agp_i810) stays attaching at vga, since it's part of the intel integrated graphics chips. Diff shrinks the kernel slightly, gets rid of the annoying "no integrated graphics" warning, and allows more cleanup later. Tested by many. fix for alpha build (the only other vga_pci.c consumer) suggested by miod.
2008-11-09Introduce bpf_mtap_ether(), which for the benefit of bpf listenersChristian Weisgerber
creates the VLAN encapsulation from the tag stored in the mbuf header. Idea from FreeBSD, input from claudio@ and canacar@. Switch all hardware VLAN enabled drivers to the new function. ok claudio@
2008-11-09typo fixed (overriden -> overridden)Tobias Stoeckmann
ok espie, jmc
2008-11-09sio_revents() should return 0 poll events if the device isn't startedAlexandre Ratchov
2008-11-09rework the rate coding code to get rid of the ugly {wpi,iwn}_plcp_signal()Damien Bergamini
function. will be required for future MCS support in iwn.
2008-11-09uninitialized value, caused by a typo.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok damien@
2008-11-09tweak previous;Jason McIntyre
2008-11-09Removed unneeded conversion from RCSNUM to string in rcs_rev_setlog.Tobias Stoeckmann
oki joris@
2008-11-09remove reference to POOL_DIAGNOSTIC which hasn't existed for nearly a year.Chris Kuethe
ok tedu@
2008-11-09systrace activation happens in the middle of a rather sensitive piece ofTheo de Raadt
fork(), i worry about it a lot but cannot prove yet that sleeping there is bad. Anyways, this change makes us never sleep in that area -- the memory needed is allocated ealier like the ptrace state. tested by many developers.
2008-11-08Use atop() and ptoa() in buf_free_pages() to make it consistent withPedro Martelletto
the rest of the code, okay art@.
2008-11-08syncTheo de Raadt
2008-11-08Get rid of va-ppc.h.Mark Kettenis
ok miod@
2008-11-08when defragmenting an mbuf chain, do not call M_DUP_PKTHDR.Damien Bergamini
this is an overkill in this case as it duplicates mbuf tags etc... following a discussion with kettenis@ a few months ago about gem(4) did some cleanup while i was there.
2008-11-08remove two printfs that slipped through my last commit.Damien Bergamini
2008-11-08sort;Jason McIntyre
2008-11-08initialize k to NULL in wpi_tx_data()Damien Bergamini
2008-11-08fix macros up so they use the do { } while (/* CONSTCOND */ 0) idiomDavid Gwynne
ok deraadt@ otto@
2008-11-08do not call if_start() from tx_done() unless there is a reason to do soDamien Bergamini
(IFF_OACTIVE was set.)
2008-11-08do not allocate cmd memory for rings 5 and 6 (HCCA) which are unused.Damien Bergamini
2008-11-08Support for retrieving revisions from branches in branches was missing.Tobias Stoeckmann
Reported by chl@, ok joris@
2008-11-08rework iwn_start().Damien Bergamini
2008-11-08new firmware & HW CCMP cryptoDamien Bergamini
2008-11-08major wpi(4) overhaul.Damien Bergamini
wpi(4) and iwn(4) used to be in sync but with the latest iwn(4) changes, this was no longer the case. that commit repair this. it brings HW CCMP encryption/decryption among other things. requires an update of the wpi-firmware package. please report any regression you might see.
2008-11-08major wpi(4) overhaul.Damien Bergamini
wpi(4) and iwn(4) used to be in sync but with the latest iwn(4) changes, this was no longer the case. that commit repair this. it brings HW CCMP encryption/decryption among other things. requires an update of the wpi-firmware package. please report any regression you might see.