summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-19remove some useless Tn and double punctuation;jmc1-16/+7
2012-11-19RES_IGNTC is no longer ignored; ok sthenjmc1-4/+4
2012-11-18Ensure that the base provided to strtol(3) is between 2 and 36 inclusive,jsing1-1/+12
or the special value of 0. ok deraadt@ otto@
2012-11-18Add a regress test for strtol, which currently fails.jsing3-2/+86
ok otto@
2012-11-10Per POSIX, fix raise() and abort() to send the signal to the current thread.guenther1-3/+5
Should make coredumps from abort() easier to debug too. ok kurt@
2012-11-02Add a new malloc option 'U' => "Free unmap" that does the guarding/djm2-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.
2012-10-31On amd64 OPENSSL_cpuid_setup and OPENSSL_ia32cap_P are now hidden so we don'tkettenis8-18/+10
have to go through the PLT/GOT to get at them anymore. In fact going through the GOT now fails since we no longer have a GOT entry for OPENSSL_ia32cap_P. Fixes the problem spotted by jasper@ and sthen@. Based on a diff from mikeb@ who did most of the actual work of tracking down the issue. ok millert@, mikeb@
2012-10-22Restore r1.10, lost during last update:miod2-2/+2
Disable use of dladdr() on a.out arches, they do not provide it (yet);
2012-10-13Makefile and header changes for OpenSSL-1.0.1cdjm20-139/+361
major cranks
2012-10-13import files that CVS missed; sighdjm10-0/+1498
2012-10-13resolve conflictsdjm504-7535/+33760
2012-10-13import OpenSSL-1.0.1cdjm339-4357/+15664
2012-10-13import OpenSSL-1.0.1cdjm248-2332/+62631
2012-10-13import OpenSSL-1.0.1cdjm359-4455/+63120
2012-09-27last stage of rfc changes, using consistent Rs/Re blocks, and moving thejmc9-88/+91
references into a STANDARDS section;
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving thejmc1-19/+45
references into a STANDARDS section;
2012-09-23Make setenv(3) consistent with unsetenv(3), giving EINVAL if passedjeremy2-20/+10
an empty name, NULL pointer, or a name containing an '=' character. OK millert@, guenther@
2012-09-16remove some wacky Xo/Xc;jmc1-3/+3
2012-09-15remove tahoe-specific makefile machinery, no such hardware is known to bemiod1-5/+1
in working condition anymore (assuming there would be interest in running on it).
2012-09-15Document that strtod functions accept INF, NAN, NAN(). From Michal Mazurek.martynas1-3/+28
2012-09-13specify the bounds of the dst to strlcat (both values were static andderaadt1-2/+2
equal, but it is more correct) from Michal Mazurek
2012-09-13Fix precedence bug (& has lower precedence than !=).pirofti1-2/+2
Okay otto@. Found by Michal Mazurek <akfaew at jasminek dot net>, thanks!
2012-09-05run regress with the local env tooeric1-2/+2
2012-09-05use LDSTATIC for building static executableseric1-2/+2
2012-09-04arc4random_buf is the easy way to fill a buffer now. ok deraadttedu1-10/+3
2012-09-04remove lint leftovers; ok guenther@okan1-5/+1
2012-08-22rfc 2553 (not 2533) has been replaced by rfc 3493;jmc1-5/+6
2012-08-21When deciding whether we're PIC in a (generated) asm file, check for both PICpascal2-2/+2
and __PIC__ defines. Makes things easier for PIE. ok djm@
2012-08-21- remove inconsistent/obsolete commentsjmc4-48/+35
- update rfc references - make the Rs/Re blocks more consistent
2012-08-21flesh out the rfc section;jmc1-10/+33
rfc 5321 replaces 974 and 2821;
2012-08-20rfc 4291 replaces rfcs 2373 and 3513;jmc1-9/+16
2012-08-15use Lk for links;jmc1-4/+4
2012-08-07allow to choose an alternate regress scripteric1-2/+3
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan3-25/+3
ok guenther@
2012-07-29add a flag to choose between gethostbyname and gethostbyaddreric2-12/+13
2012-07-26remove reference to no longer existing description of nonexistent devices;naddy1-7/+4
ok deraadt@ tedu@, wording tweaks jmc@
2012-07-13import regression suite for asreric23-0/+2464
2012-07-13Use same (lame) verbiage to explain ifa_dstaddr as is used forkrw1-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@
2012-07-13put back the Key-Arg field - sess_id still prints it;jmc1-2/+5
2012-07-12remove (hopefully) all traces of sslv2; ok sthenjmc1-55/+23
2012-07-12Skip printing another SSLv2-only command in s_client's usage text.sthen1-0/+2
jmc@ noticed this in the manpage while updating it, but it applies here too.
2012-07-11Disable SSLv2 in OpenSSL. No objections from djm.sthen20-8/+96
Brad, jasper and naddy helped with test builds, fixing ports, etc.
2012-07-11catch off-by-one errors in stpncpy(); ok guenther@naddy3-6/+33
2012-07-11fix an off-by-one error where the return value would point to thenaddy1-2/+2
character after the '\0'; ok guenther@
2012-07-09use PAGE_SHIFT instead of PGSHIFT, in preperation for futurederaadt1-2/+2
param.h symbol reduction. ok guenther
2012-07-08Zap extra spaces from function pointer argumentsguenther2-8/+8
Pointed out by Joachim Schipper (joachim at joachimschipper.nl)
2012-07-08Describe tdelete()'s return value correctly and update the related CAVEATguenther1-12/+15
Based on a note from Steffen Daode Nurpmeso (sdaoden at googlemail.com) ok jmc@
2012-07-07Allow UDP server to receive datagrams from multiple socket pairs with -khaesbaert2-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@
2012-07-07Report incoming connections when -l is specified with -v.haesbaert1-1/+35
From Ricky Zhou with a few tweaks by me. ok henning@ haesbaert@
2012-06-26after a talk with ariane, use MAP_FIXED for mquery to avoid the cost oftedu1-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.