summaryrefslogtreecommitdiffstats
path: root/init/devices.c
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2009-08-03 17:08:25 -0700
committerDima Zavin <dima@android.com>2009-08-03 23:05:29 -0700
commit46e8863d77912ad6d76ed7d258dfc554a5cdb36d (patch)
tree03664e64b9de469663acff35ec7454277744cf9e /init/devices.c
parent9af41c4dacbb4443fb4b64bb97e8db301e29c0f5 (diff)
downloadsystem_core-46e8863d77912ad6d76ed7d258dfc554a5cdb36d.zip
system_core-46e8863d77912ad6d76ed7d258dfc554a5cdb36d.tar.gz
system_core-46e8863d77912ad6d76ed7d258dfc554a5cdb36d.tar.bz2
init: Add hw3d master/client nodes to device list.
Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'init/devices.c')
-rw-r--r--init/devices.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/init/devices.c b/init/devices.c
index 71c45c4..11b9e61 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -95,6 +95,9 @@ static struct perms_ devperms[] = {
/* logger should be world writable (for logging) but not readable */
{ "/dev/log/", 0662, AID_ROOT, AID_LOG, 1 },
+ /* the msm hw3d client device node is world writable/readable. */
+ { "/dev/msm_hw3dc", 0666, AID_ROOT, AID_ROOT, 0 },
+
/* these should not be world writable */
{ "/dev/diag", 0660, AID_ROOT, AID_ROOT, 0 },
{ "/dev/diag_arm9", 0660, AID_ROOT, AID_ROOT, 0 },
@@ -106,7 +109,7 @@ static struct perms_ devperms[] = {
{ "/dev/alarm", 0664, AID_SYSTEM, AID_RADIO, 0 },
{ "/dev/tty0", 0660, AID_ROOT, AID_SYSTEM, 0 },
{ "/dev/graphics/", 0660, AID_ROOT, AID_GRAPHICS, 1 },
- { "/dev/hw3d", 0660, AID_SYSTEM, AID_GRAPHICS, 0 },
+ { "/dev/msm_hw3dm", 0660, AID_SYSTEM, AID_GRAPHICS, 0 },
{ "/dev/input/", 0660, AID_ROOT, AID_INPUT, 1 },
{ "/dev/eac", 0660, AID_ROOT, AID_AUDIO, 0 },
{ "/dev/cam", 0660, AID_ROOT, AID_CAMERA, 0 },