summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-31Some KNF and fix the vairable spelling.Joel Sing
2014-05-31Revert previous diff setting cold to 1 on shutdown because it breaks machineMartin Pieuchot
with softraid(4) disks. softraid(4) is the last real consumer of the doshutdownhooks(9) API and it is not trivial to convert its hook to a DVACT_POWERDOWN handler since the latter does not allow to sleep.
2014-05-31Unbreak RTM_CHANGE. Unlike RTM_LOCK or RTM_GET it is OK to pass in aClaudio Jeker
new gateway for RTM_CHANGE if the route is not a multipath route. Fixes issues found by benno@, OK benno@
2014-05-31Move the cts128 and gcm128 tests to regress.Joel Sing
2014-05-31Add a basic test for RTM_CHANGEClaudio Jeker
2014-05-31Oops. We're reporting DEV_BSIZE values in error messages, so callKenneth R Westerback
them 'blocks' not 'sectors'.
2014-05-31More KNF.Joel Sing
2014-05-31More manual OPENSSL_NO_EC and OPENSSL_NO_TLSEXT cleanup.Joel Sing
2014-05-31Cast daddr_t variable (blkno) to (long long) when printing with %lld.Kenneth R Westerback
2014-05-31Address several problems in signal delivery on 88100 processors:Miod Vallat
- when building the sigcontext, rewind the pipeline for recoverable exceptions, so that sigreturn actually has a chance to cause the interrupted instruction to be run again. - when returning with sigreturn, and the sigcontext contains valid DAE information, the DAE need to be emulated before returning, for the processor will not reissue them. - finally, when the sigframe is allocated on the current process' stack, be careful not to stomp upon addresses referenced by the DAE information, for this would defeat the previous point. All these changes only affect 88100 processors only. 88110 operation is unchanged. While there, do not copyout an empty siginfo struct if the signal handler does not expect any. Hair-pulling evil testcase provided by aoyama@, based upon one of devel/libsigsegv configure tests (which would spin on 88100 and run happily on 88110).
2014-05-31In regdump(), print DAE registers when they are valid, regardless of theMiod Vallat
exception type.
2014-05-31Introduce m88100_rewind_insn() to rewind the execution pipeline oneMiod Vallat
instruction, rather than gazillions of inline variants. This also makes the situations where we clear specific bits in the fip or nip registers more visible. No functional change.
2014-05-31unifdef -UDOXYGEN and manually remove the few doxygen comments that are notJoel Sing
wrapped in #ifdef DOXYGEN... Requested by miod@
2014-05-31ECDH and ECDSA will not work overly well if there is no EC, so unifdefJoel Sing
OPENSSL_NO_EC. ok tedu@
2014-05-31TLS would not be entirely functional without extensions, so unifdefJoel Sing
OPENSSL_NO_TLSEXT. ok tedu@
2010-10-01import OpenSSL-1.0.0aDamien Miller
2014-05-31Delete the extraneous "return" statement at the end of a void function.Jeremie Courreges-Anglas
From Fritjof Bornebusch.
2014-05-31KNF and other cleanup.Joel Sing
2014-05-31add -S to usage();Jason McIntyre
2014-05-31Remove some unused code that we added at the 2013 Toronto hackathon butMike Larkin
don't need anymore.
2014-05-31Fix a format specifier in a debug printf.Mike Larkin
Noticed by Josh Grosse.
2014-05-30don't assign variables in if() that's not error checkingTed Unangst
2014-05-30modern bourne shells handle ~. Unlikely in makefiles, but still, betterMarc Espie
fork a shell then (as seen in a commit message in netbsd's make, apparently taken from debian. didn't look at the actual code, but it was a "duh" moment) okay millert@
2014-05-30a little style consistency with error checkingTed Unangst
2014-05-30Add option -S to have dump(8) only estimate backup size and number of tapesStephan A. Rickauer
required (from NetBSD). ok beck@, krw@ and sthen@
2014-05-30Don't add potentially nasty stderr uses to dead CRYPTO_dbg_mem functions.Theo de Raadt
But do use the abort(), which we are hoping all future vendors will move towards the more modern "do not flush streams"; hint hint, if you didn't do that already, there are grave risks because much software brings risk without that behaviour. We didn't cause the change.. POSIX did... ok beck
2014-05-30Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok claudio@
2014-05-30warnings warnings everywhereTed Unangst
2014-05-30WARNING: Encrypted vnd is insecure.Ted Unangst
Migrate your data to softraid before 5.7.
2014-05-30Move sha256 and sha512 tests to regress and wire them up.Joel Sing
2014-05-30Move the AES wrap test code into regress.Joel Sing
2014-05-30oops, auto-read config only *after* we have a way to print out errors.Marc Espie
Also zap bad lines completely. issue reported by aja@
2014-05-30More KNF.Joel Sing
2014-05-30remove some #if 0 code. we don't need any more reminders that we're usingTed Unangst
a not quite appropriate data structure. ok jsing
2014-05-30Make use of SSL_IS_DTLS, SSL_USE_EXPLICIT_IV, SSL_USE_SIGALGS andJoel Sing
SSL_USE_TLS1_2_CIPHERS. Largely based on OpenSSL head.
2014-05-30SBus glue for qlw(4) for sparc. Untested.Mark Kettenis
2014-05-30SBus glue for qlw(4) for sparc. Untested.Mark Kettenis
2014-05-30Eliminate some duplicated "mfctl cr29, rN" instructions.Mark Kettenis
ok jsing@
2014-05-30Set cold to 1 before executing the DVACT_POWERDOWN handlers when halting orMartin Pieuchot
rebooting a machine, like it is done in the hibernate case. At least some USB host controller drivers rely on this to busy way instead of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in. ok deraadt@, uebayashi@
2014-05-30Remove unused fields from the pipes.Martin Pieuchot
2014-05-30Fix some more nasty stringyness in here by using asprintf instead of cruft.Bob Beck
gets rid of the second last use of the awful DECIMAL_SIZE.
2008-09-06import of OpenSSL 0.9.8hDamien Miller
2014-05-30Appletalk support was removed a while ago. So was natm and hylink (if ever).Philip Guenther
Let's mention MPLS instead. Noted by Remi Locherer (remi.locherer (at) relo.ch)
2014-05-30AF_NATM support was removed before 5.5Philip Guenther
2014-05-30more: no need to null check before free; ok guentherTheo de Raadt
2014-05-30more: no need for null check before freeTheo de Raadt
ok tedu guenther
2014-05-30While working on another diff I ended up looking to see why on earth theJoel Sing
DTLS code had a chunk that checked to see if the SSL version was *not* DTLS. Turns out that this is inside a big #if 0 block with a comment explaining why DTLS will never need this code... The DTLS code was clearly written by wholesale copying the SSLv3 code. Any code not applicable to DTLS was seemingly #if 0'd or commented out and left for others to find. d1_pkt.c is copied from s3_pkt.c and it has a do_dtls1_write() function that has the same function signature as do_ssl3_write(), except that the create_empty_fragement (yes, that is the spelling in ssl_locl.h) argument is unused for DTLS (although there is code that pretends to use it) since it uses explicit IV (as the comment notes). Instead of leaving this turd lying around, nuke the #if 0'd code (along with the check for *not* DTLS) and remove the pointless create_empty_fragment argument given the only two do_dtls1_write() calls specify zero. This kind of thing also makes you wonder how much actual peer review occurred before the code was initially committed... ok beck@
2014-05-30Use calloc instead of malloc and memset.YASUOKA Masahiko
from Benjamin Baier
2014-05-30Rework parse_name() so that variable declaration is separate from functionJoel Sing
based initialisation, use more readable variable names and use a goto rather than duplicating the frees for the error and non-error paths... ok beck@
2014-05-30Add definitions for Process and (finally!) ThreadPhilip Guenther
Tweak some error descriptions based on that Completely reword ETXTBSY description based on a suggestion from millert@ tweaks and oks jmc@ millert@ sobrado@