aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2009-08-10 16:34:04 -0700
committerDima Zavin <dima@android.com>2009-08-11 16:19:52 -0700
commit37b210f56036cda41b0407e841fe79fb4db310fc (patch)
tree1671ce8a02896d0cc2df66b88c142a2e2d07cc42
parentd70dc73d8d17a24a2a6dcdaa38f31dce47dd92aa (diff)
downloadsystem_core-37b210f56036cda41b0407e841fe79fb4db310fc.tar.gz
system_core-37b210f56036cda41b0407e841fe79fb4db310fc.tar.bz2
system_core-37b210f56036cda41b0407e841fe79fb4db310fc.zip
init: set the correct kgsl device node permissions
-rw-r--r--init/devices.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c
index 13ebae75..4ffdf473 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -98,6 +98,9 @@ static struct perms_ devperms[] = {
/* the msm hw3d client device node is world writable/readable. */
{ "/dev/msm_hw3dc", 0666, AID_ROOT, AID_ROOT, 0 },
+ /* gpu driver for adreno200 is globally accessible */
+ { "/dev/kgsl", 0666, AID_ROOT, AID_ROOT, 0 },
+
/* these should not be world writable */
{ "/dev/diag", 0660, AID_RADIO, AID_RADIO, 0 },
{ "/dev/diag_arm9", 0660, AID_RADIO, AID_RADIO, 0 },