summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-07syncTheo de Raadt
2015-02-07Crank major for libcrypto since symbols have been removed.Joel Sing
Requested by deraadt@
2015-02-07Add tls_config_set_dheparams() to allow specification of the parameters toJoel Sing
use for DHE. This enables the use of DHE cipher suites. Rename tls_config_set_ecdhcurve() to tls_config_set_ecdhecurve() since it is only used to specify the curve for ephemeral ECDH. Discussed with reyk@
2015-02-07Don't allow tag number 31 in CBB_add_asn1().Doug Hogan
Tag 31 is invalid for a short form identifier octet (single byte). KNF a little more. Based on BoringSSL commit 5ba305643f55d37a3e45e8388a36d50c1b2d4ff5 ok miod@
2015-02-07Crank libssl major due to the recent changes and removals.Joel Sing
ok beck@ deraadt@ miod@
2015-02-07port NSEC3 and TLSA parsing code into dig(1) from ISC BIND 9.10.1-P1Martin Pelikan
ok henning
2003-01-20ISC BIND version 9.2.2rc1Jakob Schlyter
2015-02-07Clean up the {get,put}_cipher_by_char() implementations. Also useJoel Sing
ssl3_get_cipher_by_value() in other parts of the code where it simplifies things. ok doug@
2015-02-07keep this in sync a bit with userland by putting static on functionsDavid Gwynne
that are only used in this file. tedu argues if something sucks we would fault before we can get to these, and they dont do anything except maths. these symbols dont need to be visible to ddb. originally from Fritjof Bornebusch suggested by and ok tedu@
2015-02-07userland gets static on functions only used within a file.David Gwynne
ok tedu@
2015-02-07argc is passed as a long by the kernel, define it as such to match whatMiod Vallat
other ports do.
2015-02-07Only call free in CBB_init().Doug Hogan
CBB_init_fixed() should not call free because it can lead to use after free or double free bugs. The caller should be responsible for creating and destroying the buffer. From BoringSSL commit a84f06fc1eee6ea25ce040675fbad72c532afece miod agrees with the reasoning ok jsing@, beck@
2015-02-07Attempt to implement the OpenSSL error dance so that TLS read/writeJoel Sing
failures return something that is actually useful to the caller. ok reyk@
2015-02-07Add regress tests for SSL_CIPHER_get_by_value() and SSL_CIPHER_get_by_id().Joel Sing
2015-02-07Provide a SSL_CIPHER_get_by_value() function that allows a cipher to beJoel Sing
retrieved via its cipher suite value. A corresponding SSL_CIPHER_by_value() function returns the cipher suite value for a given SSL_CIPHER. These functions should mean that software does not need to resort to put_cipher_by_char()/get_cipher_by_char() in order to locate a cipher. Begrudgingly also provide a SSL_CIPHER_get_by_id() function that locates a cipher via the internal cipher identifier. Unfortunately these have already been leaked outside the library via SSL_CIPHER_by_id() and the various SSL3_CK_* and TLS1_CK_* defines in the ssl3.h/tls1.h headers. ok beck@ miod@
2015-02-07Modify BSIZE to BUFLEN to avoid redefinition on HP-UX.Brent Cook
HP-UX defines BSIZE in its <sys/param.h>, and there is a route where its getting included as a side-effect. I tracked back to at least from HP-UX 9.0 ca. 1993, up to the latest, so the user namespace is polluted. from kinichiro <kinichiro.inoguchi@gmail.com> ok miod@, jsing@
2015-02-07Print a different error message if the route entry supposed to containMartin Pieuchot
ARP information is of a different kind. ok sthen@, claudio@
2015-02-07adapt to resume_randomness() changesTheo de Raadt
2015-02-07allow ctrl-d to quit after a game as wellTed Unangst
2015-02-07use unsigned char type to avoid many castsTed Unangst
2015-02-07Document a non-obvious aspect of identifycpu() use on i386Philip Guenther
2015-02-07by popular request, stop giving away numeric letters. no more will theTed Unangst
appearance of 509 in a symbol name tell you what letter to guess first.
2015-02-07Stop defining TERMIOS, ANSI_SOURCE and OPENSSL_NO_RC5 for libssl builds.Joel Sing
The first two are unused in libssl/libcrypto and OPENSSL_NO_RC5 is already defined via openssl/opensslfeatures.h. ok beck@ doug@ miod@
2015-02-07Combine c_allc.c and c_alld.c into c_all.c - there is not much point havingJoel Sing
this split across files, especially when two of them have less code than license text. ok bcook@ beck@ doug@ miod@
2015-02-07unsigned char for ctype functionsTed Unangst
2015-02-07Ignore ELF symbols containing dots or dollar signs. Suggested by millert@Miod Vallat
2015-02-07mq_enlist can drop mbufs now.David Gwynne
2015-02-07make mq_enlist drop mbufs is the queues length is exceeded.David Gwynne
ok mpi@ claudio@ henning@ and more at s2k15
2015-02-07Preserve a page's worth of random data on hibernate resume. Used to improveMike Larkin
entropy after resuming. Tested on i386 and amd64. ok deraadt@
2015-02-07try and document ml_filter and mq_filter.David Gwynne
2015-02-07add ml_filter and mq_filter functions to the mbuf list and queue apis.David Gwynne
this lets you run a filter function against each mbuf on a list or queue. if the filter matches on an mbuf, it can return non-zero to have ml_filter or mq_filter remove the mbuf and return it as part of a chain of mbufs. ok mpi@ claudio@ henning@ and s2k15 generally.
2015-02-07When getopt processing flags, many should be flag=1 instead of flag++Theo de Raadt
ok tedu miod
2015-02-07GC unused parameters now that ifname and rdomain are not used inKenneth R Westerback
constructing imsgs. ok reyk@
2015-02-07Fix typo and ASN.1 tag number range comment in bytestring.h.Doug Hogan
CBS_get_asn1() and CBS_get_any_asn1_element() only support the single byte ASN.1 identifier octets (aka short form tags). Tag number 31 is the start of the multi-byte long form per X.690 section 8.1.2.4. From BoringSSL commit 2683af70e73f116e14db2bca6290fa4a010a2ee4 ok miod@
2015-02-07Let a volume key event unmute. This makes the software state follow theMark Kettenis
hardware behaviour on Thinkpads making it harder for software state and hardware state get out of sync. ok deraadt@
2015-02-07Tedu the old idle page zeroing code.Mark Kettenis
ok tedu@, guenther@, miod@
2015-02-07clear to end of line when printing error messages so that previousTed Unangst
messages don't remain and pollute the line
2015-02-07By popular demand, allow any ELF file to be passed to -d as a word list, inMiod Vallat
which case its symbols will be used. Which means that `hangman -k' is equivalent to `hangman -d /bsd' now. ok beck@ tedu@
2015-02-07Add support for blocking, dropping, and redirecting requests.Reyk Floeter
OK florian@
2015-02-07New framework that allows hibernate to pass in entropy from it's freshTheo de Raadt
boot. ok mlarkin
2015-02-07remove linux int types in the drm headerJonathan Gray
kdump includes all headers with ioctls and the v4l videoio.h already defines these. Found the hard way by deraadt. The types will be patched out of future libdrm updates.
2015-02-07recombine some of the split uvm_mmap functions. the precondition checksTed Unangst
are not necessary because the caller already ensures these. the tail section for handing mlock can be shared as well. ok beck guenther
2015-02-07Delete non-ELF support, in particular .align 12 (always a bit jarring)Theo de Raadt
ok miod
2015-02-07Shrink the I/O map from 64KB to 16KB. This map is only used forMiod Vallat
smaller-than-a-logical-page allocations, while logical page size and larger are passed to uvm. So in the worst case, the kernel will end up needing about 20 vax pages out of it: 1 for non-console serial chips, up to 2 per Ethernet controller, 1 per SCSI controller, up to 3 for the clock or SSC chip, 1 for the cpmbox, up to 3 for model-specific mappings (VS_REGS, KA650 stuff), 1 for the leds, and up to 3 for frame buffer registers. Thus shrinking from 128 pages to 32 is still large enough.
2015-02-07Provide symbolic defines for the ICCS register magic bits, and use themMiod Vallat
rather than hardcoded values.
2015-02-07Missed adding a reference to 802.11b in the iwm entry here, pointed out by stspStuart Henderson
2015-02-06Raise ELF_RANDOMIZE_LIMIT to 64K, so that programs and libraries canTheo de Raadt
legitimately use random section variables without execve failures... Because this section is not demand faulted, yield() every page during the fill otherwise the costs are charged poorly. ok tedu matthew
2015-02-06Add bpf(4) support to iwm(4). Makes tcpdump -i iwm0 work. Based on iwn(4).Stefan Sperling
ok deraadt
2015-02-06Make it obvious that wireless ethernet adapters supporting 802.11g alsoStuart Henderson
support 802.11b. Extended from a diff by dlg, stsp agrees.
2015-02-06Add new definitions from libdrm 2.4.59Jonathan Gray