init: support /dev/input
Test: compile
Bug: 64114943
Change-Id: I2bbf84a6e472d720f02282e10d56795b75ac62d1
diff --git a/public/init.te b/public/init.te
index 51a991b..24dfb1d 100644
--- a/public/init.te
+++ b/public/init.te
@@ -254,6 +254,7 @@
-dm_device
-hwbinder_device
-hw_random_device
+ -input_device
-keychord_device
-kmem_device
-kmsg_device
@@ -453,6 +454,8 @@
# keychord configuration
allow init self:global_capability_class_set sys_tty_config;
allow init keychord_device:chr_file rw_file_perms;
+allow init input_device:dir r_dir_perms;
+allow init input_device:chr_file rw_file_perms;
# Access device mapper for setting up dm-verity
allow init dm_device:chr_file rw_file_perms;