summaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* remove hack to test and create /usr/lib/pkgconfig/ if needed, it's been sixjasper2011-05-262-6/+2
| | | | | | months since it was introduced so it's safe to assume people have this dir now. ok deraadt@
* Document nearbyint, nearbyintf, nearbyintl.martynas2011-05-252-13/+30
|
* Document C99 floating-point environment.martynas2011-05-255-20/+502
|
* On PowerPC we cannot manipulate FPSCR[VX]--it's a summary of allmartynas2011-05-251-2/+6
| | | | | | | | 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.
* Reimplement uvm/uvm_map.ariane2011-05-241-13/+14
| | | | | | | | | | | | | 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.
* 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
|
* remove Xr for a page we don;t yet have; ok stspjmc2011-05-161-4/+3
|
* 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
|
* When the max number of items for a directory has reached GLOB_LIMIT_READDIRpyr2011-05-121-2/+3
| | | | | | | | an error is returned but closedir() is not called. spotted and fix provided by Frank Denis obsd-tech@pureftpd.org ok otto@, millert@
* Add a wprintf(3) man page based on FreeBSD's page. Help and ok schwarze jmcstsp2011-05-092-2/+592
|
* Always free the multibyte->wchar conversion buffer allocated in __mbsconv().stsp2011-05-091-1/+3
| | | | ok matthew dcoppa miod
* in sio_psleep(), use an array of SIO_MAXNFDS pollfd strucures ratherratchov2011-05-092-6/+10
| | | | than a single one. No behaviour change
* Move MALLOC_STATS code to bottom of file, so the real stuff is more at the top.otto2011-05-081-137/+141
|
* use an array of backends and iterate on it, instead of inliningratchov2011-05-061-15/+22
| | | | calls to sio_<backend>_open(). No behaviour change
* remove almost two years old hack to support legacy audio/midiratchov2011-05-062-25/+8
| | | | device names
* Make this script more generic and minimize differences betweenjasper2011-05-052-13/+44
| | | | | | | | | | | | | 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!
* Add a zlib.pc pkg-config file, based what newer zlibs ship.jasper2011-05-042-1/+65
| | | | | tested by landry@ in a bulk. ok miod@ sthen@
* determine the default device in backend code instead of the commonratchov2011-05-033-10/+9
| | | | | code. This is simpler as long as not all backends use the same default.
* Adjust to explicitly list ${libdir}.jasper2011-05-031-4/+4
| | | | ok sthen@
* Add missing byter order conversions in message headers. Fixes the caseratchov2011-05-022-41/+47
| | | | | when the server and the client are not of the same endianness. Found by naddy.
* set the TCP_NODELAY option for TCP connectionsratchov2011-05-021-2/+9
|
* forgotten in previous;jmc2011-05-021-2/+2
|
* document SO_RTABLE; with suggestions and ok jmc, claudiomikeb2011-05-021-2/+11
|
* no need to escape `|'; as discussed with schwartzejmc2011-05-022-20/+6
|
* 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.
* Trick GCC (-O2) into actually raising the underflow exception on m88k.martynas2011-04-291-3/+3
| | | | | | | | | | Since the second division operand is a power of two, non-zero, non-nan, this got optimized (-O2) into multiplication. As a result the underflow exception wasn't being raised properly. Make the second operand a volatile to prevent incorrect optimizations. OK miod@.
* Add BUGS section explaining that these functions do not cover the entirestsp2011-04-291-2/+5
| | | | Unicode character set in a UTF-8 locale and can therefore return wrong answers.
* remove dead Xrs to update.8;jmc2011-04-292-10/+7
|
* ixnay on the nopfaymiod2011-04-281-3/+1
|
* fix build ok martynas@todd2011-04-281-1/+5
|
* - enable fenvmartynas2011-04-283-3/+75
| | | | - add nearbyint, nearbyintf and nearbyintl implemented using fenv
* Bring back wprintf. We've sorted out what to do for gcc2 and gcc3.stsp2011-04-289-4/+1807
| | | | "Yes, go ahead then" deraadt
* fenv improvements and cleanupsmartynas2011-04-2813-734/+1366
|
* Implement a new authentication method allowing aucat and midicat toratchov2011-04-283-8/+200
| | | | | | | | | | | | | | | | | | | work over TCP, for instance, to expose the sound card of one machine with other machines of the network. The first client generates a 128-bit random number (aka the session cookie), saves it in $HOME/.aucat_cookie and sends it to the server. Successive clients load the cookie from $HOME/.aucat_cookie and send it to the server but the server accepts only clients whose cookie matches the session cookie. When all clients are gone, the session is over, and another cookie could start a new session, and so on. TCP is enabled on the server with the new -L option, and on the client side hostnames are specified with a new optional component in the device name. hints from damien, dlg and deraadt, tweaks from jmc
* move amsg.h containing protocol defs from aucat side to libsndio side.ratchov2011-04-272-3/+110
| | | | requested by deraadt
* 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@
* spring cleanup:schwarze2011-04-261-17/+9
| | | | | | | * shorten and clarify some explanations * update the POSIX reference, this conforms to -2008 as well * use .In and .Rv where possible ok tedu@, feedback and ok jmc@
* fenv for mips64martynas2011-04-261-0/+316
|
* Document amd64/i386 denormalization exception; after discusion w/ tedu@.martynas2011-04-251-2/+3
| | | | OK tedu@.
* fenv for sparc; mostly cloned from sparc64martynas2011-04-252-1/+354
|
* fenv for powerpcmartynas2011-04-251-0/+354
|
* Teach sysconf(_SC_GETGR_R_SIZE_MAX) the correct size of a buffer for thesthen2011-04-252-4/+5
| | | | | | reentrant getgrent functions (getgrgid_r, getgrnam_r). seems reasonable to millert@, ok deraadt@
* Update to tzcode2011g from elsie.nci.nih.gov.millert2011-04-255-69/+165
|
* fenv for shmartynas2011-04-241-0/+381
|