From e615b2aa76afd80291c189c292b0118c8f6664d9 Mon Sep 17 00:00:00 2001 From: Siarhei Vishniakou Date: Tue, 27 Nov 2018 11:21:21 -0800 Subject: [PATCH] Permissions for /dev/uinput Currently /dev/uinput is owned by system/bluetooth. But that's inconsistent with some of the sepolicies for uhid_device. This also means that the new native tests for inputflinger aren't able to execute properly, because they require the ability to register a new input device via uinput. Bug: none Test: atest inputflinger_test The newly added EventHub_test is still under review Change-Id: I53524738db1a5d3ba962b9bec35ef322ed3028f2 --- rootdir/ueventd.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc index 2f85dec07..d47506c44 100644 --- a/rootdir/ueventd.rc +++ b/rootdir/ueventd.rc @@ -72,7 +72,7 @@ subsystem sound /dev/diag_arm9 0660 radio radio /dev/ttyMSM0 0600 bluetooth bluetooth /dev/uhid 0660 uhid uhid -/dev/uinput 0660 system bluetooth +/dev/uinput 0660 uhid uhid /dev/alarm 0664 system radio /dev/rtc0 0640 system system /dev/tty0 0660 root system