From 44383394170db104878d4629397a1ef6b9ddec41 Mon Sep 17 00:00:00 2001 From: Tri Vo Date: Mon, 1 Oct 2018 14:31:59 -0700 Subject: [PATCH] Address TODOs in 28.0.cil mapping. Test: m selinux_policy Change-Id: I6a8ff2200c82b6ecdc1404bc7cf186f439950a30 --- private/compat/28.0/28.0.cil | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/private/compat/28.0/28.0.cil b/private/compat/28.0/28.0.cil index 18f5b01a1..6e82651a4 100644 --- a/private/compat/28.0/28.0.cil +++ b/private/compat/28.0/28.0.cil @@ -6,13 +6,9 @@ (type thermalcallback_hwservice) (type untrusted_v2_app) -;; TODO: remove once P sepolicy is pushed to AOSP. -(type vold_socket) -(typeattribute vold_socket_28_0) -(expandtypeattribute (vold_socket_28_0) true) -(typeattributeset vold_socket_28_0 (vold_socket)) - -;; TODO b/111680480: remove once we have consistent P sepolicy on all devices. +;; Public 28.0 SEPolicy is divergent on different devices w.r.t +;; exported_audio_prop type. We need this typeattribute declaration so that the +;; mapping file compiles with vendor policies without exported_audio_prop type. (typeattribute exported_audio_prop_28_0) (expandtypeattribute (accessibility_service_28_0) true)