Skip to content
Snippets Groups Projects
Commit 5e6b6bc4 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

init: support /dev/input

Test: compile
Bug: 64114943
Change-Id: I2bbf84a6e472d720f02282e10d56795b75ac62d1
parent 43e172af
No related branches found
No related tags found
No related merge requests found
...@@ -254,6 +254,7 @@ auditallow init { ...@@ -254,6 +254,7 @@ auditallow init {
-dm_device -dm_device
-hwbinder_device -hwbinder_device
-hw_random_device -hw_random_device
-input_device
-keychord_device -keychord_device
-kmem_device -kmem_device
-kmsg_device -kmsg_device
...@@ -453,6 +454,8 @@ allow init device:file create_file_perms; ...@@ -453,6 +454,8 @@ allow init device:file create_file_perms;
# keychord configuration # keychord configuration
allow init self:global_capability_class_set sys_tty_config; allow init self:global_capability_class_set sys_tty_config;
allow init keychord_device:chr_file rw_file_perms; 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 # Access device mapper for setting up dm-verity
allow init dm_device:chr_file rw_file_perms; allow init dm_device:chr_file rw_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment