projects
/
platform
/
core
/
system
/
update-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e3f448
)
Add chsmack label System::Tools to the osu command
28/309728/1
accepted/tizen/8.0/unified/20240417.155211
author
SangYoun Kwak
<sy.kwak@samsung.com>
Tue, 16 Apr 2024 03:32:37 +0000
(12:32 +0900)
committer
SangYoun Kwak
<sy.kwak@samsung.com>
Tue, 16 Apr 2024 04:52:45 +0000
(13:52 +0900)
To set privilege and prohibit accesses to the osu command, smack label
System::Tools is added.
Change-Id: Iff9c79036deee7107284401398d6ca5ffa8fc02d
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
packaging/update-control.spec
patch
|
blob
|
history
diff --git
a/packaging/update-control.spec
b/packaging/update-control.spec
index 2f12338392c4277195c30375b6cfe059cc519021..7152fbacbc30df78fad20100e1ead0233f1d4e52 100644
(file)
--- 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