summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Veenstra <veenstra@android.com>2009-05-05 11:48:17 -0700
committerJack Veenstra <veenstra@android.com>2009-05-05 11:48:17 -0700
commit4a762357d05fe2152dbe5d4b7085d01a5d4ccbf2 (patch)
tree121e757bdb6c1a0d68542f8e3ceffd9a70547ff9
parent4933098e22747a9066b5352273c38856b0203931 (diff)
downloadsystem_core-4a762357d05fe2152dbe5d4b7085d01a5d4ccbf2.zip
system_core-4a762357d05fe2152dbe5d4b7085d01a5d4ccbf2.tar.gz
system_core-4a762357d05fe2152dbe5d4b7085d01a5d4ccbf2.tar.bz2
Make the /dev/qemu_trace device readable and writable by all.
This is needed so that the Dalvik interpreter can add information about Java method entry/exit to the traces when running in the qemu emulator.
-rw-r--r--init/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c
index b1ef6ab..b914c53 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -126,6 +126,7 @@ static struct perms_ devperms[] = {
{ "/dev/msm_audpre", 0660, AID_SYSTEM, AID_AUDIO, 0 },
{ "/dev/htc-acoustic", 0660, AID_SYSTEM, AID_AUDIO, 0 },
{ "/dev/smd0", 0640, AID_RADIO, AID_RADIO, 0 },
+ { "/dev/qemu_trace", 0666, AID_SYSTEM, AID_SYSTEM, 0 },
{ "/dev/qmi", 0640, AID_RADIO, AID_RADIO, 0 },
{ "/dev/qmi0", 0640, AID_RADIO, AID_RADIO, 0 },
{ "/dev/qmi1", 0640, AID_RADIO, AID_RADIO, 0 },