From 5c57e7c2386e49bd8ded4fd482e61583159301b1 Mon Sep 17 00:00:00 2001
From: Nick Kralevich <nnk@google.com>
Date: Wed, 11 Nov 2015 16:46:25 -0800
Subject: [PATCH] zygote.te: Remove deprecated rules

f063f461a9e5b6049f3516e48806b6a87848ac1a marked several zygote.te
rules as "deprecated in M". Now that M is out the door, delete
the obsolete rules.

Change-Id: I7ff8abe8659bbcf7aa0b5c612ce3822a238df8ca
---
 zygote.te | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/zygote.te b/zygote.te
index 882ed802b..30ac4edc9 100644
--- a/zygote.te
+++ b/zygote.te
@@ -52,12 +52,8 @@ allow zygote proc_cpuinfo:file mounton;
 
 # Allow remounting rootfs as MS_SLAVE
 allow zygote rootfs:dir mounton;
-allow zygote sdcard_type:dir { write search setattr create add_name mounton }; # TODO: deprecated in M
-dontaudit zygote self:capability fsetid; # TODO: deprecated in M
-allow zygote tmpfs:dir { write create add_name setattr mounton search }; # TODO: deprecated in M
 allow zygote tmpfs:filesystem { mount unmount };
 allow zygote fuse:filesystem { unmount };
-allow zygote labeledfs:filesystem remount; # TODO: deprecated in M
 
 # Allowed to create user-specific storage source if started before vold
 allow zygote mnt_user_file:dir create_dir_perms;
-- 
GitLab