2040 Commits (855ec93ea13ee7db9a35178bef682e0d60d32b4d)

Author SHA1 Message Date
  jmc a53bba0f97 fold the contents of malloc.conf.5 into malloc.3 and sysctl.2, 5 years ago
  otto 1bb7064e52 Introducing malloc_usable_size() was a mistake. While some other 5 years ago
  deraadt cc1a839b83 Saw a mention somewhere a while back that the gotdata() function in 5 years ago
  guenther c0572c7336 Fix compilation on alpha, where DEF_WEAK() really must be paired with 5 years ago
  otto ed5636e718 Implement malloc_usable_size(); ok millert@ deraadt@ and jmc@ for the man page 5 years ago
  otto 0f57426e31 zap last remains of malloc.conf; prompted by and ok jmc@ 5 years ago
  otto d64a9a14b6 rm FILES section; prompted by Janne Johansson 5 years ago
  otto da41229758 Use the new vm.malloc_conf sysctl; ok millert@ deraadt@ 5 years ago
  otto e4341e950b Implement C11's aligned_alloc(3). ok guenther@ 5 years ago
  martijn 085b73b968 As per POSIX, when str{,r}chr is comparing it should convert c to a char. 5 years ago
  jmc c1931faa11 explicitly mention local processes; from geoff hill 5 years ago
  deraadt 68d7aa0670 delete volatile intended to silence whiny old compilers around vfork. 5 years ago
  djm 468ab01728 constrain fractional part to [0-9] (less confusing to static analysis); ok ian@ 6 years ago
  denis f814382efe Add a missing header when compiling with -DDEBUG 6 years ago
  otto dbc5faf4ac sys/uio.h is not used anymore 6 years ago
  otto 79b103c901 fix MALLOC_STATS; spotted by and ok semarie@ 6 years ago
  bcook becf8cef00 ensure SYS_getrandom and GRND_NONBLOCK are both defined before using getrandom(2) 6 years ago
  deraadt d6aeb76165 use _ALIGN() which is uhm a bit OpenBSD-specific, but it means we 6 years ago
  deraadt 02c2718077 Use _MAX_PAGE_SHIFT, rather than #ifdef mips64 6 years ago
  nicm 2c571a29e6 Fix function argument names, from Abel Abraham Camarillo Ojeda via jmc@. 6 years ago
  otto e06d7bccfa use consistent style for for loop in unmap(), no functional change 6 years ago
  otto be36452872 keep in sync with ld.so malloc.c 6 years ago
  jmc b78237bf7e word fix; from edgar pettijohn 6 years ago
  otto 22e454653c - An error in the multithreaded case could print the wrong function name 6 years ago
  otto fbdda17fd8 - do not junk pages returned by free_bytes(), all freed chunks are already 6 years ago
  otto d471572632 Zap the rotor, it was a wrong idea. Cluebat applied by kshe who 6 years ago
  otto a1c70a667c Move to ffs(3) for bitmask scanning. I played with this earlier, 6 years ago
  guenther 5c76f998f2 Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias 6 years ago
  deraadt 3bfb6d03b3 Adjust references for sysctl(3) to sysctl(2) 6 years ago
  otto bb8baa37e1 optimization and some cleanup; mostly from kshe (except the unmap() part) 6 years ago
  otto 58ab079478 Only init chunk_info once, plus some moving of code to group related functions. 6 years ago
  otto 28aa9f8c65 step one in avoiding unneccesary init of chunk_info; 6 years ago
  tedu 8b61b5765d memcpy from the right place. at this point, the used variable is not 6 years ago
  millert e1517c2cb0 Fix one possible buffer overflow and one underflow. Also some minor 6 years ago
  guenther ef03f4da40 Move __cxa_thread_atexit* to its own .c file to avoid pulling the code 6 years ago
  kettenis 0566b09422 Make a few internal symbols static and add a Symbols.map version script 6 years ago
  zhuk 8d93985924 It's the imsg_compose(3) who accepts 'fd' argument, not imsg_create(3). 6 years ago
  kettenis 29bb9a950c Remove DEF_STRONG(__cxa_thread_atexit_impl). This produces an unwanted 6 years ago
  kettenis 901caa2734 Implement __cxa_thread_atexit to support C++11 thread_local scope. The 6 years ago
  guenther 06875abb1a clang doesn't propagate attributes like "asm labels" and "visibility(hidden)" 6 years ago
  tb 3bd9248dcf GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections 6 years ago
  otto d5460018ef 's' should include 'f'; from Jacqueline Jolicoeur 6 years ago
  millert 97fa8ef41e Don't let close(2) clobber errno. Some calls were already protected 6 years ago
  jsing edffe314c0 Restore a return that was inadvertently removed from freezero() in r1.234, 6 years ago
  schwarze 7fd11d9f24 Add STANDARDS: denis@ spotted that it was missing. 6 years ago
  otto 437fad2669 do not return f() where f is a void function; loop var type fix 6 years ago
  otto 09620f7263 Use dprintf instead of snprintf/write 6 years ago
  otto 3b6bc929b8 Make delayed free non-optional and make F do an extensive double free check. 6 years ago
  otto 4a127addf3 mapalign returns MAP_FAILED for failuer; from George Koehler 6 years ago
  otto d1f95e32d7 check double free before canary for chunks; ok millert@ 6 years ago