summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2015-01-15 22:11:16 +0100
committerZiyan <jaraidaniel@gmail.com>2015-04-11 20:24:53 +0200
commitec9f8ff6da007e632d37f3e383e61a624760a40d (patch)
treeb5817fb38d7495b3df7041e1c1e7456db17874ad /rootdir
parenta50564e0d95fbe05de927c0fe84ea1b2cd62483a (diff)
downloaddevice_samsung_tuna-ec9f8ff6da007e632d37f3e383e61a624760a40d.zip
device_samsung_tuna-ec9f8ff6da007e632d37f3e383e61a624760a40d.tar.gz
device_samsung_tuna-ec9f8ff6da007e632d37f3e383e61a624760a40d.tar.bz2
tuna: fix tracer permissions
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.tuna.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc
index 769b8ab..6d2cc93 100755
--- a/rootdir/init.tuna.rc
+++ b/rootdir/init.tuna.rc
@@ -268,6 +268,10 @@ service battery_charger /sbin/healthd -c
critical
seclabel u:r:healthd:s0
+# Allow writing to the kernel trace log. Enabling tracing still requires root.
+on property:ro.debuggable=1
+ chmod 0222 /sys/kernel/debug/tracing/trace_marker
+
# CyanogenMod Performance Profiles
# Powersave
on property:sys.perf.profile=0