Support reading /sys/board_properties/virtualkeys.xxx for virtual keys on touchscreen

This commit is contained in:
Pierre-Hugues Husson 2018-09-05 14:18:07 +02:00 committed by Pierre-Hugues Husson
parent d925fea5f3
commit 99633e904d
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
type sysfs_board_properties, fs_type, sysfs_type;
allow system_server sysfs_board_properties:dir search;
allow system_server sysfs_board_properties:file r_file_perms;

1
sepolicy/genfs_contexts Normal file
View File

@ -0,0 +1 @@
genfscon sysfs /board_properties u:object_r:sysfs_board_properties:s0