summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Show (in the example) that < and > can be used multiple times; ok jmc@otto2011-07-221-4/+5
| | | | | | | | | | | | | | | | jasper@
* | | | - add a MALLOC_OPTIONS section header. the content is already there, but havingjasper2011-07-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | a section will help people looking for just the MALLOC_OPTIONS. ok otto@ jmc@
* | | | - Replace digicert 2nd-level cert with the root which issued it.sthen2011-07-201-114/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows https checkouts from github to work. - Add digicert's other root certs. Fingerprints carefully checked against those in the built-in roots supplied with Mozilla. ok dcoppa@ jcs@
* | | | on malloc flag S, set cache size to 0; will catch even moreotto2011-07-121-2/+6
| | | | | | | | | | | | | | | | use-after-free bugs; ok krw@ dlg@ pirofti@
* | | | Minor function name tweaks.nicm2011-07-093-8/+8
| | | |
* | | | Instead of documenting all the wide string functions in wmemchr(3), addnicm2011-07-0918-139/+1327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | individual pages (based on the existing string man pages). By Tim van der Molen (tbvdm at xs4all dot nl) after a suggestion by millert@. ok deraadt
* | | | No need to set CFLAGS+=-DOPENSSL_IA32_SSE2 on amd64. Nothing uses it.mpf2011-07-081-2/+1
| | | | | | | | | | | | | | | | Small test by marco@ and md5 /usr/lib/libcrypto.so.19.0 agrees.
* | | | After a certain amount of fighting with the mbstowcs API, remove L fromnicm2011-07-081-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | the wcsdup example. ok stsp
* | | | Pass CFLAGS (which contains -DOPENSSL_IA32_SSE2) to the perlasmmpf2011-07-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | build on i386. This enables SSE2 optimizations for bignum multiplications, Montgomery multiplications and sha512. This speeds up Diffie-Hellman operations in isakmpd and iked quite a bit. OK djm@, markus@, mikeb@
* | | | timed's time is up. use ntpd(8). Even our own fossil developersderaadt2011-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | switched a while back. ok miod, kettenis
* | | | no more math(3);jmc2011-07-079-32/+23
| | | |
* | | | Fix some awful code in the example, pointed out by millert@.nicm2011-07-051-3/+3
| | | |
* | | | Add wcsdup(), from NetBSD.nicm2011-07-043-3/+120
| | | | | | | | | | | | | | | | ok deraadt matthew
* | | | Include tests of 80-bit long double precision (on platforms thatmartynas2011-07-031-1/+6
| | | | | | | | | | | | | | | | support it) now that scanf is implemented properly.
* | | | Add cephes.martynas2011-07-021-2/+2
| | | |
* | | | Import Steve Moshier's printf/scanf tester.martynas2011-07-0213-0/+6335
| | | |
* | | | switch to installing source manuals (base part)schwarze2011-06-231-262/+246
| | | | | | | | | | | | | | | | | | | | discussed with lots of people, tested by naddy@, "move fast" deraadt@
* | | | Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudiomikeb2011-06-211-2/+2
| | | |
* | | | as man page states, lower case undoes upper case. add support for little s,tedu2011-06-201-1/+5
| | | | | | | | | | | | | | | | | | | | no security, for consistency. use of this option is discouraged. :) ok deraadt guenther millert
* | | | Add the following certs:dhill2011-06-151-0/+563
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DigiCert High Assurance CA-3 Go Daddy Secure Certification Authority/serialNumber=07969287 Equifax Secure Certificate Authority VeriSign Class 3 Public Primary Certification Authority - G5 Entrust Certification Authority - L1C Entrust.net Secure Server Certification Authority ok mikeb@ beck@ fgsch@ constant prodding by marco@
* | | | fix wcscasecmp() parameters; <wchar.h> was correctnaddy2011-06-011-2/+2
| | | |
* | | | tweak previous (my fault);jmc2011-05-281-4/+4
| | | |
* | | | wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@espie2011-05-283-5/+82
| | | |
* | | | remove hack to test and create /usr/lib/pkgconfig/ if needed, it's been sixjasper2011-05-261-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | months since it was introduced so it's safe to assume people have this dir now. ok deraadt@
* | | | save errno dance in wrterror() and malloc_dump(); prompted by and ok deraadt@otto2011-05-201-2/+6
| | | |
* | | | introduce symbolic constant for initial number of regionsotto2011-05-181-2/+3
| | | |
* | | | zap regions_bits and rework MALLOC_MAXSHIFT a bit; ok djm@otto2011-05-181-14/+8
| | | |
* | | | Avoid fp computations for stats, this make calling malloc_dump() safe in moreotto2011-05-121-10/+7
| | | | | | | | | | | | | | | | cases.
* | | | fix comment, the bitmap is an array of u_short nowotto2011-05-121-2/+2
| | | |
* | | | Introduce leak detection code for MALLOC_STATSotto2011-05-121-25/+165
| | | |
* | | | Move MALLOC_STATS code to bottom of file, so the real stuff is more at the top.otto2011-05-081-137/+141
| | | |
* | | | Make this script more generic and minimize differences betweenjasper2011-05-051-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the openssl and libz versions: - use a generic ${lib_version} - define ${version_file} to look run ${version_re} on to acquire the library version. - add license - remove unused -k flag no change in generated files ok sthen@
* | | | Up until now, malloc scanned the bits of the chunk bitmap fromotto2011-05-051-32/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | position zero, skipping a random number of free slots and then picking the next free one. This slowed things down, especially if the number of full slots increases. This changes the scannning to start at a random position in the bitmap and then taking the first available free slot, wrapping if the end of the bitmap is reached. Of course we'll still scan more if the bitmap becomes more full, but the extra iterations skipping free slots and then some full slots are avoided. The random number is derived from a global, which is incremented by a few random bits every time a chunk is needed (with a small optimization if only one free slot is left). Thanks to the testers!
* | | | Adjust to explicitly list ${libdir}.jasper2011-05-031-4/+4
| | | | | | | | | | | | | | | | ok sthen@
* | | | Pull in <string.h> for memset()guenther2011-05-011-1/+2
| | | |
* | | | Make the regress setup not assume the umask is 022guenther2011-05-011-3/+3
| | | |
* | | | Now that we use an array of u_short for the chunk bitmap change a fewotto2011-04-301-5/+5
| | | | | | | | | | | | | | | | 1UL to 1U.
* | | | More efficient scanning for free chunks while not losing any randomization;otto2011-04-301-21/+25
| | | | | | | | | | | | | | | | thanks to all testers.
* | | | uncomment fwprintf and wprintf testsstsp2011-04-291-4/+4
| | | |
* | | | Tweak the description of the optional parts around =. Found this in myotto2011-04-271-5/+7
| | | | | | | | | | | | | | | | tree, no idea where it came from; ok millert@ jmc@
* | | | Regression test for floating point format directives in wprintf.stsp2011-04-242-0/+223
| | | | | | | | | | | | | | | | ok kettenis espie
* | | | Fix spacing nit.matthew2011-04-191-3/+3
| | | | | | | | | | | | | | | | ok jmc@
* | | | Add AI_FQDN flag to getaddrinfo(3). Prompted by discussions with djm@matthew2011-04-052-22/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | about cert checking in OpenSSH. Man page wording tweaks thanks to jmc@. ok henning@, jmc@; positive feedback from djm@, ajacoutat@ Committing now to reuse guenther@'s libc minor bump instead of cranking it again, as suggested by deraadt@.
* | | | Add a wcswidth man page (based on FreeBSD), and fix the implementationstsp2011-04-043-5/+68
| | | | | | | | | | | | | | | | | | | | to return -1 in case of an unprintable character. ok nicm jmc
* | | | back out previous commit.beck2011-03-251-665/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "if you have checked this I am ok with it" does not mean 1) not to pay attention to breaking news after I tell you that and 2) not to get ok's from the others this had been shown to. I am absolutely not ok with thig going in with only *my* ok. There's a reason why we want more than one ok on important commits ok deraadt@ for the backout
* | | | Add the following certs:dhill2011-03-251-0/+665
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DigiCert High Assurance CA-3 Go Daddy Secure Certification Authority COMODO High-Assurance Secure Server CA Equifax Secure Certificate Authority VeriSign Class 3 Public Primary Certification Authority - G5 Entrust Certification Authority - L1C Entrust.net Secure Server Certification Authority cross checked with mozilla ok beck@
* | | | This script doesn't need write access to $curdir. Just check existence.matthieu2011-03-241-3/+3
| | | | | | | | | | | | | | | | Fixes build on NFS src with no root access. ok jasper@
* | | | tweak for clarity, ok millert@, jmc@espie2011-03-211-4/+4
| | | |
* | | | add a regress test for the vis and unvis functions. after finding onederaadt2011-03-131-4/+90
| | | | | | | | | | | | | | | | | | | | bug, this then found a 2nd bug.. worked on with guenther
* | | | wrong type for variable; spotted by christian.siebert@cs.tu-chemnitz.dederaadt2011-03-061-3/+3
| | | | | | | | | | | | | | | | ok guenther