summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIliyan Malchev2009-08-13 13:08:34 -0500
committerIliyan Malchev2009-08-20 10:52:56 -0500
commit3bc1e9cd7b2832d51c442c0342054e0235a383f6 (patch)
tree572f510db9fa845964ff964df95914b8d101c720 /init/devices.c
parent5f1b3393ab580d7f85916ddd2d6b2dbd1077366b (diff)
downloadplatform-system-core-3bc1e9cd7b2832d51c442c0342054e0235a383f6.tar.gz
platform-system-core-3bc1e9cd7b2832d51c442c0342054e0235a383f6.tar.xz
platform-system-core-3bc1e9cd7b2832d51c442c0342054e0235a383f6.zip
devices: set permissions for lightsensor
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'init/devices.c')
-rw-r--r--init/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c
index 4ffdf4736..f4a359529 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -131,6 +131,7 @@ static struct perms_ devperms[] = {
131 { "/dev/bma150", 0640, AID_COMPASS, AID_SYSTEM, 0 }, 131 { "/dev/bma150", 0640, AID_COMPASS, AID_SYSTEM, 0 },
132 { "/dev/cm3602", 0640, AID_COMPASS, AID_SYSTEM, 0 }, 132 { "/dev/cm3602", 0640, AID_COMPASS, AID_SYSTEM, 0 },
133 { "/dev/akm8976_pffd", 0640, AID_COMPASS, AID_SYSTEM, 0 }, 133 { "/dev/akm8976_pffd", 0640, AID_COMPASS, AID_SYSTEM, 0 },
134 { "/dev/lightsensor", 0640, AID_SYSTEM, AID_SYSTEM, 0 },
134 { "/dev/msm_pcm_out", 0660, AID_SYSTEM, AID_AUDIO, 1 }, 135 { "/dev/msm_pcm_out", 0660, AID_SYSTEM, AID_AUDIO, 1 },
135 { "/dev/msm_pcm_in", 0660, AID_SYSTEM, AID_AUDIO, 1 }, 136 { "/dev/msm_pcm_in", 0660, AID_SYSTEM, AID_AUDIO, 1 },
136 { "/dev/msm_pcm_ctl", 0660, AID_SYSTEM, AID_AUDIO, 1 }, 137 { "/dev/msm_pcm_ctl", 0660, AID_SYSTEM, AID_AUDIO, 1 },