summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--husky/pixelstats_vendor.te3
-rw-r--r--shiba/pixelstats_vendor.te3
2 files changed, 6 insertions, 0 deletions
diff --git a/husky/pixelstats_vendor.te b/husky/pixelstats_vendor.te
new file mode 100644
index 0000000..cc2bd92
--- /dev/null
+++ b/husky/pixelstats_vendor.te
@@ -0,0 +1,3 @@
+# Wireless charge
+allow pixelstats_vendor sysfs_wlc:dir search;
+allow pixelstats_vendor sysfs_wlc:file rw_file_perms;
diff --git a/shiba/pixelstats_vendor.te b/shiba/pixelstats_vendor.te
new file mode 100644
index 0000000..cc2bd92
--- /dev/null
+++ b/shiba/pixelstats_vendor.te
@@ -0,0 +1,3 @@
+# Wireless charge
+allow pixelstats_vendor sysfs_wlc:dir search;
+allow pixelstats_vendor sysfs_wlc:file rw_file_perms;