summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandall Huang <huangrandall@google.com>2023-04-18 10:49:17 +0800
committerRandall Huang <huangrandall@google.com>2023-04-18 11:54:00 +0800
commitacb759c0dec4b031494b8d4659f6f85d94fb0793 (patch)
tree555b8096b6b825831df36abf91ca6c0776593e6f
parent73c90954e6443843a4b16292981dc921b066dccc (diff)
downloadpixel-sepolicy-acb759c0dec4b031494b8d4659f6f85d94fb0793.tar.gz
storage: deprecate this folder
Bug: 264001741 Test: build Change-Id: I9a489a3ef0a67deeac3b1aa268a14000d27c5537 Signed-off-by: Randall Huang <huangrandall@google.com>
-rw-r--r--storage/file.te1
-rw-r--r--storage/genfs_contexts2
-rw-r--r--storage/shell.te6
-rw-r--r--storage/vold.te6
4 files changed, 0 insertions, 15 deletions
diff --git a/storage/file.te b/storage/file.te
deleted file mode 100644
index ba7f362..0000000
--- a/storage/file.te
+++ /dev/null
@@ -1 +0,0 @@
-type debugfs_lpm, debugfs_type, fs_type;
diff --git a/storage/genfs_contexts b/storage/genfs_contexts
deleted file mode 100644
index 2f0b5bb..0000000
--- a/storage/genfs_contexts
+++ /dev/null
@@ -1,2 +0,0 @@
-genfscon debugfs /lpm_stats/stats u:object_r:debugfs_lpm:s0
-genfscon sysfs /devices/platform/soc/1d84000.ufshc/power u:object_r:sysfs_scsi_devices_0000:s0
diff --git a/storage/shell.te b/storage/shell.te
deleted file mode 100644
index d8145f1..0000000
--- a/storage/shell.te
+++ /dev/null
@@ -1,6 +0,0 @@
-userdebug_or_eng(`
- allow shell debugfs_lpm:file r_file_perms;
- allow shell sysfs_scsi_devices_0000:file r_file_perms;
- allow shell sysfs_mmc:dir r_dir_perms;
-')
-
diff --git a/storage/vold.te b/storage/vold.te
deleted file mode 100644
index 46eea34..0000000
--- a/storage/vold.te
+++ /dev/null
@@ -1,6 +0,0 @@
-allow vold sysfs_scsi_devices_0000:file rw_file_perms;
-allow vold modem_efs_file:dir rw_dir_perms;
-allow vold modem_userdata_file:dir rw_dir_perms;
-
-dontaudit vold dumpstate:fifo_file rw_file_perms;
-dontaudit vold dumpstate:fd use ;