diff options
author | Iliyan Malchev <malchev@google.com> | 2009-08-13 11:08:34 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2009-08-20 08:52:56 -0700 |
commit | 3bc1e9cd7b2832d51c442c0342054e0235a383f6 (patch) | |
tree | 572f510db9fa845964ff964df95914b8d101c720 | |
parent | 5f1b3393ab580d7f85916ddd2d6b2dbd1077366b (diff) | |
download | system_core-3bc1e9cd7b2832d51c442c0342054e0235a383f6.zip system_core-3bc1e9cd7b2832d51c442c0342054e0235a383f6.tar.gz system_core-3bc1e9cd7b2832d51c442c0342054e0235a383f6.tar.bz2 |
devices: set permissions for lightsensor
Signed-off-by: Iliyan Malchev <malchev@google.com>
-rw-r--r-- | init/devices.c | 1 |
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 }, |