summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-08-03 20:26:30 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-08-03 20:26:30 -0700
commit9af41c4dacbb4443fb4b64bb97e8db301e29c0f5 (patch)
tree5e9b4abae0bbaedcd1cce2b4b7792553699c1e29
parentc9b8ffc3897952deef9e23949ce42fdc09f14a24 (diff)
parentce62102feb9106d1142efafacfa253c52ca34ac2 (diff)
downloadsystem_core-9af41c4dacbb4443fb4b64bb97e8db301e29c0f5.zip
system_core-9af41c4dacbb4443fb4b64bb97e8db301e29c0f5.tar.gz
system_core-9af41c4dacbb4443fb4b64bb97e8db301e29c0f5.tar.bz2
Merge change 9594
* changes: init: add permissions for /dev/diag and /dev/diag_arm9
-rw-r--r--init/devices.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c
index 720b913..71c45c4 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -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 },