summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-06-15Add the following certs:David Hill
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@
2011-06-08- The 0x1p514 was wrong on VAX, but remove FP_SUBNORMAL, FP_INFINITE,Martynas Venckus
and FP_NAN cases altogether, since they are not supported, and fpclassify() will never return that. (Leftovers when this was cloned.) - Kill unused INFSTR, NANSTR, LDBL_ADJ. - Teach hdtoa() that rv_alloc can fail. - Move STRTOG_NoMemory above STRTOG_Infinite (fallthru).
2011-06-06Userland counterpart of the vmmap backout; cranks major version of libkvm.Ariane van der Steldt
2011-06-03lots of back things happening in this signal handler, but at leastTheo de Raadt
start to clean up the simple stuff ok nicm
2011-06-03+.Xr hcreate 3 ,Jason McIntyre
requested by Daniel Dickman ok espie
2011-06-03one midicat server can export multiple midithru portsAlexandre Ratchov
2011-06-03don't forget to send the initial clock tickAlexandre Ratchov
2011-06-01fix wcscasecmp() parameters; <wchar.h> was correctChristian Weisgerber
2011-05-31Call the single, not double-precision version of copysign for theMartynas Venckus
float arguments.
2011-05-31Make lint play nicer in pass 2 of libm on amd64 and i386. TheMartynas Venckus
internal _ItL_* extended-precision constants are of course going to be declared inconsistently since we define them based on structures; however prototype as long doubles.
2011-05-30For tiny x, tanh = x*(one+x). GCC (at -O2) optimized this intoMartynas Venckus
x+x*x, as a result sign got lost for the input of -0. Explicitly return negative zero in this case. Found by Cephes.
2011-05-30Document why everything in this signal handler is totally unsafe -- it isTheo de Raadt
totally ridiculous to call all sorts of stdio and malloc stuff in a signal handler. These comments have been looked at by nicm, and then passed upstream.
2011-05-30Make printf-like and scanf-like functions marked as such in llib-lc.lnMartynas Venckus
and llib-lwrap.ln databases; so that the lint features doing format strings checks are enabled by default. Looks good to millert@.
2011-05-30Trick lint into recording the right prototypes in the llib-lm.lnMartynas Venckus
database on platforms without extended-precision floating-point support. Seems like a reasonable approach to millert@.
2011-05-30Trick lint into recording the right prototypes in the llib-lc.lnMartynas Venckus
database on platforms without extended-precision floating-point support. Seems like a reasonable approach to millert@.
2011-05-28Store -1 into signgam in case of a special value of -0.Martynas Venckus
2011-05-28Adapt m68k MD functions to extended-precision.Martynas Venckus
Go for it miod@.
2011-05-28Adapt m68k MD functions to single-precision.Martynas Venckus
Looked over by miod@.
2011-05-28tweak previous (my fault);Jason McIntyre
2011-05-28wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@Marc Espie
2011-05-26tweak previous; ok martynasJason McIntyre
2011-05-26remove hack to test and create /usr/lib/pkgconfig/ if needed, it's been sixJasper Lievisse Adriaanse
months since it was introduced so it's safe to assume people have this dir now. ok deraadt@
2011-05-25Document nearbyint, nearbyintf, nearbyintl.Martynas Venckus
2011-05-25Document C99 floating-point environment.Martynas Venckus
2011-05-25On PowerPC we cannot manipulate FPSCR[VX]--it's a summary of allMartynas Venckus
the invalid exception bits, as described in Section 3.3.6.1.1 of PowerPC Architecture Programming Environments Manual. A proper way to cause an invalid operation exception is to set FPSCR[VXSOFT]. Similarly, we clear all the FPSCR[VX*] bits otherwise.
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
vmmap is designed to perform address space randomized allocations, without letting fragmentation of the address space go through the roof. Some highlights: - kernel address space randomization - proper implementation of guardpages - roughly 10% system time reduction during kernel build Tested by alot of people on tech@ and developers. Theo's machines are still happy.
2011-05-20save errno dance in wrterror() and malloc_dump(); prompted by and ok deraadt@Otto Moerbeek
2011-05-18introduce symbolic constant for initial number of regionsOtto Moerbeek
2011-05-18zap regions_bits and rework MALLOC_MAXSHIFT a bit; ok djm@Otto Moerbeek
2011-05-16remove Xr for a page we don;t yet have; ok stspJason McIntyre
2011-05-12Avoid fp computations for stats, this make calling malloc_dump() safe in moreOtto Moerbeek
cases.
2011-05-12fix comment, the bitmap is an array of u_short nowOtto Moerbeek
2011-05-12Introduce leak detection code for MALLOC_STATSOtto Moerbeek
2011-05-12When the max number of items for a directory has reached GLOB_LIMIT_READDIRPierre-Yves Ritschard
an error is returned but closedir() is not called. spotted and fix provided by Frank Denis obsd-tech@pureftpd.org ok otto@, millert@
2011-05-09Add a wprintf(3) man page based on FreeBSD's page. Help and ok schwarze jmcStefan Sperling
2011-05-09Always free the multibyte->wchar conversion buffer allocated in __mbsconv().Stefan Sperling
ok matthew dcoppa miod
2011-05-09in sio_psleep(), use an array of SIO_MAXNFDS pollfd strucures ratherAlexandre Ratchov
than a single one. No behaviour change
2011-05-08Move MALLOC_STATS code to bottom of file, so the real stuff is more at the top.Otto Moerbeek
2011-05-06use an array of backends and iterate on it, instead of inliningAlexandre Ratchov
calls to sio_<backend>_open(). No behaviour change
2011-05-06remove almost two years old hack to support legacy audio/midiAlexandre Ratchov
device names
2011-05-05Make this script more generic and minimize differences betweenJasper Lievisse Adriaanse
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@
2011-05-05Up until now, malloc scanned the bits of the chunk bitmap fromOtto Moerbeek
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!
2011-05-04Add a zlib.pc pkg-config file, based what newer zlibs ship.Jasper Lievisse Adriaanse
tested by landry@ in a bulk. ok miod@ sthen@
2011-05-03determine the default device in backend code instead of the commonAlexandre Ratchov
code. This is simpler as long as not all backends use the same default.
2011-05-03Adjust to explicitly list ${libdir}.Jasper Lievisse Adriaanse
ok sthen@
2011-05-02Add missing byter order conversions in message headers. Fixes the caseAlexandre Ratchov
when the server and the client are not of the same endianness. Found by naddy.
2011-05-02set the TCP_NODELAY option for TCP connectionsAlexandre Ratchov
2011-05-02forgotten in previous;Jason McIntyre
2011-05-02document SO_RTABLE; with suggestions and ok jmc, claudioMike Belopuhov
2011-05-02no need to escape `|'; as discussed with schwartzeJason McIntyre