aboutsummaryrefslogtreecommitdiff
path: root/car_product/sepolicy
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2018-05-22 13:00:21 -0700
committerHongwei Wang <hwwang@google.com>2018-05-22 13:00:21 -0700
commitb46ed29344af783bcc2544bd7198a95ac3f6d5b5 (patch)
treeca64b0b4464a450e9e60c48f6fa1a66b9a3da35a /car_product/sepolicy
parent8726539cd81d1489bada8c92ec694dcc0217c988 (diff)
downloadCar-b46ed29344af783bcc2544bd7198a95ac3f6d5b5.tar.gz
Fixes build breakage caused by sepolicy violation
Bug: 80141053 Test: lunch gcar_emu_x86-userdebug && m Change-Id: Ifb154fadd8544ea19b8064d6dcd81923525fcb94
Diffstat (limited to 'car_product/sepolicy')
-rw-r--r--car_product/sepolicy/private/carservice_app.te2
-rw-r--r--car_product/sepolicy/private/property.te1
-rw-r--r--car_product/sepolicy/private/property_contexts2
3 files changed, 2 insertions, 3 deletions
diff --git a/car_product/sepolicy/private/carservice_app.te b/car_product/sepolicy/private/carservice_app.te
index 247cd4da02..d02c377723 100644
--- a/car_product/sepolicy/private/carservice_app.te
+++ b/car_product/sepolicy/private/carservice_app.te
@@ -6,7 +6,7 @@ hal_client_domain(carservice_app, hal_audiocontrol)
hal_client_domain(carservice_app, hal_vehicle)
# Allow to set boot.car_service_created property
-set_prop(carservice_app, car_prop)
+set_prop(carservice_app, system_prop)
# Allow Car Service to register itself with ServiceManager
allow carservice_app carservice_service:service_manager add;
diff --git a/car_product/sepolicy/private/property.te b/car_product/sepolicy/private/property.te
deleted file mode 100644
index 409cbdc6f4..0000000000
--- a/car_product/sepolicy/private/property.te
+++ /dev/null
@@ -1 +0,0 @@
-type car_prop, property_type;
diff --git a/car_product/sepolicy/private/property_contexts b/car_product/sepolicy/private/property_contexts
index da14e3e084..dc6b0c5fb3 100644
--- a/car_product/sepolicy/private/property_contexts
+++ b/car_product/sepolicy/private/property_contexts
@@ -1 +1 @@
-boot.car_service_created u:object_r:car_prop:s0
+boot.car_service_created u:object_r:system_prop:s0