summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-12sys/syscall_mi is only included by MD trap.c files, which have reason toderaadt1-4/+1
include param.h/systm.h/proc.h themselves (and already do). ok guenther
2015-09-12Explicitely include <arm/armreg.h> here instead of expecting previouslymiod1-1/+2
included files to bring it in.
2015-09-12use .Cm rather than .Ar for fixed string argumentsschwarze2-12/+12
2015-09-12Remove most of the SSLv3 version checks and a few TLS v1.0.doug14-236/+114
We can now assume >= TLS v1.0 since SSL2_VERSION, SSL3_VERSION and DTLS1_BAD_VER support was removed. "reads ok" miod@
2015-09-12Use kbind for lazy binding GOT/PLT updates on arm.guenther1-23/+28
While here add some gcc __predict hints. Much testing, discussion, pondering, and flailing from miod and deraadt ok miod@
2015-09-12use sysctl() to get FSCALE value; ok guentherderaadt1-12/+10
2015-09-12mark up arguments individually and drop redundant .Bkschwarze2-12/+10
2015-09-12syncderaadt2-1/+1
2015-09-12Add openssl(1) speed support for AEAD algorithms.bcook1-17/+96
This adds aes-128-gcm aes-256-gcm chacha20-poly1305 from Adam Langley's original patch for OpenSSL ok beck@ jsing@
2015-09-12don't use literal brackets to indicate optional syntax elements,schwarze1-4/+4
use the .Op macro (or in this case, .Oo/.Oc)
2015-09-12Cleanup enginetest a bit.bcook1-104/+84
It was the only thing preventing -Werror from building on some systems due to the unchecked asprintf's.
2015-09-12Wrap <dbm.h> and <ndbm.h> so that calls go direct and the symbols are all weakguenther3-1/+74
2015-09-12Wrap <bsd_auth.h> so that calls go direct and the symbols are all weakguenther3-2/+86
2015-09-12Wrap <assert.h> so that __assert2() goes directguenther2-1/+29
2015-09-12add missing .Ar macrosschwarze1-4/+4
2015-09-12use .Cm for fixed string argumentsschwarze3-31/+19
2015-09-12Uncopy and unpaste dtls1_send_newsession_ticket() - another 111 lines ofjsing4-222/+6
code deduped.
2015-09-12Fix the openssl(1) prime command: When checking a decimal number forlteo1-3/+2
primality, do not unnecessarily convert the original decimal number to hex in the output. Hex numbers explicitly specified with -hex remain unchanged. ok beck@ deraadt@ jsing@ miod@
2015-09-12Move handshake message header length determination into a separatejsing8-46/+54
ssl3_handshake_msg_hdr_len() function. Use this to correct several places that have magic numbers with header lengths hardcoded as '4'. ok beck@
2015-09-12ktrcsw(9) has been removed, so remove its man page too.lteo2-18/+4
ok guenther@ miod@ sthen@
2015-09-12Wrap shm_open() to go direct and mark shm_{mkstemp,unlink}() as weakguenther2-5/+6
2015-09-12Wrap <unistd.h> so that internal calls go direct and they're all weak symbolsguenther18-20/+117
Delete unused 'fd' argument from internal function oldttyname()
2015-09-12Wrap <getopt.h> to make the functions weak and make access to the initializedguenther2-1/+43
variables go direct. (Common variables cannot be aliased.)
2015-09-12Provide an ftpproxy6 rc script. ftp-proxy can only open one listening socketsthen4-10/+23
at a time, so a second instance of the daemon is required. OK mikeb stsp ajacoutot
2015-09-12Wrap <time.h> so that internal calls go direct and symbols not in C99 are weakguenther6-7/+51
Add prototypes to localtime.c for offtime(), time2posix(), posix2time() to reduce noise with -Wmissing-prototypes Eliminate unnecessary #includes
2015-09-12Uncopy and unpaste dtls1_send_certificate_request() - removes another 80jsing4-160/+6
lines of code, while gaining SIGALGs support.
2015-09-12Wrap <syslog.h> so that internal calls go direct and they're all weak symbolsguenther3-35/+55
Delete code that's a no-op now that we don't use sockets Eliminate unnecessary #includes
2015-09-12Uncopy and unpaste dtls1_send_server_key_exchange(). Removes another 329jsing4-658/+6
lines of code, while gaining bug fixes and SIGALGs support.
2015-09-12obvious macros fixes:schwarze1-44/+40
* use .Cm for fixed argument strings * properly use .Ar on individual arguments * drop redundant .Bk
2015-09-12Use rtfree() instead of playing with the refcount directly. Some care isclaudio1-6/+11
needed since rt0 as passed from the upper layer is freed by that layer. Also if_output does not free the rt so handle that as well. With and OK mpi@
2015-09-12It is not necessary to reset errno to 0 since we use logerrorx().bluhm1-5/+1
Spotted by jung@
2015-09-12Uncopy and unpaste dtls1_send_server_done().jsing4-36/+6
2015-09-12Wrap <dirent.h> so that internal calls go direct and they're all weak symbolsguenther7-5/+48
2015-09-12Introduce if_input_local() a function to feed local traffic back tompi9-60/+74
the protocol queues. It basically does what looutput() was doing but having a generic function will allow us to get rid of the loopback hack overwwritting the rt_ifp field of RTF_LOCAL routes. ok mikeb@, dlg@, claudio@
2015-09-12Wrap <fts.h> and <ftw.h> so that internal calls to fts_*() go direct andguenther3-1/+61
fts_*(), ftw(), and nftw() are weak symbols
2015-09-12Uncopy and unpaste dtls1_send_server_hello().jsing4-136/+6
2015-09-12Make these timer_* stubs weak symbolsguenther5-16/+19
Provide declarations to reduce noise when using -Wmissing-prototypes
2015-09-12Uncopy and unpaste dtls1_send_hello_request().jsing4-36/+6
2015-09-12Convert the rest of the server handshake functions to ssl3_handshake_msg_*.jsing2-88/+70
ok beck@
2015-09-12Uncopy and unpaste dtls1_send_client_verify() - thejsing4-148/+6
ssl3_send_client_verify() is different, but it correctly supports things like SIGALGS. Another 74 lines of code bites the dust.
2015-09-12Remove dead get_host_seed() function; Martin Natanomiod2-12/+2
2015-09-12Uncopy and unpaste dtls1_send_client_key_exchange() - thejsing4-538/+10
ssl3_send_client_key_exchange() is effectively identical, in fact it has a number of bug fixes and improvements that never got merged into the DTLS copy of the code. Flenses another 264 lines of code. ok beck@
2015-09-12Use explicit_bzero() instead of memset() when clearing private keys.jsing2-6/+8
ok bcook@ beck@ miod@
2015-09-12Old diff found in my tree: Add HISTORY; info from the CSRG CDs.schwarze1-2/+7
2015-09-12typo that breaks the buildnaddy1-2/+3
2015-09-12Fix two cases where it was possible to call if_put with an uninitialized ifpclaudio1-3/+3
Found by jsg@ with clang
2015-09-12show a few more lines of trace; discussed in the roomderaadt1-2/+2
2015-09-12Pull variable assignment out from function call, fix indentation and setjsing2-16/+14
state after calling ssl3_handshake_msg_finish().
2015-09-12More ifmedia64 fallout; that should be the last.miod3-7/+8
2015-09-12style(9) and whitespace cleanups.jsing2-58/+50