universal7580: sepolicy: fixup powerhal policy
authorJan Altensen <info@stricted.net>
Sun, 30 Jun 2019 17:01:24 +0000 (19:01 +0200)
committerJan Altensen <info@stricted.net>
Fri, 16 Aug 2019 21:19:01 +0000 (23:19 +0200)
Change-Id: I68dd42a88aba3a7667dde36f18ebb1a43224e7ee

sepolicy/hal_power_default.te

index c56c43270a9a1102d25a8efc1b047ba5b32eb9f5..764c7a17ded223a391254e307d134a41dffc9ddd 100644 (file)
@@ -3,7 +3,7 @@ allow hal_power_default sysfs:dir { open read search };
 allow hal_power_default sysfs:file { rw_file_perms };
 
 # Input devices
-allow hal_power_default sysfs_input:dir search;
+allow hal_power_default sysfs_input:dir { open read search };
 allow hal_power_default sysfs_input:file { rw_file_perms };
 
 # CPU devices