summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-10rework how we store and manage the interface index to ifp map in preparation of using SRPs as a backend for if_get.dlg2-72/+149
this also tries to document how things work and what if index 0 is for. ok mpi@ claudio@
2015-09-10sizes for free(); ok sthenderaadt10-56/+66
2015-09-10delete empty SYNOPSIS sectionschwarze2-6/+4
2015-09-10Remove support for DTLS_BAD_VER. We do not support non-standard andjsing20-98/+46
incomplete implementations just so that we can interoperate with products from vendors who have not bothered to fix things in the last ~10 years. ok bcook@ miod@
2015-09-10use .In rather than .Fd #includeschwarze97-357/+357
2015-09-10It is time to put inet6 on a diet. Use the flensing knife and cut outclaudio10-45/+30
the 3rd argument of in6_recoverscope() and make it return void. OK dlg@ mikeb@
2015-09-10dont leak an ifp reference if tun isnt ready to read.dlg1-1/+2
found by jsg@
2015-09-10if_put after if_getdlg1-1/+4
easy now that mpi@ has removed the ifunit confusion. ok mpi@ claudio@
2015-09-10if_put after if_getdlg1-7/+22
ok claudio@
2015-09-10Fix error value in ktrace syscall records. ok deraadt@ dlg@ guenther@miod1-4/+4
2015-09-10improve examples,deraadt1-8/+11
1. hoist pollfd fields which don't change upwards 2. show ret as ssize_t, it MUST BE, or there will be lots of crying 3. on first pass, must check for either POLLIN|POLLOUT ok millert beck
2015-09-10Assign the return value of getopt() to an int, not a char, so that optionsmiod1-3/+2
actually work on unsigned char platforms.
2015-09-10Remove call to CRYPTO_malloc_init(), which does nothing.jsing1-2/+1
2015-09-10pass a cookie argument to interface input handlers that can be usedmikeb8-39/+46
to pass additional context or transient data with the similar life time. ok mpi, suggestions, hand holding and ok from dlg
2015-09-10Kill in6_ifstat_inc() and associated per-ifp storage.mpi3-28/+3
The SIOCGIFSTAT_IN6 is no longer supported. ok mikeb@, claudio@, dlg@
2015-09-10Put OPENSSL_cleanse under #ifndef LIBRESSL_INTERNAL.jsing2-2/+8
2015-09-10Now that the GPT code tries really hard not to get in the way andkrw5-21/+7
accidentally capture disks ... Eliminate kernel option GPT and associated #ifdef GPT/#endif. Let everybody get on the GPT bandwagon and we'll see what wheels fly off. Requested by & ok deraadt@
2015-09-10CRYPTO_set_mem_debug_functions() and CRYPTO_set_mem_functions() are alreadyjsing2-36/+6
noops, so neuter the CRYPTO_malloc_init and CRYPTO_malloc_debug_init macros. With input from miod@ ok beck@ bcook@ miod@
2015-09-10Correct spelling of OPENSSL_cleanse.jsing6-17/+17
2015-09-10delete bogus trailing comma from .Nm in NAME sectionschwarze2-6/+6
2015-09-10Correct spelling of OPENSSL_cleanse.jsing139-399/+423
ok miod@
2015-09-10reduce more .Nd to one line and kill more .Tnschwarze3-22/+14
2015-09-10regen configure, reported by deraadt@sthen1-28/+81
2015-09-10document client side certificate verification functionality.beck2-3/+19
ok jsing@
2015-09-10We don't want LIBRARY sections in OpenBSD, so delete it.schwarze1-4/+2
2015-09-10Even the driver that should not be named needs if_put() after if_get().mpi1-12/+16
ok claudio@, dlg@
2015-09-10avoid divide by zero; from Michael McConvillederaadt1-2/+6
2015-09-10reduce .Nd to one line and kill .Tn while hereschwarze59-435/+233
2015-09-10if_put after if_get.dlg1-29/+51
ok claudio@
2015-09-10Remove pointless comments.jsing6-12/+12
ok "captain obvious"
2015-09-10Fix a zx_putchar() stupid bug I introduced nine years ago by actuallymiod2-10/+10
initializing variables before they get used.
2015-09-10document changed tls_read and tls_write semantics.beck1-15/+58
document functions that clear errno. change examples to provide demonstration of both the blocking and non-blocking cases. ok jsing@, bluhm@
2015-09-10include srp.h so userland can understand struct srpl.dlg1-1/+2
noticed by deraadt@
2015-09-10Stop supporting RTAX_IFP arguments with an interface name in thempi1-5/+1
sdl_data field, a la link_addr(3). route(8)-like applications wanting to specify an ifp must set sdl_index to the corresponding interface index. Not mixing if_get() and ifunit() makes our life easier. The idea is to have a minimum number of functions dealing w/ ifp refcount. Hopefully if_get() will be the only one. ok mikeb@, claudio@, dlg@
2015-09-10Initialize `pc' earlier so that the siginfo pc value is correct in case ofmiod1-4/+5
genuine FPU exception.
2015-09-10Replace remaining M_ASN1_STRING_* macros with calls to ASN1_STRING_*.jsing6-36/+36
This is not the same as the macro expansion, however the ASN1_STRING_* functions do match the macro expansions. ok doug@ miod@
2015-09-10Call readgptlabel() from readdoslabel() instead of MD readdisklabel().krw3-23/+63
Call it if and only if there is an MBR on sector 0 that contains 1 and only 1 partition; that partition is an EFI partition; and it covers the entire disk or as much of the disk as can be covered in an MBR partition. Be paranoid about restoring any possible tweaks to the label being built in the case that readgptlabel() fails, and in that case return to the readdoslabel() code. ok deraadt@
2015-09-10mlink tls_handshake;jmc1-1/+2
2015-09-10tweak previous;jmc1-3/+3
2015-09-10Remove compat files no longer required.sthen2-573/+0
2015-09-10Fix handling of compat/b64_{ntop,pton} by using __-prefixed versions directly,sthen7-14/+45
similar to what ssh does. Otherwise they need resolv.h including, which causes problems on OS with newer resolv.h/nameser.h headers which cause conflicts with NSD's T_xxx resource record #defines. autoconf bits adapted from tmux portable. ok florian@
2015-09-10Don't stop spoofing GPT partitions when the OpenBSD partition iskrw1-4/+3
found. Keep going until we spoof 8 or run out of partitions needing spoofing.
2015-09-10if_put after if_get in if_input_processdlg1-2/+6
2015-09-10In IPv6 source address selection prefer addresses of the outgoingbluhm1-1/+7
interface. OK mpi@
2015-09-10another missing Mdocdateschwarze1-2/+2
2015-09-10read, tls_read, and tls_write return ssize_tbeck1-3/+3
jointly with jsing@
2015-09-10fix return type for tls_read/writebeck1-3/+3
jointly with jsing@
2015-09-10fix type and return check for tls_read/write.beck1-4/+4
jontly with jsing@
2015-09-10missing commas at the end of .Nm lines in the NAME sectionschwarze3-9/+9
2015-09-10Unbreak ftp(1) after tls_read()/tls_write() change.jsing1-8/+8
Found the hard way by naddy@ Joint work with beck@