From: SangYoun Kwak Date: Tue, 16 Apr 2024 04:43:09 +0000 (+0900) Subject: Add chsmack label System::Tools to the script X-Git-Tag: accepted/tizen/unified/20240423.164605^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3480b5a807a3039db7eebe8cbd73f377f974ea27;p=platform%2Fcore%2Fsystem%2Fplugin%2Fupdate-control-generic.git Add chsmack label System::Tools to the script To set privilege and prohibit access to the script make-update-control-config.sh, smack label System::Tools is added. Change-Id: I0a3bc690aed1d0ab897937004b5d1a8ddceb0859 Signed-off-by: SangYoun Kwak --- diff --git a/packaging/system-plugin-backend-update-control-generic.spec b/packaging/system-plugin-backend-update-control-generic.spec index 8929e34..13aed3d 100644 --- a/packaging/system-plugin-backend-update-control-generic.spec +++ b/packaging/system-plugin-backend-update-control-generic.spec @@ -48,6 +48,7 @@ install -m 0755 tools/scripts/make-update-control-config.sh %{buildroot}/%{_bind %post /sbin/ldconfig +chsmack -a 'System::Tools' %{_bindir}/make-update-control-config.sh %postun -p /sbin/ldconfig