summaryrefslogtreecommitdiff
path: root/libutils/include/utils/ProcessCallStack.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-01-23 17:06:14 -0800
committerColin Cross <ccross@android.com>2017-01-23 17:10:51 -0800
commit2e253cbcc6022ed1605f135e22b49f9e6620bf7f (patch)
tree5ebab3f7c95d4b70f3d9c7687a97f1de2326b437 /libutils/include/utils/ProcessCallStack.h
parent47afc6b64e150ad0e7ea004fc7049c84c21a0c34 (diff)
Allow tkill
tkill and tgkill are syscalls that do not have glibc wrappers, but they are required in order to send a signal to a specific thread. Non-android software may call them directly with syscall(). Bionic provides a wrapper for tgkill, so seccomp allows it, but not for tkill. Add tkill to the whitelist. This can be reproduced with: sleep 1000 & sleep 1 ; strace -p $! then hit ctrl-C, and the shell will print "Bad system call" because the strace process died with SIGSYS Bug: 34586922 Test: repro case is fixed Change-Id: Ib6962a967f2cc757f2906de7905e75e1b6d6f39f
Diffstat (limited to 'libutils/include/utils/ProcessCallStack.h')
0 files changed, 0 insertions, 0 deletions