summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2019-01-02 12:52:51 +0100
committerMartijn Coenen <maco@google.com>2019-01-19 09:09:30 +0100
commit0c6de75a45cb3e8fb191cccb7c93d31def4c486f (patch)
tree847bf2d74e79788dd620243b4bb1ca700929df8c /libc/malloc_debug/malloc_debug.cpp
parentf9d2299ee2c05477f72dd137f4abddb68b91d8b2 (diff)
genfunctosyscallnrs: maps bionic functions to syscall numbers.
Bionic maps typical C functions like setresuid() to a syscall, depending on the architecture used. This tool generates a .h file that maps all bionic functions in SYSCALLS.txt to the syscall number used on a particular architecture. It can then be used to generate correct seccomp policy at runtime. Example output in func_to_syscall_nrs.h: Bug: 111434506 Test: manually inspect func_to_syscall_nrs.h Change-Id: I8bc5c1cb17a2e7b5c534b2e0496411f2d419ad86
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions