diff options
author | Chirayu Desai <chirayudesai1@gmail.com> | 2014-11-21 21:55:21 +0530 |
---|---|---|
committer | Chirayu Desai <chirayudesai1@gmail.com> | 2014-11-21 22:28:14 +0530 |
commit | b074f5b3b40c453d305f350d93b35a15e5b38c73 (patch) | |
tree | de090fa4142ae6fd436d1736a5c04ac287dd4293 | |
parent | 5a987b0bf2d1277f155ec10e3d4c566646caab72 (diff) |
Re-add family-specific SELinux policy
This partially reverts commit 21ae2255e1cd2e17a4b9e7766aa1f86eec2f18a6
Change-Id: Ic4e063ef166466843f2f0708c6531cf68c7074ef
-rw-r--r-- | BoardConfigCommon.mk | 8 | ||||
-rw-r--r-- | sepolicy/file_contexts | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 61419bc..414ad4e 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -102,6 +102,14 @@ MAX_EGL_CACHE_SIZE := 2048*1024 # Init TARGET_INIT_VENDOR_LIB := libinit_shinano +# SELinux +BOARD_SEPOLICY_DIRS += \ + device/sony/shinano-common/sepolicy + +# The list below is order dependent +BOARD_SEPOLICY_UNION := \ + file_contexts + # Wifi WPA_SUPPLICANT_VERSION := VER_0_8_X BOARD_WLAN_DEVICE := bcmdhd diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts new file mode 100644 index 0000000..b9b73f0 --- /dev/null +++ b/sepolicy/file_contexts @@ -0,0 +1,5 @@ +# NFC +/dev/pn547 u:object_r:nfc_device:s0 + +# Audio +/dev/tfa98xx u:object_r:audio_device:s0 |