diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2014-08-19 17:34:27 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2014-08-19 22:25:45 +0800 |
commit | bb97e40807051950e09c22bae186777aeadcb3f7 (patch) | |
tree | 9e254541fbdb566f7368c770c7b7881185ed497d | |
parent | fd04a7dbf1c67e1fcab7ca657ad8c4438c7e1ec9 (diff) | |
download | fvp-armv8-bb97e40807051950e09c22bae186777aeadcb3f7.tar.gz |
BoardConfig.mk: changes for running selinux on LAVA
1. include sepolicy to fix warnings on console
2. make dns_eth0 service run as shell domain
Change-Id: I3eac2122d3fcc7a61a0893fcd7cdbcac64c9d01e
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | BoardConfig.mk | 2 | ||||
-rwxr-xr-x | init.fvpbase.rc | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 68a0330..76a1343 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -62,4 +62,6 @@ BOARD_SEPOLICY_DIRS += device/linaro/common/sepolicy BOARD_SEPOLICY_UNION += \ netd.te \ shell.te \ + init_shell.te \ + mediaserver.te \ surfaceflinger.te diff --git a/init.fvpbase.rc b/init.fvpbase.rc index 87b1f09..992e6da 100755 --- a/init.fvpbase.rc +++ b/init.fvpbase.rc @@ -95,3 +95,4 @@ service dns_eth0 /system/bin/sh /system/bin/svc netd setdefaultifdns eth0 8.8.8. group root disabled oneshot + seclabel u:r:shell:s0 |