aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects
diff options
context:
space:
mode:
authorGravatar Caolán McNamara <caolan@skynet.ie>2016-12-21 20:58:01 +0000
committerGravatar Mike Aizatsky <mike.aizatsky@gmail.com>2016-12-21 12:58:01 -0800
commitb57371a098f40634950b9a939ab3e58144a62a95 (patch)
tree905ce50c68a8f068e4ccdf1ddf0a76469653a9c9 /projects
parent274fb853aa73058677c727c92e3b0c2daae3fb2a (diff)
add SYS_PTRACE capability (#9 #212)
I'm finding that with e.g. python infra/helper.py build_fuzzers libpng all builds fail for me with... configure:3443: checking whether we are cross compiling configure:3451: clang -o conftest -g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters conftest.c >&5 configure:3455: $? = 0 configure:3462: ./conftest ==1014==LeakSanitizer has encountered a fatal error. ==1014==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 ==1014==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc) configure:3466: $? = 1 configure:3473: error: in `/src/libpng': configure:3475: error: cannot run C compiled programs. with the defaults of... CC=clang CXX=clang++ CFLAGS=-g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters CXXFLAGS=-g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters -stdlib=libc++ but adding --cap-add SYS_PTRACE makes it work
Diffstat (limited to 'projects')
0 files changed, 0 insertions, 0 deletions