summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
2014-07-18zap trailing whitespace;Jason McIntyre
2014-07-18Change lsearch()'s "base" argument to require a non-const pointer toMatthew Dempsky
2014-07-17it is 2014, and we still need to encourage people away from srand()Theo de Raadt
2014-07-13oops, i deleted the wrong wordTed Unangst
2014-07-13remove a lie spotted by guentherTed Unangst
2014-07-13once srandomdev() is called, switch to using arc4random() but mask off theTed Unangst
2014-07-11Add locking for __cxa_finalize() as it modifies the page permissions of theMark Kettenis
2014-07-11better document perils of setuid getenv and xr with issetugidTed Unangst
2014-07-10as noted by google/android via kettenis, atexit handlers can install newTed Unangst
2014-07-09reduce obvious dependency on global g_pool by moving to local aliasesTed Unangst
2014-06-27extra evil spaces snuck in over the last whileTheo de Raadt
2014-06-27Move to a smaller rbytes buffer and skip a random part. Not toOtto Moerbeek
2014-06-18Always call atexit handlers as if they were registered with __cxa_atexit.Mark Kettenis
2014-06-15oops, typo. James Hartley is fast at trying -currentTheo de Raadt
2014-06-15In srandomdev(), use arc4random_buf() instead of from the kernel.Theo de Raadt
2014-06-13use getentropy; from matthewTheo de Raadt
2014-06-12Disable the "switch to insertion sort" optimization to avoid quadraticTodd C. Miller
2014-06-02move random bytes buffer to be part of mmaped pages; ok tedu@Otto Moerbeek
2014-05-26move all stats collecting under MALLOC_STATS; ok krw@Otto Moerbeek
2014-05-21fix MALLOC_STATS (not compiled in by default); ok tedu@Otto Moerbeek
2014-05-18factor out a bit of the chunk index code and use it to make sure that aTed Unangst
2014-05-14stop flushing streams in abort(). it's hackish and unsafe, and no longerTed Unangst
2014-05-12change to having four freelists per size, to reduce another source ofTed Unangst
2014-05-10fix MALLOC_STATS code that was broken in rev 1.159, not compiled in by defaultOtto Moerbeek
2014-05-08move reallocarray() to a seperate file so that -portable applicationsTheo de Raadt
2014-05-07comment style fixAlexander Hall
2014-05-01tweak previous; ok sthenJason McIntyre
2014-05-01nibbles aren't enough random, use bytes. does a better job of pickingTed Unangst
2014-04-30first cut at documenting the change to malloc doing a partial 'junk' byStuart Henderson
2014-04-23remove Z option and default to something halfway to J.Ted Unangst
2014-04-23explain a bit more what's going on for stupid me.Marc Espie
2014-04-23Better, cleaner hash function that computes the same on be and le archs.Otto Moerbeek
2014-04-22- one more mallocarray -> reallocarrayJason McIntyre
2014-04-22change mallocarray to reallocarray. useful in a few more situations.Ted Unangst
2014-04-21correct man page sectionTheo de Raadt
2014-04-21Introducing: void *mallocarray(size_t nmemb, size_t size);Theo de Raadt
2014-04-21Correctly document the return value of getenv(3)Philip Guenther
2014-04-14print pid in error messages; ok reyk@Otto Moerbeek
2014-04-07Add some missing names to the NAME sections.Ingo Schwarze
2014-04-03Update Copyright notice; ok otto@ beck@ deraadt@.Ingo Schwarze
2014-03-25Poul-Henning Kamp informed me he is allright with this licensing change.Bob Beck
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
2014-03-16lint is dead (long live the lint!), so stop using it as a cpp conditionalPhilip Guenther
2014-01-21Ouch... recommend arc4random, not random.Theo de Raadt
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2014-01-20Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8).Ingo Schwarze
2014-01-19Usually, you don't want macros in the .Nd line, so remove instances of .TnIngo Schwarze
2014-01-19Punctuation after macro arguments needs to be in a separate argument.Ingo Schwarze
2013-12-28Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass theMark Kettenis
2013-11-12avoid arithetic on void *Theo de Raadt