summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2009-08-05 09:50:12 -0700
committerIliyan Malchev <malchev@google.com>2009-08-05 09:50:12 -0700
commit6ed11ebecd3eaffd84d79706a4a3a74d39f19715 (patch)
treed9553f5bb5aedaf24a629755e952464bd6f36908 /init
parentc98c2b89706aeadb170472c3af9b381c58346d92 (diff)
downloadsystem_core-6ed11ebecd3eaffd84d79706a4a3a74d39f19715.zip
system_core-6ed11ebecd3eaffd84d79706a4a3a74d39f19715.tar.gz
system_core-6ed11ebecd3eaffd84d79706a4a3a74d39f19715.tar.bz2
init: /dev/diag, /dev/diag_arm9 now owned by AID_RADIO
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'init')
-rw-r--r--init/devices.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/devices.c b/init/devices.c
index 11b9e61..13ebae7 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -99,8 +99,8 @@ static struct perms_ devperms[] = {
{ "/dev/msm_hw3dc", 0666, AID_ROOT, AID_ROOT, 0 },
/* these should not be world writable */
- { "/dev/diag", 0660, AID_ROOT, AID_ROOT, 0 },
- { "/dev/diag_arm9", 0660, AID_ROOT, AID_ROOT, 0 },
+ { "/dev/diag", 0660, AID_RADIO, AID_RADIO, 0 },
+ { "/dev/diag_arm9", 0660, AID_RADIO, AID_RADIO, 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 },