summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDima Zavin2009-08-10 18:34:04 -0500
committerDima Zavin2009-08-11 18:19:52 -0500
commit37b210f56036cda41b0407e841fe79fb4db310fc (patch)
tree1671ce8a02896d0cc2df66b88c142a2e2d07cc42 /init/devices.c
parentd70dc73d8d17a24a2a6dcdaa38f31dce47dd92aa (diff)
downloadplatform-system-core-37b210f56036cda41b0407e841fe79fb4db310fc.tar.gz
platform-system-core-37b210f56036cda41b0407e841fe79fb4db310fc.tar.xz
platform-system-core-37b210f56036cda41b0407e841fe79fb4db310fc.zip
init: set the correct kgsl device node permissions
Diffstat (limited to 'init/devices.c')
-rw-r--r--init/devices.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c
index 13ebae75c..4ffdf4736 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -98,6 +98,9 @@ static struct perms_ devperms[] = {
98 /* the msm hw3d client device node is world writable/readable. */ 98 /* the msm hw3d client device node is world writable/readable. */
99 { "/dev/msm_hw3dc", 0666, AID_ROOT, AID_ROOT, 0 }, 99 { "/dev/msm_hw3dc", 0666, AID_ROOT, AID_ROOT, 0 },
100 100
101 /* gpu driver for adreno200 is globally accessible */
102 { "/dev/kgsl", 0666, AID_ROOT, AID_ROOT, 0 },
103
101 /* these should not be world writable */ 104 /* these should not be world writable */
102 { "/dev/diag", 0660, AID_RADIO, AID_RADIO, 0 }, 105 { "/dev/diag", 0660, AID_RADIO, AID_RADIO, 0 },
103 { "/dev/diag_arm9", 0660, AID_RADIO, AID_RADIO, 0 }, 106 { "/dev/diag_arm9", 0660, AID_RADIO, AID_RADIO, 0 },