summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/ttrace-marker.service2
-rw-r--r--packaging/ttrace.conf2
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/ttrace-marker.service b/packaging/ttrace-marker.service
index e449bee..2578bd9 100644
--- a/packaging/ttrace-marker.service
+++ b/packaging/ttrace-marker.service
@@ -5,6 +5,8 @@ After=tmp.mount sys-kernel-debug-tracing.mount
[Service]
SmackProcessLabel=System
+User=system_fw
+Group=system_fw
Type=simple
ExecStart=/usr/bin/atrace --init_exec
diff --git a/packaging/ttrace.conf b/packaging/ttrace.conf
index 37051bf..c3433f7 100644
--- a/packaging/ttrace.conf
+++ b/packaging/ttrace.conf
@@ -41,5 +41,5 @@ z /sys/kernel/debug/tracing/events/sync/enable 0664 root users -
t /sys/kernel/debug/tracing/events/sync/enable - - - - security.SMACK64="User::Shell"
z /sys/kernel/debug/tracing/events/workqueue/enable 0664 root users -
t /sys/kernel/debug/tracing/events/workqueue/enable - - - - security.SMACK64="User::Shell"
-z /tmp/ttrace_tag 0664 root users -
+z /tmp/ttrace_tag 0664 system_fw users -
t /tmp/ttrace_tag - - - - security.SMACK64="User::App::Shared"