summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-22Make it possible to create write combing mappings through /dev/mem. This isMark Kettenis
done by introducining a magic offset. Pages below this offset are mapped with default memory attributes. Above this offset pages are mapped write combining. ok mlarkin@
2015-06-22document that boot.conf can contain comments;Jason McIntyre
from tilo stritzky thanks miod for help with the diff, and who also noted that leading whitespace gets stripped too;
2015-06-22Increment rule counters only after successful state insertionMike Belopuhov
Do rule counter increments after state has been successfully installed. This has an additional benefit of making error handling a bit simpler. OK mpi, bluhm
2015-06-22Flush out another small diff to reduce the diffs with Linux.Mark Kettenis
2015-06-22theo buehler points out that posix specifies a prompt defined using -pJason McIntyre
be reinstated when toggled off then on again; this seems to make sense, but posix is not explicit. we know that gnu ed and freebsd do reinstate the user defined prompt, but we do not. no one has yet stepped up to change this, so i'm adding a note to this effect until such a time as we do/ i have not tweaked the text for -p or "P" to allow for an easy back out if behaviour does change;
2015-06-22Do not update frame lengths to reflect what has really been transferedMartin Pieuchot
when an isochronous transfer is done. Frame lengths are just input values and no driver mess with them. ok ratchov@, jmatthew@
2015-06-22Don't call setgroups if we have zero groups; there's no guarantee that itDarren Tucker
won't try to deref the pointer. Based on a patch from mail at quitesimple.org, ok djm deraadt
2015-06-22After the last change, we also have to url_encode $SERVER_NAME andReyk Floeter
$REMOTE_USER before using them in the Location. From Sebastien Marie (semarie)
2015-06-22Make xhci(4)'s root hub report the same status bits as physical USB3 hubs.Martin Pieuchot
There's not bit to indicate the speed of a USB3.0 device attached to a hub port so do not abuse the PORT_TEST bit. Instead make the xhci(4) root hub report the PORT_POWER_SS bit when appropriate and use it to determin the speed of a new device. While here make the root hub report the link state and config error, from FreeBSD.
2015-06-22rtrequest1(9) error code path cleanup.Martin Pieuchot
Pass the length to free(9), do not violate the radix/route layer and set the gateway of a route a bit later to simplify error code path. ok claudio@
2015-06-22Apparently some BIOSes not supporting xHCI natively switch USB portsMartin Pieuchot
back to EHCI at suspend. So route the ports back to xHCI at resume. Problem reported by Adam Wolk, thanks!
2015-06-21Don't use uninitialized data as a return value.Kenneth R Westerback
From Brainy via Maxime Villard via tech@. ok kettenis@
2015-06-21Don't leak mem if wsfont_rotate() fails.Jeremie Courreges-Anglas
Problem reported by Maxime Villard, ok miod@
2015-06-21Count transmitted packets.Mark Kettenis
2015-06-21syncTheo de Raadt
2015-06-21syncTheo de Raadt
2015-06-215.9 base keyTheo de Raadt
2015-06-21Check for failure with CBB_init() in bs_ber.c.Doug Hogan
From BoringSSL commit 3fa65f0f05f67615d9daf48940e07f84d094ac6e.
2015-06-21When encoding the Location url, only encode the query and pathReyk Floeter
elements from the user input and not the constants from the configuration. This makes it possible to specify chars like '?' in the uri. OK Sebastien Marie
2015-06-21There is a race between sending notifications to the SE and getting a newClaudio Jeker
peer_up event in the RDE. This can be triggered by graceful restart. So remove the panic and replace it with roughly what peer_down does. OK phessler and henning
2015-06-21Add .mkv (video/x-matroska).Reyk Floeter
From David Hill ok halex@
2015-06-21There is no need to include sys/ucred.h. Only sys/file.h is needed for theClaudio Jeker
DTYPE defines.
2015-06-21Just return if nmemb is 0. Avoids a NULL dereference and isTodd C. Miller
consistent with the behavior of the other libc sort functions. OK deraadt@
2015-06-21memory leak on failure; from Maxime VillardTheo de Raadt
2015-06-20Fix a bug that causes uvm_pmr_get1page() to fail for allocations thatMark Kettenis
specify an address constraint even when free pages that meet the constraint are still available. This happens because the old code was using the root of the size tree as a starting point for a search down the address tree. This meant only part of the address tree was searched, and that part could very well not contain any of the pages that met the constraint. Instead, always walk the address tree from its root if the list of single pages is empty and the root of the size tree doesn't meet our constraints. From Visa Hankala. ok deraadt@
2015-06-20Convert ssl3_get_new_session_ticket to CBS.Doug Hogan
tweak + ok miod@ jsing@
2015-06-20Convert ssl3_get_next_proto to CBS.Doug Hogan
tweak + ok miod@ jsing@
2015-06-20Convert ssl_parse_serverhello_renegotiate_ext to CBS.Doug Hogan
ok miod@ jsing@
2015-06-20Handle NIST curve names in openssl(1) ecparam.Joel Sing
From OpenSSL.
2015-06-20Handle NIST curve names.Joel Sing
From OpenSSL. ok miod@ (a while ago)
2015-06-20Have ECPKParameters_print() include the NIST curve name, if known.Joel Sing
From OpenSSL. ok miod@ (a while ago).
2015-06-20Less mdc2.Joel Sing
2015-06-20Provide EC_curve_nid2nist() and EC_curve_nist2nid().Joel Sing
From OpenSSL. Rides libcrypto bump. ok miod@ (a while ago)
2015-06-20Make SSL_OP_ALL readable.Joel Sing
ok deraadt@ doug@ millert@ miod@ sthen@
2015-06-20Put CRYPTO_memcmp() under #ifndef LIBRESSL_INTERNAL.Joel Sing
ok doug@ deraadt@
2015-06-20Replace remaining CRYPTO_memcmp() calls with timingsafe_memcmp().Joel Sing
ok doug@ deraadt@
2015-06-20Only match devices with a valid configuration.Martin Pieuchot
ok uaa@
2015-06-20sort +0n -> sort -n, the former is historicalJeremie Courreges-Anglas
2015-06-20Convert ssl_parse_clienthello_renegotiate_ext to CBS.Doug Hogan
ok miod@, tweak + ok jsing@
2015-06-20syncTheo de Raadt
2015-06-20Replace internal call to CRYPTO_memcmp with timingsafe_memcmp.Doug Hogan
Suggested by jsing@. ok jsing@ miod@
2015-06-20Bump major after {,asr_}print_sockaddr() renaming.Jeremie Courreges-Anglas
2015-06-20Fix warning on vax due to old gcc.Doug Hogan
Old gcc warns when parameters have the same names as functions. Noticed by deraadt@. ok deraadt@ jsing@
2015-06-20Rename print_sockaddr() to avoid symbol visibility problemsJeremie Courreges-Anglas
print_sockaddr is internal to asr, and conflicts with ports/net/samba4. ok eric@
2015-06-20Crank major for libcrypto, ssl and tls due to MDC-2DES removal.Doug Hogan
ok miod@ jsing@
2015-06-20Remove obsolete MDC-2DES from libcrypto.Doug Hogan
ok deraadt@ jsing@ miod@
2015-06-19Tweak whitespace and remove dangling, unneeded "else".Jeremie Courreges-Anglas
No functional change.
2015-06-19remove a bit more isp(4), from bradJonathan Matthew
2015-06-19isp(4) man page needs to go too, pointed out by jmc@Jonathan Matthew
2014-04-15Import the OpenSSL libcrypto tests in a form suitable for our rergressMiod Vallat
infrastructure. The following tests have not been imported, for their code lacks a licence: asn1, rsa, sha256, sha512, wp.