From 8f93c21dce12bb1479cb55174c3052f58a633b38 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Wed, 9 Sep 2020 11:47:36 +0000 Subject: [PATCH] Initial commit Signed-off-by: Aayush Gupta --- Android.mk | 10 ++++++++++ README.md | 12 ++++++++++++ sepolicy.mk | 0 3 files changed, 22 insertions(+) create mode 100644 Android.mk create mode 100644 README.md create mode 100644 sepolicy.mk diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..7c0ea76 --- /dev/null +++ b/Android.mk @@ -0,0 +1,10 @@ +# Don't recurse into the platform makefiles. We don't care about them, and +# we don't want to force a reset of BOARD_SEPOLICY_DIRS +# +# If you want to use these policies, add a +# +# include device/mediatek/sepolicy/sepolicy.mk +# +# to your device's BoardConfig. It is highly recommended that in case +# you have your own BOARD_SEPOLICY_DIRS declaration, +# the inclusion happens _before_ those lines diff --git a/README.md b/README.md new file mode 100644 index 0000000..76ef650 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# SELinux policy for MediaTek devices + +Don't recurse into the platform makefiles. We don't care about them, and we +don't want to force a reset of `BOARD_SEPOLICY_DIRS`. + +If you want to use these policies, add a + + include device/mediatek/sepolicy/sepolicy.mk + +to your device's BoardConfig. It is highly recommended that in case you have +your own `BOARD_SEPOLICY_DIRS` declaration, the inclusion happens _before_ +those lines diff --git a/sepolicy.mk b/sepolicy.mk new file mode 100644 index 0000000..e69de29