summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-08-20 17:03:35 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-08-20 17:03:35 -0700
commite37c724bfc60cca4e9bd262c25c58af72abbac13 (patch)
tree098b3aa2e0f0536baa49c9a3e106d631d73b4444
parentfb62cf969013a67e1cd7712cd978f54dce27733b (diff)
parent3bc1e9cd7b2832d51c442c0342054e0235a383f6 (diff)
downloadsystem_core-e37c724bfc60cca4e9bd262c25c58af72abbac13.zip
system_core-e37c724bfc60cca4e9bd262c25c58af72abbac13.tar.gz
system_core-e37c724bfc60cca4e9bd262c25c58af72abbac13.tar.bz2
Merge change 22155 into eclair
* changes: devices: set permissions for lightsensor
-rw-r--r--init/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c
index 4ffdf47..f4a3595 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -131,6 +131,7 @@ static struct perms_ devperms[] = {
{ "/dev/bma150", 0640, AID_COMPASS, AID_SYSTEM, 0 },
{ "/dev/cm3602", 0640, AID_COMPASS, AID_SYSTEM, 0 },
{ "/dev/akm8976_pffd", 0640, AID_COMPASS, AID_SYSTEM, 0 },
+ { "/dev/lightsensor", 0640, AID_SYSTEM, AID_SYSTEM, 0 },
{ "/dev/msm_pcm_out", 0660, AID_SYSTEM, AID_AUDIO, 1 },
{ "/dev/msm_pcm_in", 0660, AID_SYSTEM, AID_AUDIO, 1 },
{ "/dev/msm_pcm_ctl", 0660, AID_SYSTEM, AID_AUDIO, 1 },