summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-13Wrap <stdlib.h> so that calls go direct and the symbols not in theguenther42-52/+250
C standard are all weak. Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols.
2015-09-13On show the ps/o output and ddb.html blurb once, so that we don't get themguenther1-4/+11
after each "mach ddbcpu N" ok miod@ deraadt@
2015-09-13Set the index of the interface in handroller link_addr(3) like code.mpi2-3/+6
This is now necessary on OpenBSD because our routing interface no longer use ifunit() to find the corresponding interface. ok yasuoka@, dlg@
2015-09-13tweak STANDARDS;jmc1-3/+3
2015-09-13Do provide hidden _libc_* aliases for sig{block,setmask} and use them inguenther15-65/+51
the ASM *setjmp implementations. Skip the PLT when calling them on amd64 (other archs to do this after testing) ok miod@
2015-09-13back out mpsafe vlans while i chase down a panic when operationsdlg2-87/+38
are done in a certain order. panic found by naddy@
2015-09-12Restore SMBIOS detection in ISA. OK yasuoka@uebayasi1-3/+3
2015-09-12Call socreate(9) only when we have a destination ip and port.florian1-58/+44
Call sobind(9) only when we have a source ip. With this we can treat sc->so != NULL as a flag if the interface is in state IFF_RUNNING. Input & OK bluhm@, OK benno@
2015-09-12Add missing free() in efid_io(). Found by jsg.yasuoka1-2/+4
ok kettenis jsg
2015-09-12Adapt to just committed libtls api changebeck1-21/+14
2015-09-12Move connection info into it's own private structure allocated and filled inbeck7-120/+208
at handshake time. change accessors to return const char * to remove need for caller to free memory. ok jsing@
2015-09-12Split ssl3_send_client_key_exchange() (387 lines of code) into fivejsing2-654/+702
functions. The original was written as a huge if/else if chain - split out the handling for each key exchange type. This allows us to reduce two levels of indentation, make the code far more readable and have single return paths so that we can simplify clean up. ok beck@
2015-09-12consistently name the ifnet * that refers to the parent interfacedlg1-50/+50
ifp0, and the ifnet * that refers to the carp interface ifp. this makes it easier for me to read. it's probably not the right name for ifp0, but at least it's consistent. ok sthen@ bluhm@ mpi@ claudio@
2015-09-12Fix function name.jsing2-4/+4
2015-09-12Now that rtrequest1(9) properly sets RTF_UP for newly added route,mpi8-32/+29
stop passing it in every rt_ifa_add(9) calls. ok claudio@
2015-09-12make vlan_input mpsafe by using srp lists in the vlan tag hash buckets.dlg2-38/+87
ok mpi@ claudio@
2015-09-12Sync handling of cached record digests with s3_srvr.c.jsing2-2/+46
2015-09-12Stop overwriting the rt_ifp pointer of RTF_LOCAL routes with lo0ifp.mpi14-55/+44
Use instead the RTF_LOCAL flag to loop local traffic back to the corresponding protocol queue. With this change rt_ifp is now always the same as rt_ifa->ifa_ifp. ok claudio@
2015-09-12explicit_bzero() the GOST premaster secret.jsing2-4/+14
ok miod@
2015-09-12Ensure that we clear the libssl error stack before we make a function calljsing3-5/+12
that we will pass the result through tls_ssl_error() on failure. Otherwise we can end up reporting spurious errors due to their being unrelated errors already on the error stack. Spotted by Marko Kreen. ok beck@
2015-09-12Unwrap a bunch of lines.jsing2-74/+38
2015-09-12introduce SRPs to the interface index maps to make if_get() mpsafe.dlg1-34/+103
each index in the ifidx map is now an SRP that points at each interfaces struct ifnet. because the map needs to be grown at run time as interfaces are added to the system, we now use an SRP to gain access to the map. if_get enters the idx map and follows it to the ifnet pointer. if an interface exists at that index it gets adds a refcount before leaving the ifp SRP. modifications to the map pointer and the interface pointers are serialised by the kernel lock. ok mpi@ claudio@
2015-09-12Nuke SSLEAY_CONF -- a backwards compatibility environment variable thatlteo4-14/+5
has been superseded by OPENSSL_CONF and discouraged from use for almost 16 years. "Definately ok" jsing@ "burn it" deraadt@ "Kill it with fire" miod@ "KILL IT WITH FIRE!!! BURN!!!!" beck@
2015-09-12Enable some diagnostics for interrupt-safe maps that are already happening forkettenis1-2/+7
normal maps. ok beck@, miod@, guenther@
2015-09-12__strsignal() is now declared in hidden/signal.hguenther1-2/+0
2015-09-12Put tls_peer_cert* functions in the same place.jsing1-6/+6
2015-09-12Finish wrapping <signal.h> so that calls to the sigset ops go direct andguenther3-9/+30
everything but raise() and signal() are weak. No longer need _thread_sys_ prefix on getthrid()