From 2e8cebe6e7c13071375981d4fa3df6e4018faccc Mon Sep 17 00:00:00 2001
From: Dan Cashman <dcashman@google.com>
Date: Wed, 5 Jul 2017 09:41:49 -0700
Subject: [PATCH] Add compat changes for tracing_shell_writable removal.

Commits 7fa51593c890d01472f7545968d24377626bf32f and
92fdd8954f80ef1a269f703b377ff827a43623a2 removed the
tracing_shell_writable and tracing_shell_writable_debug types, and
relabeled the files with debugfs_tracing and debugfs_tracing_debug,
respectively.  Record this in the compatibility file so that vendor
policy using these types will still work.

Bug: 62573845
Test: None. Prebuilt change only.
Change-Id: Ic6573518035514a86abe2081483431427612699e
---
 prebuilts/api/26.0/26.0.cil | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/prebuilts/api/26.0/26.0.cil b/prebuilts/api/26.0/26.0.cil
index bd501805a..84d11562b 100644
--- a/prebuilts/api/26.0/26.0.cil
+++ b/prebuilts/api/26.0/26.0.cil
@@ -4,6 +4,8 @@
 ;; types removed from current policy
 (type asan_reboot_prop)
 (type log_device)
+(type tracing_shell_writable)
+(type tracing_shell_writable_debug)
 
 (typeattributeset accessibility_service_26_0 (accessibility_service))
 (typeattributeset account_service_26_0 (account_service))
@@ -604,8 +606,8 @@
 (typeattributeset tombstoned_intercept_socket_26_0 (tombstoned_intercept_socket))
 (typeattributeset toolbox_26_0 (toolbox))
 (typeattributeset toolbox_exec_26_0 (toolbox_exec))
-(typeattributeset tracing_shell_writable_26_0 (tracing_shell_writable))
-(typeattributeset tracing_shell_writable_debug_26_0 (tracing_shell_writable_debug))
+(typeattributeset tracing_shell_writable_26_0 (debugfs_tracing tracing_shell_writable))
+(typeattributeset tracing_shell_writable_debug_26_0 (debugfs_tracing_debug tracing_shell_writable_debug))
 (typeattributeset trust_service_26_0 (trust_service))
 (typeattributeset tty_device_26_0 (tty_device))
 (typeattributeset tun_device_26_0 (tun_device))
-- 
GitLab