Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-06-26 | after a talk with ariane, use MAP_FIXED for mquery to avoid the cost of | tedu | 1 | -2/+2 | |
scanning for free space if the hint isn't available. also, on further inspection, this will prevent pmap_prefer from "improving" our hint. | |||||
2012-06-24 | Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as | matthew | 1 | -12/+3 | |
``-upper_bound % upper_bound''. Simplifies the code and makes it the same on both ILP32 and LP64 architectures, and also slightly faster on LP64 architectures by using a 32-bit remainder instead of a 64-bit remainder. Pointed out by Jorden Verwer on tech@ ok deraadt; no objections from djm or otto | |||||
2012-06-24 | - document newly imported AF_INET6 support to net_inet_{pton,ntop} | gilles | 1 | -5/+26 | |
diff from Florian Obser, ok jmc@ | |||||
2012-06-22 | add support for AF_INET6 to inet_net_pton() and inet_net_ntop() | gilles | 2 | -2/+68 | |
using inet_pton() and inet_ntop() as suggested by claudio ok claudio@ | |||||
2012-06-22 | two changes which should improve realloc. first, fix zapcacheregion to | tedu | 1 | -10/+19 | |
clear out the entire requested area, not just a perfect fit. second, use mquery to check for room to avoid getting an address we don't like and having to send it back. | |||||
2012-06-20 | two small fixes to free page cache. first, we need two nibbles of random | tedu | 1 | -4/+4 | |
in order to span the the entire cache. second, on free use the same offset to put things in the cache instead of always starting at zero. ok otto | |||||
2012-06-18 | Support larger-than-page-alignment requests in posix_memalign() by | matthew | 2 | -23/+130 | |
overallocating and then releasing unneeded memory pages. ok otto | |||||
2012-06-02 | Update STANDARDS section for a few <stdlib.h> functions | guenther | 4 | -14/+35 | |
Update SYNOPSIS for setkey() to show it's in <stdlib.h> ok jmc@, millert@ | |||||
2012-06-01 | Improve standards conformance: ecvt(), fcvt(), gcvt(), mktemp(), ttyslot(), | guenther | 3 | -8/+11 | |
and valloc() are not in the current version, while posix_memalign() mkstemp(), and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'. ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@ | |||||
2012-04-26 | Add strnlen() to libkern. | matthew | 1 | -1/+5 | |
ok deraadt | |||||
2012-04-22 | Document that getpeereid() works for SOCK_SEQPACKET sockets too. | matthew | 1 | -3/+5 | |
2012-04-20 | use "an addrinfo", not "a addrinfo". ok jmc | sthen | 1 | -3/+3 | |
2012-04-20 | rearrange DESCRIPTION somewhat to make this page more readable; | jmc | 1 | -39/+40 | |
from Lawrence Teo | |||||
2012-04-19 | cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflow | djm | 6 | -28/+122 | |
ok miod@ deraadt@ | |||||
2012-04-12 | alloca is NOT machine dependent; it has exactly the same | deraadt | 1 | -7/+3 | |
effective result. its use is NOT discouraged -- it is not common, but when you need it, there is nothing else that will do. | |||||
2012-04-10 | Do not pick the network number as alias on entries with no alias | eric | 1 | -3/+2 | |
defined. ok deraadt@ | |||||
2012-04-03 | tweak previous; | jmc | 1 | -3/+3 | |
2012-04-02 | simplify the strlcpy/strlcat manual page substantially. do less | deraadt | 1 | -70/+58 | |
explaining of "what a C string is", and make it more clear that these functiosn BEHAVE EXACTLY LIKE snprintf with "%s"! (anyone who wants to write a 'strlcpy considered harmful' paper should probably write a 'strlcpy and snprintf considered harmful' paper instead). note to those from other projects reading this commit message: It would be very good if this new manual was picked up in your project. ok jmc millert krw | |||||
2012-04-01 | error out if accept() fails | deraadt | 1 | -1/+3 | |
2012-03-26 | Bump standards years, as we conform to the new versions too | guenther | 1 | -4/+4 | |
ok jmc@ | |||||
2012-03-26 | strsignal() was standardized in POSIX-2008 | guenther | 1 | -2/+7 | |
ok millert@ | |||||
2012-03-21 | Fix a bug where random() always returns 0 when srandom() is seeded | millert | 1 | -2/+3 | |
with 0. Use 1 and not 0 as the first element of the state array, similar to what glibc does. OK nicm@ | |||||
2012-03-20 | the disease is spreading | dlg | 1 | -3/+3 | |
2012-03-17 | remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO. | dlg | 1 | -13/+4 | |
no objection from mcbride@ krw@ markus@ deraadt@ | |||||
2012-03-08 | fix format strings for size_t | espie | 1 | -3/+3 | |
ok okan@ | |||||
2012-02-29 | - Test for the retrieved page address not being NULL. This turns free((void*)1) | otto | 1 | -2/+7 | |
into an bogus pointer error instead of a segfault. - Document that we use the assumption that a non-MAP_FIXED mmap() with hint 0 never returns NULL. | |||||
2012-02-09 | Update comments. ok deraadt@ | lum | 1 | -4/+3 | |
2012-02-09 | Remove unused protocol value check. ok brynet@ | lum | 1 | -4/+1 | |
2012-02-07 | Expand the CAVEAT section to more fully describe the behaviour of | lum | 1 | -6/+13 | |
the -uz combination. This diff stems from a diff by brynet@ sent to tech@ help from jmc@ regarding wording. | |||||
2012-02-06 | Revert previous diff as it resulted in the wrong return code when | guenther | 1 | -5/+3 | |
the last node is deleted. Instead, resolve the Coverity warning by returning (node *)1 when you delete the root node. based an idea from millert@. ok otto@ | |||||
2012-01-17 | fix SEE ALSO; | jmc | 1 | -2/+2 | |
2012-01-17 | Add stpcpy() and stpncpy(), pointless crap that made it into POSIX. | guenther | 4 | -3/+222 | |
Includes friendly linker warning to wake up those dumb enough to use it. Committing for kettenis@, who ran away to the hills after writing it | |||||
2012-01-17 | net_addrcmp() dies. found out to be a horrific function by eric | deraadt | 3 | -158/+3 | |
ok guenther | |||||
2012-01-14 | grammar; | jmc | 1 | -2/+2 | |
2012-01-14 | this is sparta^WPOSIX 2008 | espie | 1 | -2/+7 | |
okay millert@ | |||||
2012-01-05 | OpenSSL 1.0.0f: crank minor | djm | 3 | -3/+3 | |
2012-01-05 | OpenSSL 1.0.0f: merge | djm | 61 | -316/+782 | |
2012-01-05 | OpenSSL 1.0.0f: import upstream source | djm | 26 | -86/+191 | |
2012-01-05 | OpenSSL 1.0.0f: import upstream source | djm | 35 | -149/+432 | |
2012-01-05 | OpenSSL 1.0.0f: import upstream source | djm | 13 | -116/+380 | |
2012-01-03 | draft-ietf-ipv6-scoping-arch-02 has become RFC 4007, as noted by | jmc | 2 | -12/+10 | |
Poul-Henning Kamp, freebsd pr docs/163771; ok sthen | |||||
2011-12-08 | strdup and strndup both use malloc. Make this fact explicit. | lum | 1 | -3/+5 | |
ok jmc@ | |||||
2011-11-17 | Complete the HISTORY of all syscalls that exist since Version 1 AT&T UNIX. | schwarze | 1 | -2/+11 | |
All facts from http://minnie.tuhs.org/cgi-bin/utree.pl, checked by sobrado@. Feedback and ok jmc@ jmc@ (sic, Jason checked and ok'ed this twice). | |||||
2011-11-06 | return non-zero on error | otto | 1 | -4/+6 | |
2011-11-05 | and clean extra target | otto | 1 | -1/+2 | |
2011-11-05 | add exhaust test from netbsd | otto | 2 | -2/+188 | |
2011-11-03 | crank major for openssl-1.0.0e | djm | 3 | -3/+3 | |
2011-11-03 | openssl-1.0.0e: resolve conflicts | djm | 255 | -2118/+4328 | |
2011-11-03 | import OpenSSL 1.0.0e | djm | 179 | -1799/+5399 | |
2011-11-03 | import OpenSSL 1.0.0e | djm | 110 | -830/+1337 | |