diff options
author | Unsung <unsung.lee@samsung.com> | 2024-10-02 20:20:01 +0900 |
---|---|---|
committer | Unsung <unsung.lee@samsung.com> | 2024-10-02 20:41:30 +0900 |
commit | a35b4b35f54da9a9b506598794f4257392d175d1 (patch) | |
tree | 554f6d40fbade5f72db9d030ba0aacbad5d7a34c | |
parent | 9ddc931d5e8cd0b5d799a78c50ae38fef6c63d53 (diff) | |
download | resourced-a35b4b35f54da9a9b506598794f4257392d175d1.tar.gz resourced-a35b4b35f54da9a9b506598794f4257392d175d1.tar.bz2 resourced-a35b4b35f54da9a9b506598794f4257392d175d1.zip |
spec: Change smack label of resourced-watchdog-handleraccepted/tizen/unified/x/20241007.013542accepted/tizen/unified/20241006.053308
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>
-rw-r--r-- | packaging/resourced.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/resourced.spec b/packaging/resourced.spec index c8c20d3c..1f186898 100644 --- a/packaging/resourced.spec +++ b/packaging/resourced.spec @@ -156,6 +156,11 @@ mkdir -p %{buildroot}/%{TZ_SYS_GLOBALUSER_DATA}/heart 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 |