summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | remove tahoe-specific makefile machinery, no such hardware is known to bemiod2012-09-151-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.martynas2012-09-151-3/+28
| | | |
* | | | specify the bounds of the dst to strlcat (both values were static andderaadt2012-09-131-2/+2
| | | | | | | | | | | | | | | | | | | | equal, but it is more correct) from Michal Mazurek
* | | | Fix precedence bug (& has lower precedence than !=).pirofti2012-09-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Okay otto@. Found by Michal Mazurek <akfaew at jasminek dot net>, thanks!
* | | | run regress with the local env tooeric2012-09-051-2/+2
| | | |
* | | | use LDSTATIC for building static executableseric2012-09-051-2/+2
| | | |
* | | | arc4random_buf is the easy way to fill a buffer now. ok deraadttedu2012-09-041-10/+3
| | | |
* | | | remove lint leftovers; ok guenther@okan2012-09-041-5/+1
| | | |
* | | | rfc 2553 (not 2533) has been replaced by rfc 3493;jmc2012-08-221-5/+6
| | | |
* | | | When deciding whether we're PIC in a (generated) asm file, check for both PICpascal2012-08-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | and __PIC__ defines. Makes things easier for PIE. ok djm@
* | | | - remove inconsistent/obsolete commentsjmc2012-08-214-48/+35
| | | | | | | | | | | | | | | | | | | | - update rfc references - make the Rs/Re blocks more consistent
* | | | flesh out the rfc section;jmc2012-08-211-10/+33
| | | | | | | | | | | | | | | | rfc 5321 replaces 974 and 2821;
* | | | rfc 4291 replaces rfcs 2373 and 3513;jmc2012-08-201-9/+16
| | | |
* | | | use Lk for links;jmc2012-08-151-4/+4
| | | |
* | | | allow to choose an alternate regress scripteric2012-08-071-2/+3
| | | |
* | | | remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan2012-08-023-25/+3
| | | | | | | | | | | | | | | | ok guenther@
* | | | add a flag to choose between gethostbyname and gethostbyaddreric2012-07-292-12/+13
| | | |
* | | | remove reference to no longer existing description of nonexistent devices;naddy2012-07-261-7/+4
| | | | | | | | | | | | | | | | ok deraadt@ tedu@, wording tweaks jmc@
* | | | import regression suite for asreric2012-07-1323-0/+2464
| | | |
* | | | Use same (lame) verbiage to explain ifa_dstaddr as is used forkrw2012-07-131-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@
* | | | put back the Key-Arg field - sess_id still prints it;jmc2012-07-131-2/+5
| | | |
* | | | remove (hopefully) all traces of sslv2; ok sthenjmc2012-07-121-55/+23
| | | |
* | | | Skip printing another SSLv2-only command in s_client's usage text.sthen2012-07-121-0/+2
| | | | | | | | | | | | | | | | jmc@ noticed this in the manpage while updating it, but it applies here too.
* | | | Disable SSLv2 in OpenSSL. No objections from djm.sthen2012-07-1120-8/+96
| | | | | | | | | | | | | | | | Brad, jasper and naddy helped with test builds, fixing ports, etc.
* | | | catch off-by-one errors in stpncpy(); ok guenther@naddy2012-07-113-6/+33
| | | |
* | | | fix an off-by-one error where the return value would point to thenaddy2012-07-111-2/+2
| | | | | | | | | | | | | | | | character after the '\0'; ok guenther@
* | | | use PAGE_SHIFT instead of PGSHIFT, in preperation for futurederaadt2012-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | param.h symbol reduction. ok guenther
* | | | Zap extra spaces from function pointer argumentsguenther2012-07-082-8/+8
| | | | | | | | | | | | | | | | Pointed out by Joachim Schipper (joachim at joachimschipper.nl)
* | | | Describe tdelete()'s return value correctly and update the related CAVEATguenther2012-07-081-12/+15
| | | | | | | | | | | | | | | | | | | | Based on a note from Steffen Daode Nurpmeso (sdaoden at googlemail.com) ok jmc@
* | | | Allow UDP server to receive datagrams from multiple socket pairs with -khaesbaert2012-07-072-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | flag. Prompted by a question from dsp at 2f30 dot org, diff from Lazarom Koromil with a few tweaks by me, many thanks. ok mikeb@ nicm@ haesbaert@
* | | | Report incoming connections when -l is specified with -v.haesbaert2012-07-071-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | From Ricky Zhou with a few tweaks by me. ok henning@ haesbaert@
* | | | after a talk with ariane, use MAP_FIXED for mquery to avoid the cost oftedu2012-06-261-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.
* | | | Change arc4random_uniform() to calculate ``2**32 % upper_bound'' asmatthew2012-06-241-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
* | | | - document newly imported AF_INET6 support to net_inet_{pton,ntop}gilles2012-06-241-5/+26
| | | | | | | | | | | | | | | | diff from Florian Obser, ok jmc@
* | | | add support for AF_INET6 to inet_net_pton() and inet_net_ntop()gilles2012-06-222-2/+68
| | | | | | | | | | | | | | | | | | | | | | | | using inet_pton() and inet_ntop() as suggested by claudio ok claudio@
* | | | 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
* | | | error out if accept() failsderaadt2012-04-011-1/+3
| | | |