summaryrefslogtreecommitdiffstats
path: root/target/product/embedded.mk
diff options
context:
space:
mode:
authorRobert Craig <rpcraig@tycho.ncsc.mil>2014-03-20 09:48:27 -0400
committerRobert Craig <rpcraig@tycho.ncsc.mil>2014-04-28 22:05:54 +0000
commit65dad287166eadf2d42cd304caee77827de616ec (patch)
tree560772ccab820ae7135b183cef30a9e43b9604da /target/product/embedded.mk
parent7250b63a1a3e726aa83e2351b23f2d0c79903247 (diff)
downloadbuild-65dad287166eadf2d42cd304caee77827de616ec.zip
build-65dad287166eadf2d42cd304caee77827de616ec.tar.gz
build-65dad287166eadf2d42cd304caee77827de616ec.tar.bz2
Include selinux_version file with builds.
The selinux_version file is used to perform policy versioning checks by libselinux and SELinuxMMAC. When loading policy a check is first performed to determine if the policy out in /data/security/current should be used to override the base policy shipped with the device. The selinux_version file is used to make that choice. The contents of the file simply contains the BUILD_ID that the policy was built against. A simple string comparison is then performed by libselinux and SELinuxMMAC. Change-Id: I69d9d071743cfd46bb247c98f94a193396f8ebbd Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Diffstat (limited to 'target/product/embedded.mk')
-rw-r--r--target/product/embedded.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/product/embedded.mk b/target/product/embedded.mk
index 60a19da..963fa14 100644
--- a/target/product/embedded.mk
+++ b/target/product/embedded.mk
@@ -74,7 +74,8 @@ PRODUCT_PACKAGES += \
file_contexts \
seapp_contexts \
property_contexts \
- mac_permissions.xml
+ mac_permissions.xml \
+ selinux_version
PRODUCT_COPY_FILES += \