summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Kuchciak <k.kuchciak@samsung.com>2017-11-07 11:08:37 (GMT)
committerMyoungJune Park <mj2004.park@samsung.com>2017-12-20 08:17:19 (GMT)
commitf6dce487062797ed8936bd6528fdd06173fe6c20 (patch)
treeaf072858ad4291ed87af5e7746706cfc3f426699
parent7dcc83f07bf944ca3cff2883e7ff78a52a7dead4 (diff)
downloadfactory-reset-f6dce487062797ed8936bd6528fdd06173fe6c20.zip
factory-reset-f6dce487062797ed8936bd6528fdd06173fe6c20.tar.gz
factory-reset-f6dce487062797ed8936bd6528fdd06173fe6c20.tar.bz2
Change-Id: I6560b71261d55592eb179fe2c2095bd98763479c Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com> Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
-rw-r--r--packaging/factory-reset.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/factory-reset.service b/packaging/factory-reset.service
index ab6a4a4..97277f5 100644
--- a/packaging/factory-reset.service
+++ b/packaging/factory-reset.service
@@ -7,7 +7,8 @@ ConditionPathExists=|/opt/.factoryreset
Type=oneshot
ExecStartPre=/usr/bin/rm -f /opt/.factoryreset
ExecStart=/usr/bin/factory-reset
-SmackProcessLabel=System
+SmackProcessLabel=System::Privileged
+CapabilityBoundingSet=cap_dac_override cap_sys_admin cap_mac_override cap_mac_admin cap_sys_boot cap_chown cap_fowner
[Install]
WantedBy=multi-user.target