Change smack label of resourced-watchdog-handler from "System" to
"System::Tools". This is because kernel worker thread requires read
access permission to run resourced-watchdog-handler and "_" has read permission
to "System::Tools".
(Subject label "_" does not have read permission to Object label "System")
Change-Id: I3b7c5f106cc12688c658496742c90fa313a33157
Signed-off-by: Unsung <unsung.lee@samsung.com>
mkdir -p %{buildroot}/%{TZ_SYS_GLOBALUSER_DB}
popd
+%if %{?watchdog_module} == ON
+%post watchdog-handler
+chsmack %{_bindir}/resourced-watchdog-handler -a "System::Tools"
+%endif
+
%post config-tv
mv %{confdir}/optimizer-profile-tv.conf %{confdir}/optimizer.conf