Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-02 | Add a new malloc option 'U' => "Free unmap" that does the guarding/ | Damien Miller | |
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. | |||
2011-07-22 | Show (in the example) that < and > can be used multiple times; ok jmc@ | Otto Moerbeek | |
jasper@ | |||
2011-07-21 | - add a MALLOC_OPTIONS section header. the content is already there, but having | Jasper Lievisse Adriaanse | |
a section will help people looking for just the MALLOC_OPTIONS. ok otto@ jmc@ | |||
2010-05-26 | oops - forgot to check for trailing whitespace; | Jason McIntyre | |
2010-05-26 | reword the 'D' dump bit to make it clear that the malloc.out file needs | Thordur I. Bjornsson | |
to exist before exit for malloc to dump stats in it. tweaks from jmc@ ok otto@,jmc@ | |||
2010-05-18 | add posix_madvise, posix_memalign, strndup, and strnlen. mostly from | Ted Unangst | |
brad and millert, with hints from guenther, jmc, and otto I think. ok previous. | |||
2010-01-25 | stucture -> structure; | Jason McIntyre | |
2010-01-13 | New options 'S', as a shorthand for the options most suitable as an | Otto Moerbeek | |
extra safeguard (FGJ). Idea from deraadt@; ok deraadt@ dlg@ | |||
2009-10-10 | rewrite the history section, prompted by Paul Stoeber; ok deraadt@ jmc@ | Otto Moerbeek | |
2009-02-13 | kill whitespace at eol; | Jason McIntyre | |
2009-02-13 | decribe 'F' better and mention flags are debugging aids; ok tedu@ jmc@ | Otto Moerbeek | |
2008-12-30 | Remove mprotecting of struct dir_info introduced in previous commit | Damien Miller | |
(MALLOC_OPTIONS=L). It was too slow to turn on by default, and we don't do optional security. requested by deraadt@ grumbling ok otto@ | |||
2008-12-29 | extra paranoia for malloc(3): | Damien Miller | |
Move all runtime options into a structure that is made read-only (via mprotect) after initialisation to protect against attacks that overwrite options to turn off malloc protections (e.g. use-after-free) Allocate the main bookkeeping data (struct dir_info) using mmap(), thereby giving it an unpredictable address. Place a PROT_NONE guard page on either side to further frustrate attacks on it. Add a new 'L' option that maps struct dir_info PROT_NONE except when in the allocator code itself. Makes attacks on it basically impossible. feedback tedu deraadt otto canacar ok otto | |||
2008-11-26 | Fix typo, okay jmc@. | Pedro Martelletto | |
2008-11-20 | move allocations between half a page and a page as close to the end of | Otto Moerbeek | |
the page as possible (i.e. make malloc option P a default). ok art@ millert@ krw@ | |||
2008-11-02 | fix markup of example line and description of G flag; partly from and | Otto Moerbeek | |
ok jmc@ | |||
2008-11-02 | remove distinction between warnings and errors, ok deraadt@ djm@ | Otto Moerbeek | |
2008-08-07 | small cleanup of error/warning strings | Otto Moerbeek | |
2008-07-28 | man page bits for new malloc; ok jmc@ | Otto Moerbeek | |
2008-05-20 | kill an Xr to a non-existent man page, ulimit(1); | Jason McIntyre | |
2008-05-19 | remove recalloc(3); it is buggy and impossible to repair without big | Otto Moerbeek | |
costs; ok jmc@ for the man page bits; ok millert@ deraadt@ | |||
2007-09-05 | no need to talk about bits; ok millert jmc | Theo de Raadt | |
2007-09-03 | Update free(3) section--we use mmap()/munmap(), not brk(). | Todd C. Miller | |
Based on a diff from Mike Belopuhov. OK jmc@ | |||
2007-09-03 | add recaloc(3) | Todd C. Miller | |
2007-08-08 | Clarify the example about avoiding overflow. OK ray@ deraadt@ | Todd C. Miller | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2006-06-06 | Fix 'double by a factor of two' and make cache options a bit more | Pedro Martelletto | |
descriptive while at it, input and okay jmc@ | |||
2006-04-02 | Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX and | Otto Moerbeek | |
remove redundant check on size. ok millert@ deraadt@ | |||
2006-03-26 | Add warning about malloc(num * size) and recommend calloc() instead, | Ray Lai | |
or if malloc must be used suggest check. Get rid of "one". OK deraadt@ and jmc@, OK kjell@ to earlier version with "one"s. | |||
2006-01-18 | missing auxillary verb | Jacob Meuser | |
"yes, that is correct." jmc@ (a while back) | |||
2005-07-26 | - typos, punctuation, layout, macro tweaks | Jared Yanovich | |
- break long lines ok jmc | |||
2005-06-07 | no need to insert spacing between list members; | Jason McIntyre | |
2005-06-07 | adding pointer protection to 'G' was too heavyweight. Since malloc guard | Ted Unangst | |
should be generally usable, split this out into option 'P'. ok deraadt | |||
2005-05-24 | add a note describing latest guard feature | Ted Unangst | |
2004-07-02 | kill dead .Xr to memory(3); | Jason McIntyre | |
from kjell@ | |||
2004-02-09 | punctuate variable; okay jmc@. | Marc Espie | |
2004-02-04 | H comes before J; | Jason McIntyre | |
2004-02-02 | 'F'reeguard doc, as reported missing by brad. nit free thanks to jmc | Ted Unangst | |
2003-11-25 | wording improvements from Brian Poole; | Jason McIntyre | |
kill a .Pp before a display; | |||
2003-10-16 | by popular demand, malloc guard pages. insert an unreadable/unwriteable | Ted Unangst | |
page after each page size allocation to detect overrun. this is somewhat electric fence like, while attempting to be mostly usable in production. also, use tdeval's chunk randomization code. enabled with the G option. ok deraadt and co. | |||
2003-09-26 | It is safe to pass free() a NULL pointer since C89; update example to | Todd C. Miller | |
this effect. OK deraadt@ pvalchev@ | |||
2003-09-25 | improve example even more | Theo de Raadt | |
2003-09-18 | expand on the realloc no-no section to include adjusting a length before | Ted Unangst | |
the allocation. ok deraadt@ markus@ | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-01 | - section reorder | Jason McIntyre | |
- merge COMPATIBILITY - kill whitespace at EOL | |||
2003-05-14 | Delete reference to /usr/share/doc/papers/malloc.ascii.gz as we do not | Kenneth R Westerback | |
have it. We don't even have the directory /usr/share/doc/papers. ok millert@. | |||
2003-01-21 | typos; | Jason McIntyre | |
ok deraadt@ | |||
2001-12-05 | document how malloc(0) blobbies are stored, and their character | Theo de Raadt | |
2001-11-05 | Comment out info on U (utrace) malloc option since we don't support it | Todd C. Miller | |
on OpenBSD. | |||
2001-10-30 | Grammar. Thanks markus@ | Thierry Deval | |