summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-10Restore delay on XS_BUSY result, just in case it is needed somewhere. PolishKenneth R Westerback
logic to eliminate FALLTHROUGH craziness. ok marco@ dlg@
2010-01-10fix some mdoc tidbits. Thanks to jmc@ for advice.Marc Espie
2010-01-10Add traces to help tracking subtle timing bugs often causingAlexandre Ratchov
underuns and overruns; such bugs are hard to debug with ktrace or a debugger. They are also handy to debug or monitor code using aucat. To enable traces, compile aucat with ``make DEBUG=-DDEBUG'' and use the -d option multiple times. ok jakemsr
2010-01-10unify options a bit: use -Dname=value for defines uniformously (e.g., deprecateMarc Espie
-F keyword heavily).
2010-01-10- teach runner how to remove a message from queue given a message id/uidGilles Chehade
and assuming message is not in processing/scheduled state - teach smtpctl how to request message removal from runner discussed with todd@, idea ok jacekm@
2010-01-10nitsMarc Espie
2010-01-10use full signatures to avoid downgrades.Marc Espie
remove double check in update that properly belongs in pkg_add replace has_new_sig by has_different_sig, with better diagnostic messages.
2010-01-10Add /var/db/sysmerge, needed for upcoming change in xenocara.Antoine Jacoutot
"reads alright" oga@, ok matthieu@ todd@
2010-01-10remove and move some chatty byte during upgrade startup; ok krw, idea from ↵Theo de Raadt
mcbride
2010-01-10Make hotplugd to not complain if any of attach or detach scriptAlexander Yurchenko
doesn't exist. ok stsp@ deraadt@
2010-01-10ATI AHCI seems not to put slot number into the command registerAlexander Yurchenko
on error as the spec requires. This triggers kernel assertion error because zero is read from the register and wrong ccb is picked from the queue. To cope with it if there's only one outstanding command get its slot number from the active commands mask, otherwise fail all active commands. ok krw@ dlg@
2010-01-10Make sure END() matches the *{LEAF,ENTRY}() function names.Miod Vallat
2010-01-10Fix two bugs in IPsec/HMAC-SHA2:Markus Friedl
(1) use correct (message) block size of 128 byte (instead of 64 bytes) for HMAC-SHA512/384 (RFC4634). (2) RFC4868 specifies that HMAC-SHA-{256,384,512} is truncated to nnn/2 bits, while we still use 96 bits. 96 bits have been specified in draft-ietf-ipsec-ciph-sha-256-00 while draft-ietf-ipsec-ciph-sha-256-01 changed it to 128 bits. WARNING: this change makes IPsec with SHA-256 (the default) incompatible with older OpenBSD versions and other IPsec-implementations that share this bug. ok+tests naddy, fries; requested by reyk/deraadt
2010-01-10more signatures checksMarc Espie
2010-01-10only substract ISAKMP_ID_DATA_OFF once. otherwise 'buf' might overflowMarkus Friedl
and/or ASN1-DNs get not parsed correctly; with and ok krw@; ok reyk@
2010-01-10follow logic: if same packagename, but different signature elements,Marc Espie
something very bad happened.
2010-01-10Fix use of `enumeral_type' in template type unification error as seenFederico G. Schwindt
when compiling boost 1.41. From http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17327 via Markus Hennecke <markus-hennecke at markus-hennecke dot de>. miod@ tested and ok
2010-01-10trick: I can actually recognize specs easily, so why not allow them withoutMarc Espie
-e ?
2010-01-10add REGRESSION_TESTING markers so tests still run.Marc Espie
new test for signature comparison checks
2010-01-10if we make pkg_create more stringent, then we cannot create bogusMarc Espie
packing-lists. Add check for libspec, and REGRESSION_TESTING
2010-01-10bump copyrightMarc Espie
2010-01-10pull the signature comparison code into its own file.Marc Espie
add comparison functions to Packagenames that return undef when it matters.
2010-01-10fold in content from the usd docs; diff from Daniel DickmanJason McIntyre
2010-01-10remove references to docs we no longer install;Jason McIntyre
2010-01-10have smtpd errx() at startup if no hostname could be detected either fromGilles Chehade
a gethostname() call or from a hostname directive in smtpd.conf discussed with jacekm@, i initially intended to only warn but errx seems to be a better solution for now
2010-01-10Generate a EoR marker in the update list instead of sending it independentClaudio Jeker
of the actual update dump. This will get us the right barrier and the EoR is no longer sent way before the actual dump. Currently a nop since graceful restart is turned off (unless you have announce restart yes in the config). put it in henning@
2010-01-10In the non-optimized case, an address list containing "any" (ie. { any ↵Theo de Raadt
10.0.0.1 }) should be folded in the parser to any, not to 10.0.0.1. How long this bug has been with us is unclear. ok guenther mcbride
2010-01-10Output a debug if we can't open an existing keyfile. bz#1694, ok djm@Darren Tucker
2010-01-10GCC doesn't respect the aligned attribute for automatic variables. SoMark Kettenis
having mutexes on the stack, like dlg@ added recently to the scsi code, doesn't work on hppa. So instead of relying on mutexes being properly alligned just reserve 4 words and use the one that has the proper alignment. ok miod@
2010-01-10Set XL_FLAG_FUNCREG for "cyclone" variants. This makes them see interruptsMark Kettenis
such that they actually work. ok jsg@
2010-01-10s/setpriority/setifpriority/ to eliminate a conflict with setpriority()Philip Guenthe
To quote henning, 'ok gcc'
2010-01-10Add ChrootDirectory to sshd.c test-mode outputDarren Tucker
2010-01-10Reimplement kvm_getproc2()'s support for reading crash dumps andPhilip Guenthe
/dev/mem to be direct instead of going through kvm_getprocs(), as that function is going to get more an more broken as we move stuff from struct proc to struct process for rthreads. To minimize the code copying, put the common logic of filling in a kinfo_proc2 structure into a macro FILL_KPROC2() in <sys/sysctl.h> for use from both the kernel and user-space. This also hides the KERN_PROC #define behind "#if defined(_KERNEL)||defined(_LIBKVM)", as it's deprecated. Positive feedback from millert and blambert; so committing to unblock further rthreads work.
2010-01-10My mistake. There was one more driver paranoid enough to checkKenneth R Westerback
ITSDONE on getting the xs to execute. And optimistic enough to think simply restting the flag would be a good thing. Chill out like everyone else, reducing ITSDONE noise some more.
2010-01-10more testsMarc Espie
2010-01-10A couple of missed ITSDONE setting before scsi_done().Kenneth R Westerback
seagate/trm/aha1742 were the only drivers paranoid enough to check ITSDONE on getting the xs to execute. And optimistic enough to think simply restting the flag would be a good thing. Have them chill out like everyone else, reducing ITSDONE noise some more.
2010-01-10Fix evsignal_del()'s use of sigaction(): fill in a sigaction structPhilip Guenthe
and pass a pointer to that instead of passing SIG_DFL directly. (Probably the result of a bad signal()-->sigaction() translation...) ok deraadt@, nicm@, miod@
2010-01-10ribreq uses now a AID, use AID also on the parsing side and convert toClaudio Jeker
AF when necessary. OK henning@
2010-01-10Switch rib_dump() to use AID instead of AFs. OK henning@Claudio Jeker
2010-01-10Set ITSDONE in scsi_done() and zap trivial instances of setting itKenneth R Westerback
in the drivers just before calling scsi_done(). ok dlg@ beck@
2010-01-10Do not try to reevaluate the current RX production index on eachChristian Weisgerber
loop iteration as it can be updated by the card while we process the RX ring, forcing us to process RX descriptors for which DMA synchronisation has not been performed. This fixes a bug where bge(4) will drop packets packets under heavy load. Adapted from FreeBSD by Brad.
2010-01-09L2 cache line is at least 64 bytes long on r10k, so use 64 byte increments toMiod Vallat
flush L2 in Mips10k_SyncCache().
2010-01-09Make interrupt depth counters per-cpu.Miod Vallat
2010-01-09Move more R5000 code behind proper #ifdef stanzas.Miod Vallat
2010-01-09Move cache information from global variables to per-cpu_info fields; thisMiod Vallat
allows processors with different cache sizes to be used. Cache management routines now take a struct cpu_info * as first parameter.
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
else cares so it's just noise. Drivers that actually look at ITSDONE are unchanged. ok marco@ (for his files) dlg@ beck@
2010-01-09Safe.pm is no longer mdMiod Vallat
2010-01-09Remove RoutingDomain from ssh since it's now not needed. It can be replacedDarren Tucker
with "route exec" or "nc -V" as a proxycommand. "route exec" also ensures that trafic such as DNS lookups stays withing the specified routingdomain. For example (from reyk): # route -T 2 exec /usr/sbin/sshd or inherited from the parent process $ route -T 2 exec sh $ ssh 10.1.2.3 ok deraadt@ markus@ stevesk@ reyk@
2010-01-09Fix fatalx message.Claudio Jeker
2010-01-09a lot of knf loving. hudge diff, no binary change.Dariusz Swiderski
ok claudio@