Bug 920372 - Allow tgkill only for threads of the calling process itself. r=kang

This commit is contained in:
Jed Davis 2014-05-20 18:38:06 -07:00
parent ebb89f61f4
commit f6ffcab30d

View File

@ -209,7 +209,7 @@ SandboxFilterImpl::Build() {
// Used by profiler. Also used for raise(), which causes problems
// with Android KitKat abort(); see bug 1004832.
Allow(SYSCALL(tgkill));
Allow(SYSCALL_WITH_ARG(tgkill, 0, getpid()));
/* B2G specific low-frequency syscalls */
#ifdef MOZ_WIDGET_GONK