diff options
author | joon.c.baek <joon.c.baek@samsung.com> | 2017-09-19 12:09:44 +0900 |
---|---|---|
committer | joon.c.baek <joon.c.baek@samsung.com> | 2017-09-19 12:09:44 +0900 |
commit | 3263c277085f72ccf436b16df6f88ee72600db39 (patch) | |
tree | afabeb8f96dd3422328694f633f4448d6aef4b2b | |
parent | f7e64040f0ed2204c940f4042f588ef43c74f34e (diff) | |
download | ttrace-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.service | 4 |
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 |