From 5e6b6bc4218261e4f6f0d2405cd180d6893aa266 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn <salyzyn@google.com> Date: Wed, 2 May 2018 13:57:26 -0700 Subject: [PATCH] init: support /dev/input Test: compile Bug: 64114943 Change-Id: I2bbf84a6e472d720f02282e10d56795b75ac62d1 --- public/init.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/init.te b/public/init.te index 51a991b68..24dfb1d13 100644 --- a/public/init.te +++ b/public/init.te @@ -254,6 +254,7 @@ auditallow init { -dm_device -hwbinder_device -hw_random_device + -input_device -keychord_device -kmem_device -kmsg_device @@ -453,6 +454,8 @@ allow init device:file create_file_perms; # 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; -- GitLab