summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoon.c.baek <joon.c.baek@samsung.com>2017-09-19 12:09:44 +0900
committerjoon.c.baek <joon.c.baek@samsung.com>2017-09-19 12:09:44 +0900
commit3263c277085f72ccf436b16df6f88ee72600db39 (patch)
treeafabeb8f96dd3422328694f633f4448d6aef4b2b
parentf7e64040f0ed2204c940f4042f588ef43c74f34e (diff)
downloadttrace-submit/tizen/20170925.022002.tar.gz
ttrace-submit/tizen/20170925.022002.tar.bz2
ttrace-submit/tizen/20170925.022002.zip
Assign capabilities 'cap_dac_override' to servicesubmit/tizen/20170925.022002accepted/tizen/unified/20170926.061839
'cap_dac_override' capabilities used inteaded of root permission of sys-kernel-tracing.service. Change-Id: I71870eab4c2a32ac3a904f9713f0cb73a2295126 Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
-rw-r--r--packaging/sys-kernel-tracing.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/sys-kernel-tracing.service b/packaging/sys-kernel-tracing.service
index 08b4335..ebecb7a 100644
--- a/packaging/sys-kernel-tracing.service
+++ b/packaging/sys-kernel-tracing.service
@@ -6,6 +6,10 @@ Before=tmp.mount systemd-tmpfiles-setup.service
[Service]
SmackProcessLabel=System
+User=system_fw
+Group=system_fw
+SecureBits=keep-caps
+Capabilities=cap_dac_override=i
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/touch -f /sys/kernel/debug/tracing