am e67eff1c: Merge change 24564 into eclair

Merge commit 'e67eff1c615c98bf9ad51be9e474ef9ee82b6565' into eclair-plus-aosp

* commit 'e67eff1c615c98bf9ad51be9e474ef9ee82b6565':
  init: Make /dev/pmem_gpu* be writable by all
This commit is contained in:
Dima Zavin 2009-09-10 14:26:16 -07:00 committed by Android Git Automerger
commit 27b8b3a1aa
1 changed files with 4 additions and 1 deletions

View File

@ -101,6 +101,10 @@ static struct perms_ devperms[] = {
/* gpu driver for adreno200 is globally accessible */
{ "/dev/kgsl", 0666, AID_ROOT, AID_ROOT, 0 },
/* STOPSHIP: temporarily make this be writable by all. We need to
* remove this entirely before we ship. */
{ "/dev/pmem_gpu", 0666, AID_ROOT, AID_ROOT, 1 },
/* these should not be world writable */
{ "/dev/diag", 0660, AID_RADIO, AID_RADIO, 0 },
{ "/dev/diag_arm9", 0660, AID_RADIO, AID_RADIO, 0 },
@ -117,7 +121,6 @@ static struct perms_ devperms[] = {
{ "/dev/eac", 0660, AID_ROOT, AID_AUDIO, 0 },
{ "/dev/cam", 0660, AID_ROOT, AID_CAMERA, 0 },
{ "/dev/pmem", 0660, AID_SYSTEM, AID_GRAPHICS, 0 },
{ "/dev/pmem_gpu", 0660, AID_SYSTEM, AID_GRAPHICS, 1 },
{ "/dev/pmem_adsp", 0660, AID_SYSTEM, AID_AUDIO, 1 },
{ "/dev/pmem_camera", 0660, AID_SYSTEM, AID_CAMERA, 1 },
{ "/dev/oncrpc/", 0660, AID_ROOT, AID_SYSTEM, 1 },