From 4e59f9be6e0249d4288a58c33447bf73db2a7b62 Mon Sep 17 00:00:00 2001 From: Randall Huang Date: Mon, 13 Feb 2023 16:27:33 +0800 Subject: [PATCH] storage: fix vold selinux error Bug: 264483567 Test: boot to home Change-Id: I015cf889fb84d6029aa1eb492949553f3ab528a9 Signed-off-by: Randall Huang --- storage/sepolicy/vold.te | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 storage/sepolicy/vold.te diff --git a/storage/sepolicy/vold.te b/storage/sepolicy/vold.te new file mode 100644 index 0000000..1d743b5 --- /dev/null +++ b/storage/sepolicy/vold.te @@ -0,0 +1,4 @@ +allow vold sysfs_scsi_devices_0000:file rw_file_perms; + +dontaudit vold dumpstate:fifo_file rw_file_perms; +dontaudit vold dumpstate:fd use ;