From 37b210f56036cda41b0407e841fe79fb4db310fc Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Mon, 10 Aug 2009 16:34:04 -0700 Subject: [PATCH] init: set the correct kgsl device node permissions --- init/devices.c | 3 +++ 1 file changed, 3 insertions(+) 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[] = { /* 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 },