diff options
| author | Iliyan Malchev <malchev@google.com> | 2009-08-03 16:27:02 -0700 |
|---|---|---|
| committer | Iliyan Malchev <malchev@google.com> | 2009-08-03 20:22:55 -0700 |
| commit | ce62102feb9106d1142efafacfa253c52ca34ac2 (patch) | |
| tree | c25ee929f26c331364347012f0e7d7400c8afbaf | |
| parent | 029c7f81a9a445b57a9f6b791a32eebc7b581e2a (diff) | |
| download | system_core-ce62102feb9106d1142efafacfa253c52ca34ac2.tar.gz system_core-ce62102feb9106d1142efafacfa253c52ca34ac2.tar.bz2 system_core-ce62102feb9106d1142efafacfa253c52ca34ac2.zip | |
init: add permissions for /dev/diag and /dev/diag_arm9
Signed-off-by: Iliyan Malchev <malchev@google.com>
| -rw-r--r-- | init/devices.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c index 720b913c..71c45c49 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 }, |
