diff options
author | Ken Schultz <kschultz@motorola.com> | 2009-07-15 17:01:47 -0500 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-07-15 19:00:00 -0400 |
commit | be65da47e69c427d6326603e7eccd84957cc34d2 (patch) | |
tree | 3855ec01a1c6755526dd26e8b3a5caa0d3f6c959 | |
parent | b44aeb7b6ad8799c31d87a6304d20f41387081a7 (diff) | |
download | system_core-be65da47e69c427d6326603e7eccd84957cc34d2.tar.gz system_core-be65da47e69c427d6326603e7eccd84957cc34d2.tar.bz2 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>
-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[] = { { "/dev/android_adb_enable", 0660, AID_ADB, AID_ADB, 0 }, { "/dev/ttyMSM0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, { "/dev/ttyHS0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, - { "/dev/uinput", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, + { "/dev/uinput", 0660, AID_SYSTEM, AID_BLUETOOTH, 0 }, { "/dev/alarm", 0664, AID_SYSTEM, AID_RADIO, 0 }, { "/dev/tty0", 0660, AID_ROOT, AID_SYSTEM, 0 }, { "/dev/graphics/", 0660, AID_ROOT, AID_GRAPHICS, 1 }, |