summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Schultz2009-07-15 17:01:47 -0500
committerMike Lockwood2009-07-15 18:00:00 -0500
commitbe65da47e69c427d6326603e7eccd84957cc34d2 (patch)
tree3855ec01a1c6755526dd26e8b3a5caa0d3f6c959 /init/devices.c
parentb44aeb7b6ad8799c31d87a6304d20f41387081a7 (diff)
downloadplatform-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.c2
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 },