commit 8f93c21dce12bb1479cb55174c3052f58a633b38 Author: Aayush Gupta Date: Wed Sep 9 11:47:36 2020 +0000 Initial commit Signed-off-by: Aayush Gupta 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