aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy/sepolicy.mk
diff options
context:
space:
mode:
authorWilliam Roberts <wroberts@tresys.com>2013-08-15 13:08:41 -0700
committerWilliam Roberts <wroberts@tresys.com>2013-08-15 13:08:41 -0700
commit754bef5027332736d8fdbe451201c3d9396b7c56 (patch)
treeea71b00517a00ee600c94806ba98da1cfb426e06 /sepolicy/sepolicy.mk
parentab97793b76a0a57a63a2045be442acfdbf3215a1 (diff)
downloadvendor_replicant-754bef5027332736d8fdbe451201c3d9396b7c56.tar.gz
vendor_replicant-754bef5027332736d8fdbe451201c3d9396b7c56.tar.bz2
vendor_replicant-754bef5027332736d8fdbe451201c3d9396b7c56.zip
sepolicy: Start CM Common sepolicy
Rather than having to maintain out of tree changes, it is often easier to maintain a hiearchy of changes, starting with the vendors common config file. From there, inheriting products can pick up a base and start to add or remove certain bits from it, making use of the BOARD_SEPOLICY_* functions documented in external/sepolicy/README. Change-Id: I28a4aaf6c126535f0a88001582641b234a750015
Diffstat (limited to 'sepolicy/sepolicy.mk')
-rw-r--r--sepolicy/sepolicy.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/sepolicy/sepolicy.mk b/sepolicy/sepolicy.mk
new file mode 100644
index 00000000..2defe789
--- /dev/null
+++ b/sepolicy/sepolicy.mk
@@ -0,0 +1,10 @@
+#
+# This policy configuration will be used by all products that
+# inherit from CM
+#
+
+BOARD_SEPOLICY_DIRS := \
+ vendor/cm/sepolicy
+
+BOARD_SEPOLICY_UNION := \
+ mac_permissions.xml