android_device_samsung_msm8.../sepolicy/common/seapp_contexts
Wang Han b9a1d97191
msm8974-common: Switch to TimeKeep
* SE policies are imported and modified from
   https://github.com/sonyxperiadev/device-sony-sepolicy.
   Modifications are needed because qcom legacy policy
   contains conflicting labels and rules.

Change-Id: Id04a824dea69976f6fc9d48bef77859cc82971ed
2020-09-07 05:28:51 -06:00

9 lines
672 B
Plaintext

user=system seinfo=platform name=com.sony.timekeep domain=timekeep_app type=app_data_file
# Why app_data_file and not system_app_data_file?
# Because some daemon needs access to /data/data/com.sony.{timekeep,qcrilam}
# This happens with system_app_data_file:
# ContextImpl: Failed to ensure /data/user/0/com.sony.qcrilam/cache: mkdir failed: EACCES (Permission denied)
# ContextImpl: Failed to update user.inode_cache: stat failed: EACCES (Permission denied)
# ContextImpl: Failed to ensure /data/user_de/0/com.sony.qcrilam/code_cache: mkdir failed: EACCES (Permission denied)
# ContextImpl: Failed to update user.inode_code_cache: stat failed: EACCES (Permission denied)