From: SangYoun Kwak Date: Tue, 16 Apr 2024 03:32:37 +0000 (+0900) Subject: Add chsmack label System::Tools to the osu command X-Git-Tag: accepted/tizen/8.0/unified/20240417.155211^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf9f23c2c20e1bdd2f6a014d2d4b0d6b79ae9470;p=platform%2Fcore%2Fsystem%2Fupdate-control.git Add chsmack label System::Tools to the osu command To set privilege and prohibit accesses to the osu command, smack label System::Tools is added. Change-Id: Iff9c79036deee7107284401398d6ca5ffa8fc02d Signed-off-by: SangYoun Kwak --- diff --git a/packaging/update-control.spec b/packaging/update-control.spec index 2f12338..7152fba 100644 --- a/packaging/update-control.spec +++ b/packaging/update-control.spec @@ -91,6 +91,7 @@ ln -s ../%{service_file} %{buildroot}/%{_unitdir}/multi-user.target.wants/%{serv %post /sbin/ldconfig +chsmack -a 'System::Tools' %{_bindir}/osu %postun -p /sbin/ldconfig