From 4a762357d05fe2152dbe5d4b7085d01a5d4ccbf2 Mon Sep 17 00:00:00 2001 From: Jack Veenstra Date: Tue, 5 May 2009 11:48:17 -0700 Subject: [PATCH] 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. --- init/devices.c | 1 + 1 file changed, 1 insertion(+) diff --git a/init/devices.c b/init/devices.c index b1ef6ab2a..b914c5398 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 },