summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlokilee73 <changjoo.lee@samsung.com>2017-10-11 22:11:41 +0900
committerlokilee73 <changjoo.lee@samsung.com>2017-10-11 22:11:47 +0900
commitb202aaccc25a62350ef42461651ba3d0c7a0d4a2 (patch)
treeb4e4ec0b28253315a14a024d1b535fd51ab25668
parent4b51150f5578b6c696dd2a6351db2d4e9d436cd1 (diff)
downloaddeviced-b202aaccc25a62350ef42461651ba3d0c7a0d4a2.tar.gz
deviced-b202aaccc25a62350ef42461651ba3d0c7a0d4a2.tar.bz2
deviced-b202aaccc25a62350ef42461651ba3d0c7a0d4a2.zip
usb-host: limit the authority of usb-host-ffs-test-daemon.service to prevent security issuetizen_4.0.m2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_4.0/20171012.013318accepted/tizen/4.0/unified/20171012.074754
Change-Id: Ie963ee1bc7d191c221236c1f8e61ccce5c92a11b Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
-rwxr-xr-x[-rw-r--r--]systemd/usb-host-ffs-test-daemon.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/usb-host-ffs-test-daemon.service b/systemd/usb-host-ffs-test-daemon.service
index 08572af0..c991f7b0 100644..100755
--- a/systemd/usb-host-ffs-test-daemon.service
+++ b/systemd/usb-host-ffs-test-daemon.service
@@ -2,6 +2,9 @@
Description=FFS daemon required by usb-host test suite
[Service]
+User=system_fw
+Group=system_fw
+SmackProcessLabel=System
ExecStart=/usr/bin/usb-host-ffs-test-daemon
USBFunctionDescriptors=/etc/deviced/usb-host-test/descs
USBFunctionStrings=/etc/deviced/usb-host-test/strs