OSDN Git Service

Expand Seccomp whitelist
authorPaul Lawrence <paullawrence@google.com>
Fri, 23 Jun 2017 15:10:18 +0000 (08:10 -0700)
committerPaul Lawrence <paullawrence@google.com>
Fri, 23 Jun 2017 18:50:00 +0000 (18:50 +0000)
commitc0c56ec7ceb953b275d8f1772f9276e72eb693ea
treeefd304b34fc28d62355227b9bf097c0f8e5f7f23
parentd87e5aa769c7ff22d7301ef4a29db3c04d61c0cc
Expand Seccomp whitelist

This seccomp failure is in the fault handler:

05-25 12:03:25.042 10201 27425 27425 F DEBUG   : backtrace:
05-25 12:03:25.042 10201 27425 27425 F DEBUG   :     #00 pc 00015380
/data/data/redacted/files/storage/lib/libcrashsdk.so

So whenever an app using this crash sdk crashes it looks like a seccomp
problem.  Fixing this won't stop the apps crashing, but will make the
crash reports accurate and useful.

So yes, the bug below is already fixed, but this issue has come back 2
or 3 times with different apps (b/62090571, b/62874867). This change
doesn't fix that crash either, but again it improves the reporting.

Bug: 62947697
Test: Device boots, app still fails but no longer with SECCOMP error
Change-Id: Ie0f8dc965001c8bc43f6a545b35bdcd38f006213
libc/SECCOMP_WHITELIST.TXT
libc/seccomp/arm_policy.cpp
libc/seccomp/mips_policy.cpp
libc/seccomp/x86_policy.cpp