Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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@ | ||||
* | 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 |
| | |||||
* | 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@. | ||||
* | protect the PRG state with a mutex in res_randomid(). | eric | 2013-03-26 | 1 | -2/+13 |
| | | | | ok deraadt@ guenther@ djm@ | ||||
* | 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 | ||||
* | threadsafe random(). | tedu | 2013-03-15 | 1 | -8/+43 |
| | | | | reported by ajacoutot and (much earlier, sorry) by Alexey Suslikov | ||||
* | 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@. | ||||
* | 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. | ||||
* | 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 | 1 | -2/+1 |
| | | | | 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 |
| | |||||
* | 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@ | ||||
* | Document a known bug in the DES crypt cipher implementation which we're | stsp | 2012-11-30 | 1 | -2/+6 |
| | | | | | | | | | | not going to fix in order to stay compatible with legacy password data. Nobody should use DES crypt anyway these days. See http://www.freebsd.org/security/advisories/FreeBSD-SA-12:02.crypt.asc for details about this bug. Discussed with deraadt and beck about half a year ago (I'm pruning Ms from my tree). | ||||
* | - put the various options into the same order as those in resolv.h | jmc | 2012-11-29 | 1 | -17/+38 |
| | | | | | | | | | | | | | | | - sync RES_DEBUG with resolv.conf.5 - document RES_PRIMARY, but mark it unsupported (like we already do for RES_AAAONLY) - use the exact same text (about being enabled by default) for RES_RECURSE as for the other two defaults - document RES_INSECURE{1,2} - description lifted from resolv.conf.5 - document RES_NOALIASES - mostly sync the RES_USE_EDNS0 text with resolv.conf.5 - RES_USE_DNSSEC not documented for now. something to come... ok sthen | ||||
* | remove some useless Tn and double punctuation; | jmc | 2012-11-19 | 1 | -16/+7 |
| | |||||
* | RES_IGNTC is no longer ignored; ok sthen | jmc | 2012-11-19 | 1 | -4/+4 |
| | |||||
* | Ensure that the base provided to strtol(3) is between 2 and 36 inclusive, | jsing | 2012-11-18 | 1 | -1/+12 |
| | | | | | | or the special value of 0. ok deraadt@ otto@ | ||||
* | Per POSIX, fix raise() and abort() to send the signal to the current thread. | guenther | 2012-11-10 | 1 | -3/+5 |
| | | | | | | Should make coredumps from abort() easier to debug too. ok kurt@ | ||||
* | Add a new malloc option 'U' => "Free unmap" that does the guarding/ | djm | 2012-11-02 | 2 | -18/+36 |
| | | | | | | | | | | | | unmapping of freed allocations without disabling chunk randomisation like the "Freeguard" ('F') option does. Make security 'S' option use 'U' and not 'F'. Rationale: guarding with no chunk randomisation is great for debugging use-after-free, but chunk randomisation offers better defence against "heap feng shui" style attacks that depend on carefully constructing a particular heap layout so we should leave this enabled when requesting security options. | ||||
* | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | jmc | 2012-09-27 | 9 | -88/+91 |
| | | | | references into a STANDARDS section; | ||||
* | Make setenv(3) consistent with unsetenv(3), giving EINVAL if passed | jeremy | 2012-09-23 | 2 | -20/+10 |
| | | | | | | an empty name, NULL pointer, or a name containing an '=' character. OK millert@, guenther@ | ||||
* | remove some wacky Xo/Xc; | jmc | 2012-09-16 | 1 | -3/+3 |
| | |||||
* | remove tahoe-specific makefile machinery, no such hardware is known to be | miod | 2012-09-15 | 1 | -5/+1 |
| | | | | | in working condition anymore (assuming there would be interest in running on it). | ||||
* | Document that strtod functions accept INF, NAN, NAN(). From Michal Mazurek. | martynas | 2012-09-15 | 1 | -3/+28 |
| | |||||
* | specify the bounds of the dst to strlcat (both values were static and | deraadt | 2012-09-13 | 1 | -2/+2 |
| | | | | | equal, but it is more correct) from Michal Mazurek | ||||
* | Fix precedence bug (& has lower precedence than !=). | pirofti | 2012-09-13 | 1 | -2/+2 |
| | | | | | | Okay otto@. Found by Michal Mazurek <akfaew at jasminek dot net>, thanks! | ||||
* | arc4random_buf is the easy way to fill a buffer now. ok deraadt | tedu | 2012-09-04 | 1 | -10/+3 |
| | |||||
* | remove lint leftovers; ok guenther@ | okan | 2012-09-04 | 1 | -5/+1 |
| | |||||
* | rfc 2553 (not 2533) has been replaced by rfc 3493; | jmc | 2012-08-22 | 1 | -5/+6 |
| | |||||
* | - remove inconsistent/obsolete comments | jmc | 2012-08-21 | 4 | -48/+35 |
| | | | | | - update rfc references - make the Rs/Re blocks more consistent | ||||
* | flesh out the rfc section; | jmc | 2012-08-21 | 1 | -10/+33 |
| | | | | rfc 5321 replaces 974 and 2821; | ||||
* | rfc 4291 replaces rfcs 2373 and 3513; | jmc | 2012-08-20 | 1 | -9/+16 |
| | |||||
* | remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets. | okan | 2012-08-02 | 1 | -21/+1 |
| | | | | ok guenther@ | ||||
* | remove reference to no longer existing description of nonexistent devices; | naddy | 2012-07-26 | 1 | -7/+4 |
| | | | | ok deraadt@ tedu@, wording tweaks jmc@ | ||||
* | Use same (lame) verbiage to explain ifa_dstaddr as is used for | krw | 2012-07-13 | 1 | -3/+4 |
| | | | | | | | | ifa_broadaddr. i.e. make it make clear that this field is only valid for P2P. (Hint: one's a field, and one's a #define giving a new name to said field) ok guenther@ | ||||
* | fix an off-by-one error where the return value would point to the | naddy | 2012-07-11 | 1 | -2/+2 |
| | | | | character after the '\0'; ok guenther@ | ||||
* | use PAGE_SHIFT instead of PGSHIFT, in preperation for future | deraadt | 2012-07-09 | 1 | -2/+2 |
| | | | | | param.h symbol reduction. ok guenther |