Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Two small cleanups to atexit: remove unneeded __atexit_invalid, and | matthew | 2013-06-02 | 2 | -12/+5 |
| | | | | | | | move the call_depth decrement so it happens unconditionally and can still return to 0 when called with dso!=NULL. ok millert | ||||
* | trailing whitespace makes 'make depend' sad. ok mpi@ | dtucker | 2013-06-02 | 1 | -2/+2 |
| | |||||
* | Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008. | stsp | 2013-06-01 | 1 | -2/+2 |
| | | | | | | | | | Catalogs had an arbitrary character set which was used regardless of locale. Add UTF-8-encoded catalogs for libc error messages, and rename existing ones to indicate their character sets. catopen(3) now chooses a catalog which matches the locale's encoding, if available. help & ok matthew, man page bits ok jmc, input from naddy and bluhm | ||||
* | Switch to using unhyphenated VIA padlock mnemonics. VIA abandoned the | matthew | 2013-05-30 | 2 | -4/+4 |
| | | | | | | | | hyphen in their official programming guide sometime between 2003 and 2005, and Clang's integrated assembler does not support hyphenated mnemonics. ok jsg, deraadt | ||||
* | Remove useless include. | ajacoutot | 2013-05-30 | 1 | -2/+1 |
| | | | | ok millert@ | ||||
* | typo: compare len against null needle, not haystack | ajacoutot | 2013-05-15 | 1 | -2/+2 |
| | | | | | | from Alf Schlichting ok millert@ | ||||
* | Add an implementation of memmem() -- from FreeBSD with some tweaks. | ajacoutot | 2013-05-13 | 3 | -4/+145 |
| | | | | | | | | | Requires a libc minor bump, committing now so that we have up-to-date snapshots for the upcoming hackathon. joint work with millert@ man page bits ok jmc@ input and ok millert@, guenther@, deraadt@ | ||||
* | Hook up fmemopen and open_memstream tests. | mpi | 2013-05-02 | 1 | -3/+4 |
| | |||||
* | use FD_CLOEXEC instead of 1; from David Hill | okan | 2013-04-29 | 1 | -2/+2 |
| | | | | ok otto | ||||
* | tweak a few comments | tedu | 2013-04-21 | 1 | -5/+7 |
| | |||||
* | this man page is mostly about password hashing now (you really don't | tedu | 2013-04-21 | 1 | -18/+5 |
| | | | | | want to be using DES) and some of the notes about the export controls are no longer so relevant. ok deraadt jmc | ||||
* | Xr encrypt(1) to give people a hint if they just want a password string | tedu | 2013-04-20 | 1 | -2/+3 |
| | |||||
* | surround the error strings with quotes to clarify exactly which strings | tedu | 2013-04-17 | 1 | -5/+5 |
| | | | | the function is going to return. | ||||
* | the tiniest of style tweaks | tedu | 2013-04-17 | 1 | -7/+7 |
| | |||||
* | add some prototypes, casts, includes, parenthesis, and whatnot to | tedu | 2013-04-17 | 3 | -7/+10 |
| | | | | silence some warnings. | ||||
* | use CLOCK_MONOTONIC, and repair future time_t overflow | deraadt | 2013-04-17 | 1 | -8/+8 |
| | | | | ok millert guenther | ||||
* | - Add comments regarding copies of these files also in libexec/ld.so | kurt | 2013-04-05 | 1 | -1/+3 |
| | | | | okay guenther@ | ||||
* | Update a comment about standards requirements | guenther | 2013-04-03 | 1 | -4/+4 |
| | |||||
* | Set the stream orientation in open_{,w}memstream(). | guenther | 2013-04-03 | 1 | -1/+15 |
| | | | | | | Check it in the regress test ok mpi@ | ||||
* | tweak makefile now that asr is built by default. | eric | 2013-04-01 | 1 | -10/+10 |
| | |||||
* | add hostnames which triggered some bugs. | eric | 2013-04-01 | 1 | -2/+2 |
| | |||||
* | getaddrinfo is now thread-safe. | brad | 2013-03-31 | 1 | -6/+2 |
| | | | | ok eric@ | ||||
* | Switch libc and libm to use strong aliases rather than weak aliases | martynas | 2013-03-28 | 2 | -22/+4 |
| | | | | | | | | | | | where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@. | ||||
* | add a test case for the icmpv6 issue spotted by naddy | eric | 2013-03-28 | 4 | -10/+26 |
| | |||||
* | More tests for negative seeks, prodded by matthew@ | mpi | 2013-03-28 | 2 | -2/+63 |
| | |||||
* | More test cases, especially when opening the stream in append an write | mpi | 2013-03-27 | 1 | -8/+113 |
| | | | | modes. | ||||
* | protect the PRG state with a mutex in res_randomid(). | eric | 2013-03-26 | 1 | -2/+13 |
| | | | | ok deraadt@ guenther@ djm@ | ||||
* | Add some more tests; prodded by mpi@ | guenther | 2013-03-25 | 1 | -12/+58 |
| | |||||
* | Use a realloc() loop around the sysctl() for NET_RT_IFLIST, in case an | deraadt | 2013-03-20 | 1 | -9/+21 |
| | | | | | interface is added at just the right... wrong moment. ok millert dlg | ||||
* | Don't shutdown nc(1)'s network socket when stdin closes. Matches *Hobbit*'s | sthen | 2013-03-20 | 2 | -7/+17 |
| | | | | | | original netcat and GNU netcat; revert to old behaviour with the new -N flag if needed. After much discussion with otto deraadt tedu and Martin Pelikan. ok deraadt@ | ||||
* | threadsafe random(). | tedu | 2013-03-15 | 1 | -8/+43 |
| | | | | reported by ajacoutot and (much earlier, sorry) by Alexey Suslikov | ||||
* | Add check that mkstemp() fails with EINVAL if the string has fewer than | guenther | 2013-03-12 | 1 | -4/+13 |
| | | | | 6 Xs | ||||
* | All accept() errors are considered fatal, until someone gives a different | deraadt | 2013-03-12 | 1 | -4/+5 |
| | | | | reason. No code changed, just documenting it... | ||||
* | cherry pick bugfixes for http://www.openssl.org/news/secadv_20130205.txt | markus | 2013-02-14 | 30 | -557/+2564 |
| | | | | | from the openssl git (changes between openssl 1.0.1c and 1.0.1d). ok djm@ | ||||
* | remove ACSS, crank libcrypto major; ok markus@ deraadt@ | djm | 2013-01-26 | 14 | -882/+4 |
| | |||||
* | Don't pull <math.h> just because it can return HUGE_VAL in the | martynas | 2013-01-15 | 1 | -3/+2 |
| | | | | corner cases. OK millert@. | ||||
* | Simple tests for fmemopen(3) and open_memstream(3) | mpi | 2013-01-01 | 4 | -0/+175 |
| | |||||
* | Fix bug in random offset introduced in rev 1.143; random range was | otto | 2012-12-22 | 1 | -3/+3 |
| | | | | expanded, but not enough due to precedence error. Spotted by Thorsten Glaser. | ||||
* | add test case for gethostbyname() called with numeric hostname | eric | 2012-12-17 | 1 | -1/+2 |
| | |||||
* | - use diff -u like most anywhere to make the output readable. | jasper | 2012-12-16 | 1 | -2/+2 |
| | | | | ok phessler@ | ||||
* | document RES_USE_DNSSEC; text tweaked by sthen | jmc | 2012-12-12 | 1 | -2/+6 |
| | | | | ok jakob | ||||
* | Remove excessive sys/cdefs.h inclusion | deraadt | 2012-12-05 | 2 | -5/+2 |
| | | | | ok guenther millert kettenis | ||||
* | no need for .Pp before lists; | jmc | 2012-12-05 | 1 | -3/+2 |
| | |||||
* | Rewritten posix_openpt manual that doesn't include any of the POSIX | millert | 2012-12-04 | 1 | -74/+49 |
| | | | | text. OK deraadt@ | ||||
* | Use "path name" not "pathname". | millert | 2012-12-04 | 1 | -3/+3 |
| | |||||
* | remove some unnecessary sys/param.h inclusions | deraadt | 2012-12-04 | 1 | -3/+1 |
| | |||||
* | Simple emulation of POSIX pty APIs posix_openpt(), ptsname(), | millert | 2012-12-03 | 4 | -6/+414 |
| | | | | | grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD. OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@ | ||||
* | New CA root certificates, ok beck@. | sthen | 2012-12-03 | 1 | -99/+1705 |
| | | | | | | | | | | | | | | - additional cert's from GlobalSign. - additional cert's from VeriSign and replace existing ones with 'Signature Algorithm: md2WithRSAEncryption' with their currently distributed sha1WithRSAEncryption versions. - new CAs: AddTrust (root for most Comodo certificates also heavily used in academic networks), Comodo (most of their certs are rooted in AddTrust but TERENA use the Comodo AAA Certificate Services root for some things so add that separately), UserTrust Network/UTN (part of Comodo) and Starfield (part of Go Daddy). | ||||
* | Additional CA root certificates: GeoTrust/Equifax, Go Daddy, StartCom, thawte. | sthen | 2012-12-01 | 1 | -0/+1187 |
| | | | | ok beck@ william@ todd@ | ||||
* | Regenerate the text information for all certificates with recent openssl | sthen | 2012-11-30 | 1 | -439/+465 |
| | | | | | | and include sha1 signatures for all certs (some were missing). No certificate changes, this is just for consistency. ok beck@ |