diff options
author | Ken Schultz | 2009-07-15 17:01:47 -0500 |
---|---|---|
committer | Mike Lockwood | 2009-07-15 18:00:00 -0500 |
commit | be65da47e69c427d6326603e7eccd84957cc34d2 (patch) | |
tree | 3855ec01a1c6755526dd26e8b3a5caa0d3f6c959 /init/devices.c | |
parent | b44aeb7b6ad8799c31d87a6304d20f41387081a7 (diff) | |
download | platform-system-core-be65da47e69c427d6326603e7eccd84957cc34d2.tar.gz platform-system-core-be65da47e69c427d6326603e7eccd84957cc34d2.tar.xz platform-system-core-be65da47e69c427d6326603e7eccd84957cc34d2.zip |
init: Change owner of /dev/uinput to system
This will allow the the uinput driver to be used by the system process
as well as bluetooth, which is needed for sensors.
Signed-off-by: Ken Schultz <kschultz@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'init/devices.c')
-rw-r--r-- | init/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/devices.c b/init/devices.c index 4c7b7da8c..720b913c2 100644 --- a/init/devices.c +++ b/init/devices.c | |||
@@ -100,7 +100,7 @@ static struct perms_ devperms[] = { | |||
100 | { "/dev/android_adb_enable", 0660, AID_ADB, AID_ADB, 0 }, | 100 | { "/dev/android_adb_enable", 0660, AID_ADB, AID_ADB, 0 }, |
101 | { "/dev/ttyMSM0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, | 101 | { "/dev/ttyMSM0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, |
102 | { "/dev/ttyHS0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, | 102 | { "/dev/ttyHS0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, |
103 | { "/dev/uinput", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, | 103 | { "/dev/uinput", 0660, AID_SYSTEM, AID_BLUETOOTH, 0 }, |
104 | { "/dev/alarm", 0664, AID_SYSTEM, AID_RADIO, 0 }, | 104 | { "/dev/alarm", 0664, AID_SYSTEM, AID_RADIO, 0 }, |
105 | { "/dev/tty0", 0660, AID_ROOT, AID_SYSTEM, 0 }, | 105 | { "/dev/tty0", 0660, AID_ROOT, AID_SYSTEM, 0 }, |
106 | { "/dev/graphics/", 0660, AID_ROOT, AID_GRAPHICS, 1 }, | 106 | { "/dev/graphics/", 0660, AID_ROOT, AID_GRAPHICS, 1 }, |