commit | 7f3cdad0f177e4ec0d76be89e352f1774d5e5559 | [log] [tgz] |
---|---|---|
author | Mitch Phillips <mitchp@google.com> | Tue Sep 10 17:58:17 2019 -0700 |
committer | Mitch Phillips <mitchp@google.com> | Wed Nov 13 10:45:12 2019 -0800 |
tree | 19e44b4a5c0f3b44fde83e28e556665c850eb932 | |
parent | bbdd5e32fd5a5d6e8b13c8f2a0c12e02ea037953 [diff] |
Add gettid() to SELinux policy in prep for GWP-ASan. GWP-ASan is a sampled allocator framework that is planned for rollout in Android R. It instruments the bionic allocator, and requires gettid() during its initialisation. Ensure that we can call gettid() from configstore. Bug: 135634846 Test: N/A Change-Id: I4a92c989ffde9051831e858e805fc20ae993dc01
diff --git a/configstore/1.1/default/seccomp_policy/configstore@1.1-arm64.policy b/configstore/1.1/default/seccomp_policy/configstore@1.1-arm64.policy index 937fddd..a609620 100644 --- a/configstore/1.1/default/seccomp_policy/configstore@1.1-arm64.policy +++ b/configstore/1.1/default/seccomp_policy/configstore@1.1-arm64.policy
@@ -45,6 +45,7 @@ getdents64: 1 clock_gettime: 1 getpid: 1 +gettid: 1 # used during process crash by crash_dump to dump process info rt_sigprocmask: 1