Allow private apps to report offbody events.

Bug: b/183564407
Test: selinux error is gone.
Ignore-AOSP-First: AOSP change aosp/1973028 has merge conflict. This
change manually merges it to internal gerrit.

Change-Id: If40c2883edd39bee8e49e8e958eb12e9b29a0fe0
This commit is contained in:
Josh Yang 2022-02-04 10:49:30 -08:00
parent a068287a1e
commit 9aeba4f661

View file

@ -285,3 +285,6 @@ neverallow priv_app *:{
bluetooth_socket iucv_socket rxrpc_socket isdn_socket phonet_socket ieee802154_socket caif_socket bluetooth_socket iucv_socket rxrpc_socket isdn_socket phonet_socket ieee802154_socket caif_socket
alg_socket nfc_socket kcm_socket qipcrtr_socket smc_socket xdp_socket alg_socket nfc_socket kcm_socket qipcrtr_socket smc_socket xdp_socket
} *; } *;
# Allow priv apps to report off body events to keystore2.
allow priv_app keystore:keystore2 report_off_body;