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
This commit is contained in:
Mitch Phillips
2019-09-10 17:58:17 -07:00
parent bbdd5e32fd
commit 7f3cdad0f1

View File

@@ -45,6 +45,7 @@ madvise: 1
getdents64: 1
clock_gettime: 1
getpid: 1
gettid: 1
# used during process crash by crash_dump to dump process info
rt_sigprocmask: 1