summaryrefslogtreecommitdiff
path: root/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | two changes which should improve realloc. first, fix zapcacheregion totedu2012-06-221-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.
* | | | two small fixes to free page cache. first, we need two nibbles of randomtedu2012-06-201-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
* | | | Support larger-than-page-alignment requests in posix_memalign() bymatthew2012-06-182-23/+130
| | | | | | | | | | | | | | | | | | | | | | | | overallocating and then releasing unneeded memory pages. ok otto
* | | | Update STANDARDS section for a few <stdlib.h> functionsguenther2012-06-024-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | Update SYNOPSIS for setkey() to show it's in <stdlib.h> ok jmc@, millert@
* | | | Improve standards conformance: ecvt(), fcvt(), gcvt(), mktemp(), ttyslot(),guenther2012-06-013-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@
* | | | Add strnlen() to libkern.matthew2012-04-261-1/+5
| | | | | | | | | | | | | | | | ok deraadt
* | | | Document that getpeereid() works for SOCK_SEQPACKET sockets too.matthew2012-04-221-3/+5
| | | |
* | | | use "an addrinfo", not "a addrinfo". ok jmcsthen2012-04-201-3/+3
| | | |
* | | | rearrange DESCRIPTION somewhat to make this page more readable;jmc2012-04-201-39/+40
| | | | | | | | | | | | | | | | from Lawrence Teo
* | | | cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflowdjm2012-04-196-28/+122
| | | | | | | | | | | | | | | | ok miod@ deraadt@
* | | | alloca is NOT machine dependent; it has exactly the samederaadt2012-04-121-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.
* | | | Do not pick the network number as alias on entries with no aliaseric2012-04-101-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | defined. ok deraadt@
* | | | tweak previous;jmc2012-04-031-3/+3
| | | |
* | | | simplify the strlcpy/strlcat manual page substantially. do lessderaadt2012-04-021-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
* | | | Bump standards years, as we conform to the new versions tooguenther2012-03-261-4/+4
| | | | | | | | | | | | | | | | ok jmc@
* | | | strsignal() was standardized in POSIX-2008guenther2012-03-261-2/+7
| | | | | | | | | | | | | | | | ok millert@
* | | | Fix a bug where random() always returns 0 when srandom() is seededmillert2012-03-211-2/+3
| | | | | | | | | | | | | | | | | | | | with 0. Use 1 and not 0 as the first element of the state array, similar to what glibc does. OK nicm@
* | | | the disease is spreadingdlg2012-03-201-3/+3
| | | |
* | | | - Test for the retrieved page address not being NULL. This turns free((void*)1)otto2012-02-291-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.
* | | | Revert previous diff as it resulted in the wrong return code whenguenther2012-02-061-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@
* | | | fix SEE ALSO;jmc2012-01-171-2/+2
| | | |
* | | | Add stpcpy() and stpncpy(), pointless crap that made it into POSIX.guenther2012-01-174-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
* | | | net_addrcmp() dies. found out to be a horrific function by ericderaadt2012-01-173-158/+3
| | | | | | | | | | | | | | | | ok guenther
* | | | grammar;jmc2012-01-141-2/+2
| | | |
* | | | this is sparta^WPOSIX 2008espie2012-01-141-2/+7
| | | | | | | | | | | | | | | | okay millert@
* | | | OpenSSL 1.0.0f: crank minordjm2012-01-053-3/+3
| | | |
* | | | OpenSSL 1.0.0f: mergedjm2012-01-0561-316/+782
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-01-054-10/+28
|\| | | | | | | | | | | branch.
| * | | OpenSSL 1.0.0f: import upstream sourcedjm2012-01-0526-86/+191
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-01-051-1/+1
|\ \ \ \ | | |_|/ | |/| | branch.
| * | | OpenSSL 1.0.0f: import upstream sourcedjm2012-01-0535-149/+432
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-01-058-24/+192
|\ \ \ \ | | |_|/ | |/| | branch.
| * | | OpenSSL 1.0.0f: import upstream sourcedjm2012-01-0513-116/+380
| | | |
* | | | draft-ietf-ipv6-scoping-arch-02 has become RFC 4007, as noted byjmc2012-01-032-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | Poul-Henning Kamp, freebsd pr docs/163771; ok sthen
* | | | strdup and strndup both use malloc. Make this fact explicit.lum2011-12-081-3/+5
| | | | | | | | | | | | | | | | ok jmc@
* | | | Complete the HISTORY of all syscalls that exist since Version 1 AT&T UNIX.schwarze2011-11-171-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).
* | | | crank major for openssl-1.0.0edjm2011-11-033-3/+3
| | | |
* | | | openssl-1.0.0e: resolve conflictsdjm2011-11-03255-2118/+4328
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2011-11-0320-133/+1668
|\ \ \ \ | | |/ / | |/| | branch.
| * | | import OpenSSL 1.0.0edjm2011-11-03179-1799/+5399
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2011-11-0333-446/+799
|\ \ \ \ | | |_|/ | |/| | branch.
| * | | import OpenSSL 1.0.0edjm2011-11-03110-830/+1337
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2011-11-0362-537/+1273
|\ \ \ \ | | |_|/ | |/| | branch.
| * | | import OpenSSL 1.0.0edjm2011-11-0381-641/+1444
| | | |
* | | | Make consistent the syscall stubs for the syscalls that got specialguenther2011-10-161-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@
* | | | Make struct chunk_info a variable sized struct, wasting lessotto2011-10-061-28/+55
| | | | | | | | | | | | | | | | | | | | space for meta data by only allocating space actually needed for the bitmap (modulo alignment requirements). ok deraadt@
* | | | some minor tweaks;jmc2011-09-031-2/+2
| | | |
* | | | make -column lists pretty again;jmc2011-09-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
* | | | in column lists, enforce the following ordering:jmc2011-08-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .Bl -column header1 header2 ... <Bl flags> mixing things up confuses mandoc, and adding flags in can screw up the list. this hopefully just makes things a bit safer (and more consistent). (one more bit of work left and all column lists should format how we want)
* | | | Add support for hppa64 based on the defaults for 64-bit HP-UX as found in thekettenis2011-08-031-0/+253
| | | | | | | | | | | | | | | | | | | | | | | | Configure script. ok deraadt@