Allow priv-app to report off body events to keystore.

Bug: 183564407
Test: the selinux error is gone.
Change-Id: I6783528a0ca6c94781b6c12d96ffebbfe8b25594
Merged-In: If40c2883edd39bee8e49e8e958eb12e9b29a0fe0
This commit is contained in:
Josh Yang 2022-02-04 14:15:50 -08:00
parent b289dc4d1d
commit 8be76c8e5c

View file

@ -269,3 +269,6 @@ neverallow priv_app app_data_file:file no_x_file_perms;
# Do not follow untrusted app provided symlinks
neverallow priv_app app_data_file:lnk_file { open read getattr };
# Allow reporting off body events to keystore.
allow priv_app keystore:keystore2 report_off_body;