summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-15Replace variadic macros with real functions, so that this compiles onMiod Vallat
platforms still using gcc 2. ok deraadt@
2009-04-15fix a bug where after all MX-es were found to be non-contactable,Jacek Masiulaniec
smtpd would treat the delivery as successful; ok gilles@
2009-04-15Disable DEBUG now, it floods too much information.Miod Vallat
2009-04-15A firsh shot at IP27 interrupts; currently the code assumes it runs onMiod Vallat
the first cpu on dual-cpu boards; this will be fixed later. Just don't disable it at the prom.
2009-04-15Change the way the widget interrupt register is computed and have it becomeMiod Vallat
a complete physical address. Also add proper cpu pa<->device pa for dma on Origin 200. This lets xbridge work and route interrupts correctly on Origin 200.
2009-04-15Oops, referenced an include file which I don't plan to commit yet.Miod Vallat
2009-04-15Only enable the passthrough interrupt for serial ports, and let com(4) manage.Miod Vallat
Otherwise we get stuck interrupted by the ``tx empty'' condition. Also, on Origin 200 the second interrupt vector has to be computed differently, which adds to the ``I wish I never had looked at this code'' trauma.
2009-04-15syncTheo de Raadt
2009-04-15little dose of scrubbing after the monster changes:Henning Brauer
correctly inherit queue stuff, tag, rtableid from the rule if we have no state some logic simplification and removal of redundant checks ok dlg
2009-04-15We don't need to grab the fpageqlock to do nothing but look at the valueOwain Ainsworth
of uvmexp.free. "yeah, go for it" art@
2009-04-15Misplaced comment.Artur Grabowski
From Kirill Timofeev
2009-04-15comment out the RIO stuff until such a time as it is enabled; ok henningJason McIntyre
2009-04-15code and Backus-Naur Form specification rules must fit on 80-column displays;Igor Sobrado
while here, remove a few superfluous line breaks in examples. ok henning@, jmc@
2009-04-15tweak QUEUEING;Jason McIntyre
2009-04-15syncTheo de Raadt
2009-04-15Remove en(4) (no manpage present, no none removed), and the midway.c glue codeOwain Ainsworth
for it. It is very unlikely this still compiles, the hardware is dead. It isn't in any arch's config file. the sparc sbus code is even commented out in files.sparc. Not to mention that the code is fucking appauling, doesn't even know that sparc got bus.h ages ago, still uses vtophys(), defines all types of functions to arch-specific hacks. I will miss the bitchy comments, though... As a note to other drivers: this is the fate that awaits you if you screw up my ctags on commonly used functions. "you have my ok" claudio@, "zap zap zap" deraadt@ If i've missed any bits, please remove them.
2009-04-15sort QUEUEING, and a little list tweaking;Jason McIntyre
2009-04-15move OK ICMP to NOISY level, makes it easier to run at MISC level; ok henning@David Krause
2009-04-15move pfsync stale update messages to NOISY level; ok dlg@ henning@David Krause
2009-04-15restore printing of the fragment option; ok henning@David Krause
2009-04-15fix properly; size gets decremented while we check the segments, so save it soOwain Ainsworth
when we setmapsize it's not zero. *sigh*
2009-04-15clean up the sub-driver callback mess a little.Owain Ainsworth
2009-04-15Add a bit of sanity-checking paranoiaOwain Ainsworth
2009-04-15make load_raw do the same as the others and set mapsize and nsegs toOwain Ainsworth
zero so that we return an empty map on error.
2009-04-15bus_dmamap_load_raw didn't set map->dm_mapsize on successful load.Owain Ainsworth
I just spent five hours looking in the wrong place because of this.
2009-04-15allow building without SHA384 and SHA512 (i.e. SHA256 only) withDamien Miller
-DSHA256_ONLY in order to save space; ok deraadt@
2009-04-14build release sets before kernels (so that bsd.rd can know about at leastTheo de Raadt
some of the sets)
2009-04-14force magic file to include all magdir files in alphabetical order,Charles Longeau
preparing the way for upcoming update to file 4.24 almost entirely written by espie@ "Go ahead, commit it." espie@
2009-04-14tried to fix a the-the in the comment, ended up rewriting it. with/from joris@Janne Johansson
2009-04-14Fixed a few the-the misspellings in comments. Skipped a bunch in ↵Janne Johansson
binutils,gcc and so on. ok jmc@
2009-04-14Oops, this comment change should not have been commited. What itOwain Ainsworth
addresses is another diff.
2009-04-14The use of uvm.pagedaemon_lock is incredibly inconsistent. only aOwain Ainsworth
fraction of the wakeups and sleeps involved here actually grab that lock. The remainder, on the other hand, always have the fpageq_lock locked. So, make this locking correct by switching the other users over to fpageq_lock, too. This would probably be better off being a semaphore, but for now at least it's correct. "ok, unless you want to implement semaphores" art@
2009-04-14syncTheo de Raadt
2009-04-14Correctly handle the case when state might be NULL in pf_test likeAlexander Yurchenko
all other code do. Should fix pr 6121. ok henning@
2009-04-14Route costs can be safely stored in one byte.Michele Marchetto
While there re order structs fields a little bit. ok claudio@
2009-04-14Convert sis(4) to MCLGETI() and make soekris suck much less. With this theClaudio Jeker
little green slug does not block userland even when hammered with twice as much traffic it can handle. Almost the same code I came up during h2k8 but now with two other bugs fixed that where exposed by MCLGETI(). Tested and OK dlg@ sthen@ and a lot of pushing by Theo.
2009-04-14initial implementation of package signatures, based on x509 certificates andMarc Espie
smime detached signatures.
2009-04-14do not cache the computed TTAK unless MIC has been verified.Damien Bergamini
this prevents an attacker from changing the TTAK (DoS attack) by sending a frame with a large TSC but with a bad ICV and/or MIC. now an attacker can only invalidate the cached TTAK.
2009-04-14manpage bits for uvm_pglistalloc() changes.Owain Ainsworth
Couple of tweaks from jmc@
2009-04-14remove unused option character from getopt() optstring; ok markus@Kevin Steves
2009-04-14Convert the waitok field of uvm_pglistalloc to "flags", more will be added soon.Owain Ainsworth
For the possibility of sleeping, the first two flags are UVM_PLA_WAITOK and UVM_PLA_NOWAIT. It is an error not to show intention, so assert that one of the two is provided. Switch over every caller in the tree to using the appropriate flag. ok art@, ariane@
2009-04-14Update to tzdata2009f from elsie.nci.nih.govTodd C. Miller
2009-04-14tweak TABLES;Jason McIntyre
2009-04-14enable ix(4).Jonathan Gray
ok reyk@
2009-04-14Some tweaks to the cpu affinity code.Artur Grabowski
- Split up choosing of cpu between fork and "normal" cases. Fork is very different and should be treated as such. - Instead of implicitly choosing a cpu in setrunqueue, do it outside where it actually makes sense. - Just because a cpu is marked as idle doesn't mean it will be soon. There could be a thundering herd effect if we call wakeup from an interrupt handler, so subtract cpus with queued processes when deciding which cpu is actually idle. - some simplifications allowed by the above. kettenis@ ok (except one bugfix that was not in the intial diff)
2009-04-14tweak OPTIONS; also there is no need to given an example of every "set"Jason McIntyre
argument, so remove any examples that were not particularly illustrative; ok henning
2009-04-14Don't free an mbuf that's still on the TX queue. While there sanitize theMark Kettenis
function signature of bnx_tx_encap() such that people don't get weird ideas like this again. ok dlg@
2009-04-13explicitely say that package signatures contain run time dependenciesIngo Schwarze
only and no pure build dependencies; ok jmc@
2009-04-13Convert the page queue lock to a mutex instead of a simplelock.Owain Ainsworth
Fix up the one case of lock recursion (which blatantly ignored the comment right above it saying that we don't need to lock). The rest of the lock usage has been checked and appears to be correct. ok ariane@.
2009-04-13Ignore zero-sized regions from the BIOS memory map when reserving root PCIMark Kettenis
bus address space. Fixes a problem reported by david@.