summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoon.c.baek <joon.c.baek@samsung.com>2017-11-27 13:46:49 +0900
committerjoon.c.baek <joon.c.baek@samsung.com>2017-11-27 15:03:33 +0900
commitdcb77cbee8cc5eeabcc762eba74c7327db818dbc (patch)
tree3bd3af1ede64aaff935b891fb7ec2c828ea8915a
parent366787c3c0a08753965058357ec489f2678e2042 (diff)
downloadttrace-dcb77cbee8cc5eeabcc762eba74c7327db818dbc.tar.gz
ttrace-dcb77cbee8cc5eeabcc762eba74c7327db818dbc.tar.bz2
ttrace-dcb77cbee8cc5eeabcc762eba74c7327db818dbc.zip
- Change permisstion of /tmp/ttrace_tag root -> system_fw - Assign User/Group to ttrace-marker.service root -> system_fw Change-Id: Ic48b0cfd347f56da2a052511e9e37edac539d033 Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
-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"