init: add permissions for /dev/diag and /dev/diag_arm9

Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Iliyan Malchev 2009-08-03 16:27:02 -07:00
parent 029c7f81a9
commit ce62102feb
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ static struct perms_ devperms[] = {
{ "/dev/log/", 0662, AID_ROOT, AID_LOG, 1 },
/* these should not be world writable */
{ "/dev/diag", 0660, AID_ROOT, AID_ROOT, 0 },
{ "/dev/diag_arm9", 0660, AID_ROOT, AID_ROOT, 0 },
{ "/dev/android_adb", 0660, AID_ADB, AID_ADB, 0 },
{ "/dev/android_adb_enable", 0660, AID_ADB, AID_ADB, 0 },
{ "/dev/ttyMSM0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 },