Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unnecessary casts of 'a' to char * since 'a' is already char *. | millert | 2017-01-04 | 1 | -10/+10 |
| | | | | | This is a remnant from the original 4.4BSD code that had 'a' as void * in the function args. No binary change. OK bluhm@ | ||||
* | MALLOC_STATS tweaks, by default not compiled in | otto | 2016-11-04 | 1 | -13/+29 |
| | |||||
* | small tweak to also check canaries if F is in effect | otto | 2016-11-03 | 1 | -3/+5 |
| | |||||
* | remove some old option letters and also make P non-settable. It has | otto | 2016-10-31 | 1 | -24/+6 |
| | | | | | been the default for ages, and I see no valid reason to be able to disable it. ok natano@ | ||||
* | Pages in the malloc cache are either reused quickly or unmapped | otto | 2016-10-28 | 1 | -14/+1 |
| | | | | | | quickly. In both cases it does not make sense to set hints on them. So remove that option, which is just a remainder of old times when malloc used to hold on to pages. ok stefan@ | ||||
* | $OpenBSD$ | tb | 2016-10-22 | 3 | -0/+3 |
| | |||||
* | - fix MALLOC_STATS compile | otto | 2016-10-22 | 1 | -3/+6 |
| | | | | - redundant cast is redundant | ||||
* | fix some void * arithmetic by casting | otto | 2016-10-21 | 1 | -4/+4 |
| | |||||
* | and recommit with fixed GC | otto | 2016-10-21 | 1 | -103/+112 |
| | |||||
* | backout for now; flag combination GC is not ok | otto | 2016-10-20 | 1 | -110/+103 |
| | |||||
* | avoid sentence splicing; | jmc | 2016-10-20 | 1 | -2/+2 |
| | |||||
* | canary corruption message changed a bit | otto | 2016-10-20 | 1 | -5/+5 |
| | |||||
* | Also place canaries in > page sized objects (if C is in effect); ok tb@ | otto | 2016-10-20 | 1 | -103/+110 |
| | |||||
* | Wrap _malloc_init() so internal calls go directly | guenther | 2016-10-15 | 1 | -1/+2 |
| | | | | | prodded by otto@ ok kettenis@ otto@ | ||||
* | 0xd0 -> 0xdb; ok deraadt@ millert@ tedu@ | otto | 2016-10-14 | 1 | -3/+3 |
| | |||||
* | optimize canary code a bit by storing offset of sizes table instead of | otto | 2016-10-12 | 1 | -5/+7 |
| | | | | recomputing it all the time | ||||
* | make clear the length printed is the requested length | otto | 2016-10-08 | 1 | -3/+3 |
| | |||||
* | grammar fix previous; | jmc | 2016-10-07 | 1 | -2/+2 |
| | |||||
* | document "chunk canary corrupted" error | otto | 2016-10-07 | 1 | -2/+7 |
| | |||||
* | stray tab | otto | 2016-10-07 | 1 | -2/+2 |
| | |||||
* | Beter implementation of chunk canaries: store size in chunk meta data | otto | 2016-10-07 | 1 | -61/+63 |
| | | | | instead of chunk itself; does not change actual allocated size; ok tedu@ | ||||
* | Delete casts to off_t and size_t that are implied by assignments | guenther | 2016-09-21 | 2 | -9/+9 |
| | | | | | | | or prototypes. Ditto for some of the char* and void* casts too. verified no change to instructions on ILP32 (i386) and LP64 (amd64) ok natano@ abluhm@ deraadt@ millert@ | ||||
* | move page junking tp unmap(), right before we stick the region in the cache; | otto | 2016-09-18 | 1 | -6/+6 |
| | | | | ok tedu@ | ||||
* | fix Dt; | jmc | 2016-09-04 | 1 | -2/+2 |
| | |||||
* | Set errno more consistently, and fix a warning, ok tedu | nicm | 2016-09-04 | 1 | -21/+29 |
| | |||||
* | rm | tedu | 2016-09-04 | 1 | -68/+0 |
| | |||||
* | oops, name file after main function | tedu | 2016-09-04 | 1 | -0/+68 |
| | |||||
* | it doesn't say anything yet, but start adding a man page | tedu | 2016-09-04 | 1 | -0/+68 |
| | |||||
* | Make the key sizes and offsets arrays const, ok tedu | nicm | 2016-09-04 | 1 | -2/+2 |
| | |||||
* | Less lock contention by using more pools for mult-threaded programs. | otto | 2016-09-01 | 1 | -85/+178 |
| | | | | tested by many (thanks!) ok tedu, guenther@ | ||||
* | black magic for sparc page size can go | tedu | 2016-09-01 | 1 | -4/+2 |
| | |||||
* | Don't call lstat() before readlink() just to see if it's a symlink, | guenther | 2016-08-28 | 1 | -14/+17 |
| | | | | | | as readlink() will tell you that more cheaply. ok millert@ | ||||
* | wrterror() is fatal, delete dead code; ok tom@ natano@ tedu@ | otto | 2016-08-17 | 1 | -61/+22 |
| | |||||
* | add a bit of spacing to previous, to keep the notes about deprecated | jmc | 2016-08-15 | 2 | -4/+6 |
| | | | | | | functions out the way of the main body; ok guenther | ||||
* | Reduce qabs() and qdiv() to aliases of llabs() and lldiv(). | guenther | 2016-08-14 | 12 | -228/+36 |
| | | | | | | Merge the manual pages and call them deprecated there. ok and manpage tweak jmc@, ok natano@ | ||||
* | J/j is a three valued option, document and fix code to actuall support that | otto | 2016-07-06 | 1 | -3/+5 |
| | | | | | with a little help from jmc@ for the man page bits ok jca@ and a reluctant tedu@ | ||||
* | adapt S option: add C, rm F (not relevant with 0 cache and disables | otto | 2016-06-30 | 1 | -3/+3 |
| | | | | chunk rnd), rm P: is default | ||||
* | Back out previous; otto saw a potential race that could lead to a | tb | 2016-06-28 | 1 | -32/+23 |
| | | | | | | double unmap and I experienced a much more unstable firefox. discussed with otto on icb | ||||
* | defer munmap to after unlocking malloc. this can (unfortunately) be an | tedu | 2016-06-27 | 1 | -23/+32 |
| | | | | | | | expensive syscall, and we don't want to tie up other threads. there's no need to hold the lock, so defer it to afterwards. from Michael McConville ok deraadt | ||||
* | Fix typo; the period should be outside the parens. From Michael McConville | millert | 2016-06-02 | 1 | -3/+3 |
| | |||||
* | The icdb magic number doesn't need to be visible to static links | guenther | 2016-05-30 | 1 | -2/+2 |
| | | | | ok tedu@ | ||||
* | Remove dead support for changing BDB hash algorithm and cache of alternatives | guenther | 2016-05-29 | 1 | -5/+4 |
| | | | | ok natano@ millert@ deraadt@ | ||||
* | Remove a vax remnant (that was really a no-op anyway). | millert | 2016-05-02 | 1 | -3/+1 |
| | |||||
* | Allow setenv(3) and putenv(3) to operate on a NULL environ pointer. | millert | 2016-04-25 | 1 | -11/+15 |
| | | | | | | The getenv(3) and unsetenv(3) functions already support this. This will make it easier to emulate the glibc clearenv() function in ports. Based on a diff from and OK jca@ | ||||
* | two times a define to an inline function, from Michael McConville; ok djm@ | otto | 2016-04-12 | 1 | -10/+19 |
| | |||||
* | tweak MALLOC_STATS printing (switched off by default), prodded by | otto | 2016-04-09 | 1 | -14/+14 |
| | | | | Michael McConville | ||||
* | redundant memset(3), from Michael McConville, ok armani@ | otto | 2016-04-09 | 1 | -2/+1 |
| | |||||
* | Prefer _MUTEX_*LOCK over _THREAD_PRIVATE_MUTEX_*LOCK() when thread-specific | guenther | 2016-04-05 | 1 | -4/+4 |
| | | | | | | data isn't necessary. ok mpi@, ok&tweak natano@ | ||||
* | Document ``use after free'' error message | otto | 2016-04-03 | 1 | -2/+4 |
| | |||||
* | for some time now mandoc has not required MLINKS to function | jmc | 2016-03-30 | 1 | -29/+1 |
| | | | | | | | | | | | | correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung |