haiku/headers/posix
Michael Lotz 158e20e60e malloc_debug: Implement alloc/free stack traces in guarded heap.
When configured to do so (using heap_debug_set_stack_trace_depth(depth)
or MALLOC_DEBUG=s<depth>) the guarded heap now captures stack traces on
alloc and free.

A crash due to hitting a guard page or an already freed page now dumps
these stack traces. In the case of use-after-free one can therefore see
both where the allocation was done and where it was freed.

Note that there is a hardcoded maximum stack trace depth of 50 and that
the alloc stack trace takes away space from the free stack trace which
uses up the rest of that maximum.
2015-04-10 16:28:42 +02:00
..
arch ARM: remove #warning from public header file 2013-10-28 22:04:00 +01:00
arpa
compat/sys
net add a constant for 10G base T ethernet. 2013-09-17 14:40:21 +02:00
netinet Revert unrelated part of 17aa359b5d. 2014-07-11 22:23:21 +02:00
netinet6
sys x86_64: fenv.c needs __weak_reference() 2015-03-27 20:16:57 +01:00
alloca.h
assert.h
bsd_mem.h
ctype.h
dirent.h
div_t.h
dlfcn.h
endian.h
errno.h
fcntl.h
fenv.h
fnmatch.h
fts.h Restore FTS_WHITEOUT, guard it with __HAIKU__. 2013-01-11 00:26:48 +01:00
ftw.h Add Haiku support. 2013-01-11 00:26:48 +01:00
getopt.h
glob.h
grp.h
inttypes.h Whitespace cleanup only. 2015-04-04 22:55:56 +02:00
iovec.h
langinfo.h <langinfo.h>/<select.h>: don't use C++ comments 2013-06-12 14:55:16 +02:00
libgen.h
libio.h
limits.h posix: Update PTHREAD_STACK_MIN to match MIN_USER_STACK_SIZE 2013-09-17 14:42:04 +02:00
locale.h
malloc_debug.h malloc_debug: Implement alloc/free stack traces in guarded heap. 2015-04-10 16:28:42 +02:00
malloc.h
math.h Add missing definitions to math.h 2013-10-01 19:48:51 +02:00
memory.h
monetary.h
netdb.h
nl_types.h
null.h
poll.h
pthread.h
pwd.h
regex.h
resolv.h <resolv.h>: Make self-contained 2013-06-11 15:23:18 +02:00
sched.h
search.h search.h: fix typo. 2014-06-07 10:54:15 +02:00
semaphore.h
setjmp.h
shadow.h
signal.h Revert "Add sys/ucontext.h" 2014-08-09 20:18:05 +02:00
size_t.h
stdint.h stdint.h: use correct type for INT64_MAX (#11647) 2014-12-20 10:06:21 +01:00
stdio_ext.h
stdio_post.h
stdio_pre.h
stdio.h stdio.h: add missing typedefs 2014-11-19 15:45:17 +01:00
stdlib.h Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h 2014-12-14 18:06:09 +01:00
string.h string.h: include strings.h for compatibility. 2014-10-30 00:20:13 +01:00
strings.h include strings.h where appriopriate... 2014-08-08 22:40:37 +02:00
syslog.h
tar.h added tar.h posix header. 2014-04-26 11:09:24 +02:00
termios.h Add TIOCM_CAR as a synonym for TIOCM_CD 2014-11-09 02:28:06 +01:00
time.h
unistd.h mknod[at](): moves from unistd.h to sys/stat.h 2014-08-04 19:03:08 +02:00
utime.h
wchar_t.h
wchar.h Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h 2014-12-14 18:06:09 +01:00
wctype.h