From 35102f584b81e2c38073863a368cd3209cf0a4c8 Mon Sep 17 00:00:00 2001 From: Stephen Smalley <sds@tycho.nsa.gov> Date: Mon, 24 Feb 2014 11:29:11 -0500 Subject: [PATCH] Drop rules for /data/misc/adb legacy type. This should be obsoleted by the restorecon in I30e4d2a1ae223a03eadee58a883c79932fff59fe . Change-Id: Iaeacb1b720b4ac754c6b9baa114535adc1494df2 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> --- adbd.te | 4 ---- 1 file changed, 4 deletions(-) diff --git a/adbd.te b/adbd.te index 28fa5e5e0..27a497ea8 100644 --- a/adbd.te +++ b/adbd.te @@ -58,10 +58,6 @@ binder_call(adbd, surfaceflinger) allow adbd adb_keys_file:dir search; allow adbd adb_keys_file:file r_file_perms; -# Allow access in case /data/misc/adb still has the old type. -allow adbd system_data_file:dir search; -allow adbd system_data_file:file r_file_perms; - # ndk-gdb invokes adb forward to forward the gdbserver socket. allow adbd app_data_file:dir search; allow adbd app_data_file:sock_file write; -- GitLab