[go: nahoru, domu]

Commonize pixelstats uevent sepolicies into pixel-specific sepolicy folder

Bug: 171793497
Test: Ensure there are no sepolicy violations for this device
Change-Id: Id84d05f4d587e060f40c30ec4384a1efba462c77
diff --git a/vendor/google/pixelstats_vendor.te b/vendor/google/pixelstats_vendor.te
index 08cedbf..4aba1be 100644
--- a/vendor/google/pixelstats_vendor.te
+++ b/vendor/google/pixelstats_vendor.te
@@ -20,11 +20,8 @@
 allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms;
 allow pixelstats_vendor sysfs_mmc:dir search;
 allow pixelstats_vendor sysfs_mmc:file rw_file_perms;
-allow pixelstats_vendor sysfs_batteryinfo:dir search;
-allow pixelstats_vendor sysfs_batteryinfo:file r_file_perms;
 allow pixelstats_vendor sysfs_pixelstats:dir search;
 allow pixelstats_vendor sysfs_pixelstats:file rw_file_perms;
-allow pixelstats_vendor self:netlink_kobject_uevent_socket { create getopt setopt bind read };
 allow pixelstats_vendor sysfs_msm_subsys:dir search;
 
 allow pixelstats_vendor sysfs_usb_c:dir   search;