summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/labs.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-26Add strnlen() to libkern.matthew1-1/+5
ok deraadt
2012-04-22Document that getpeereid() works for SOCK_SEQPACKET sockets too.matthew1-3/+5
2012-04-20use "an addrinfo", not "a addrinfo". ok jmcsthen1-3/+3
2012-04-20rearrange DESCRIPTION somewhat to make this page more readable;jmc1-39/+40
from Lawrence Teo
2012-04-19cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflowdjm6-28/+122
ok miod@ deraadt@
2012-04-12alloca is NOT machine dependent; it has exactly the samederaadt1-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-10Do not pick the network number as alias on entries with no aliaseric1-3/+2
defined. ok deraadt@
2012-04-03tweak previous;jmc1-3/+3
2012-04-02simplify the strlcpy/strlcat manual page substantially. do lessderaadt1-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-01error out if accept() failsderaadt1-1/+3
2012-03-26Bump standards years, as we conform to the new versions tooguenther1-4/+4
ok jmc@
2012-03-26strsignal() was standardized in POSIX-2008guenther1-2/+7
ok millert@
2012-03-21Fix a bug where random() always returns 0 when srandom() is seededmillert1-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-20the disease is spreadingdlg1-3/+3
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.dlg1-13/+4
no objection from mcbride@ krw@ markus@ deraadt@
2012-03-08fix format strings for size_tespie1-3/+3
ok okan@
2012-02-29- Test for the retrieved page address not being NULL. This turns free((void*)1)otto1-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-09Update comments. ok deraadt@lum1-4/+3
2012-02-09Remove unused protocol value check. ok brynet@lum1-4/+1
2012-02-07Expand the CAVEAT section to more fully describe the behaviour oflum1-6/+13
the -uz combination. This diff stems from a diff by brynet@ sent to tech@ help from jmc@ regarding wording.
2012-02-06Revert previous diff as it resulted in the wrong return code whenguenther1-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-17fix SEE ALSO;jmc1-2/+2
2012-01-17Add stpcpy() and stpncpy(), pointless crap that made it into POSIX.guenther4-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-17net_addrcmp() dies. found out to be a horrific function by ericderaadt3-158/+3
ok guenther
2012-01-14grammar;jmc1-2/+2
2012-01-14this is sparta^WPOSIX 2008espie1-2/+7
okay millert@
2012-01-05OpenSSL 1.0.0f: crank minordjm3-3/+3
2012-01-05OpenSSL 1.0.0f: mergedjm61-316/+782
2012-01-05OpenSSL 1.0.0f: import upstream sourcedjm26-86/+191
2012-01-05OpenSSL 1.0.0f: import upstream sourcedjm35-149/+432
2012-01-05OpenSSL 1.0.0f: import upstream sourcedjm13-116/+380
2012-01-03draft-ietf-ipv6-scoping-arch-02 has become RFC 4007, as noted byjmc2-12/+10
Poul-Henning Kamp, freebsd pr docs/163771; ok sthen
2011-12-08strdup and strndup both use malloc. Make this fact explicit.lum1-3/+5
ok jmc@
2011-11-17Complete the HISTORY of all syscalls that exist since Version 1 AT&T UNIX.schwarze1-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-06return non-zero on errorotto1-4/+6
2011-11-05and clean extra targetotto1-1/+2
2011-11-05add exhaust test from netbsdotto2-2/+188
2011-11-03crank major for openssl-1.0.0edjm3-3/+3
2011-11-03openssl-1.0.0e: resolve conflictsdjm255-2118/+4328
2011-11-03import OpenSSL 1.0.0edjm179-1799/+5399
2011-11-03import OpenSSL 1.0.0edjm110-830/+1337
2011-11-03import OpenSSL 1.0.0edjm81-641/+1444
2011-10-16uncomment wscanf testsstsp1-4/+3
2011-10-16Make consistent the syscall stubs for the syscalls that got specialguenther1-1/+16
handling to fix up the alignment of 64bit arguments so that they do the same dance where _thread_sys_FOO is the real stub and FOO is a weak alias. For some of them, this is needed for cancellation handling. From discussions with fgsch@, ok millert@
2011-10-06Make struct chunk_info a variable sized struct, wasting lessotto1-28/+55
space for meta data by only allocating space actually needed for the bitmap (modulo alignment requirements). ok deraadt@
2011-10-04change -w to apply to the connection as well. manpage bit from jmc@fgsch2-6/+44
nicm@ ok.
2011-09-29ssl.8: Certifying Authority -> Certificate Authorityjmc1-6/+6
isakmpd.8: rsa:1024 -> rsa:2048 (ok markus) all: X509 -> X.509 from Lawrence Teo
2011-09-17Expand fnmatch() regress with patterns obtained from the tests for APR'sstsp3-4/+277
new fnmatch implementation. With kind permission from Bill Rowe. Tweak the test code to allow comment lines in the test data file. ok millert@
2011-09-17Standarize the ToS option across nc/ping/traceroute so that they'llhaesbaert2-28/+77
accept the same values as pf.conf. It accepts decimal, hexadecimal and the dscp/tos keywords. The ping option was ripped of in SMALL. ok mcbride@ sthen@
2011-09-07- update key size and alg recommendations; from Lawrence Teojmc1-6/+5
- whilst here, knock out useless Pp in openssl.1 ok djm markus