Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-11 | Add locking for __cxa_finalize() as it modifies the page permissions of the | Mark Kettenis | |
__atexit tables and touches global variables. From Srinavasa Nagaraju through Android/Elliott Hughes. ok tedu@, guenther@ | |||
2014-07-11 | better document perils of setuid getenv and xr with issetugid | Ted Unangst | |
ok deraadt | |||
2014-07-10 | as noted by google/android via kettenis, atexit handlers can install new | Ted Unangst | |
handlers. if this happens, restart the loop. ok kettenis matthew millert miod | |||
2014-07-09 | reduce obvious dependency on global g_pool by moving to local aliases | Ted Unangst | |
ok otto | |||
2014-06-27 | extra evil spaces snuck in over the last while | Theo de Raadt | |
2014-06-27 | Move to a smaller rbytes buffer and skip a random part. Not to | Otto Moerbeek | |
improve the random stream itself (it doesn't), but to introduce noise in the arc4random calling pattern. Thanks to matthew@ who pointed out bias in a previous diff, ok deraadt@ matthew@ | |||
2014-06-18 | Always call atexit handlers as if they were registered with __cxa_atexit. | Mark Kettenis | |
The extra argument doesn't hurt genuine atexit handlers and this fixes a bug where we didn't provide the argument (effectively passing garbage) for functions registered with __cxa_atexit in the main executable. Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes <enh@google.com>. ok matthew@ | |||
2014-06-15 | oops, typo. James Hartley is fast at trying -current | Theo de Raadt | |
2014-06-15 | In srandomdev(), use arc4random_buf() instead of from the kernel. | Theo de Raadt | |
discussion with matthew | |||
2014-06-13 | use getentropy; from matthew | Theo de Raadt | |
2014-06-12 | Disable the "switch to insertion sort" optimization to avoid quadratic | Todd C. Miller | |
behavior for certain inputs. From NetBSD. OK tedu@ | |||
2014-06-02 | move random bytes buffer to be part of mmaped pages; ok tedu@ | Otto Moerbeek | |
2014-05-26 | move all stats collecting under MALLOC_STATS; ok krw@ | Otto Moerbeek | |
2014-05-21 | fix MALLOC_STATS (not compiled in by default); ok tedu@ | Otto Moerbeek | |
2014-05-18 | factor out a bit of the chunk index code and use it to make sure that a | Ted Unangst | |
freed chunk is actually freeable immediately. catch more errors. hints/ok otto | |||
2014-05-14 | stop flushing streams in abort(). it's hackish and unsafe, and no longer | Ted Unangst | |
required. try to document this fact and some of the history. with feedback from deraadt guenther millert | |||
2014-05-12 | change to having four freelists per size, to reduce another source of | Ted Unangst | |
deterministic behavior. four selected because it's more than three, less than five. i.e., no particular reason. | |||
2014-05-10 | fix MALLOC_STATS code that was broken in rev 1.159, not compiled in by default | Otto Moerbeek | |
2014-05-08 | move reallocarray() to a seperate file so that -portable applications | Theo de Raadt | |
can avoid reinventing the wheel ok guenther schwarze | |||
2014-05-07 | comment style fix | Alexander Hall | |
ok crickets@ | |||
2014-05-01 | tweak previous; ok sthen | Jason McIntyre | |
2014-05-01 | nibbles aren't enough random, use bytes. does a better job of picking | Ted Unangst | |
a free chunk at random and may allow to increase delayed chunk array. ok otto | |||
2014-04-30 | first cut at documenting the change to malloc doing a partial 'junk' by | Stuart Henderson | |
default and the new 'j' option to disable this; ok jmc@ | |||
2014-04-23 | remove Z option and default to something halfway to J. | Ted Unangst | |
we always junk small chunks now, and the first part of pages, but only after free. J still does the old thing. j disables everything. Consider experimental as we evaluate performance in the real world. ok otto | |||
2014-04-23 | explain a bit more what's going on for stupid me. | Marc Espie | |
okay otto@ | |||
2014-04-23 | Better, cleaner hash function that computes the same on be and le archs. | Otto Moerbeek | |
Should improve sparc64 and other be archs. ok matthew@ miod@ | |||
2014-04-22 | - one more mallocarray -> reallocarray | Jason McIntyre | |
- use <> | |||
2014-04-22 | change mallocarray to reallocarray. useful in a few more situations. | Ted Unangst | |
malloc can, as always, be emulated via realloc(NULL). ok deraadt | |||
2014-04-21 | correct man page section | Theo de Raadt | |
2014-04-21 | Introducing: void *mallocarray(size_t nmemb, size_t size); | Theo de Raadt | |
Like calloc(), except without the cleared-memory gaurantee ok beck guenther, discussed for more than a year... | |||
2014-04-21 | Correctly document the return value of getenv(3) | Philip Guenther | |
From Ben Cornett (ben (at) lantern.is) | |||
2014-04-14 | print pid in error messages; ok reyk@ | Otto Moerbeek | |
2014-04-07 | Add some missing names to the NAME sections. | Ingo Schwarze | |
For inet(3), go the other way, remove some bogus symlinks. Found while testing the new makewhatis(8). ok jmc@ | |||
2014-04-03 | Update Copyright notice; ok otto@ beck@ deraadt@. | Ingo Schwarze | |
This is merely a by-product of figuring out the amount of phk@ code contained herein; i'm not planning to hack on this file. | |||
2014-03-25 | Poul-Henning Kamp informed me he is allright with this licensing change. | Bob Beck | |
2014-03-18 | Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping | Miod Vallat | |
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish. | |||
2014-03-16 | lint is dead (long live the lint!), so stop using it as a cpp conditional | Philip Guenther | |
(namespace pollution!) or talking about its opinion on code. ok krw@ | |||
2014-01-21 | Ouch... recommend arc4random, not random. | Theo de Raadt | |
spotted by tedu | |||
2014-01-21 | obvious .Pa fixes; found with mandocdb(8) | Ingo Schwarze | |
2014-01-20 | Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8). | Ingo Schwarze | |
2014-01-19 | Usually, you don't want macros in the .Nd line, so remove instances of .Tn | Ingo Schwarze | |
marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET). While here, remove .Tn markup from the same words in the body of these pages, too. | |||
2014-01-19 | Punctuation after macro arguments needs to be in a separate argument. | Ingo Schwarze | |
Found while testing mandocdb(8). | |||
2013-12-28 | Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass the | Mark Kettenis | |
right __dso_handle and have dlopen'ed shared objects run their atexit handlers when they get unloaded. This is what Linux does, and several ports depend on this behaviour (and will crash upon exit without this chang). Based on an earlier diff from matthew@ Tested by ajacoutot@ ok deraadt@ | |||
2013-11-12 | avoid arithetic on void * | Theo de Raadt | |
ok guenther otto | |||
2013-11-01 | Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directly | Philip Guenther | |
ok deraadt@ | |||
2013-08-14 | no longer any need to quote macro lines with >9 args; | Jason McIntyre | |
From: Jan Stary | |||
2013-08-01 | Add linker warnings for rand() and random() and various related functions. | Mark Kettenis | |
ok deraadt@ | |||
2013-07-18 | HISTORY; tweaks and ok sobrado@ jmc@ | Ingo Schwarze | |
2013-07-17 | more library history | Ingo Schwarze | |
facts checked by sobrado@ style tweaks and ok jmc@ | |||
2013-06-08 | Fix parsing of ambiguous options, the whole loop must be processed. | Todd C. Miller | |
From FreeBSD. OK miod@ |