summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2018-12-12 19:11:58 +0100
committerLuK1337 <priv.luk@gmail.com>2018-12-12 19:25:24 +0100
commit43bd3a57856bbc54614a282b4fbd535c887ecdce (patch)
tree0fc2f9f3dbe5f47c3e19a3444a82889c7124e0b6
parentbde2f18522540d54d3ce19858f4a670e06bd24e8 (diff)
kirin970-common: sepolicy: Allow hal_nfc to read /data/cust symlink
Change-Id: Ie4042ea00e92ce51e125dead94fa75c175a1a976
-rw-r--r--sepolicy/private/hal_nfc.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/private/hal_nfc.te b/sepolicy/private/hal_nfc.te
new file mode 100644
index 0000000..61521ac
--- /dev/null
+++ b/sepolicy/private/hal_nfc.te
@@ -0,0 +1,2 @@
+# Allow hal_nfc to read /data/cust symlink
+allow hal_nfc system_data_file:lnk_file { getattr read };