Merge change 24564 into eclair

* changes:
  init: Make /dev/pmem_gpu* be writable by all
This commit is contained in:
Android (Google) Code Review 2009-09-10 17:22:33 -04:00
commit e67eff1c61

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 },