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:
14b8646
)
Add chsmack label System::Tools to the osu command
20/309720/1
accepted/tizen/unified/20240423.164602
accepted/tizen/unified/x/20240425.051140
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 03:35:03 +0000
(12:35 +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 a9b008c653117b234fd7726d6e7ac59e029c6d61..42fc70be8cbae6f8bc71cf7c8561ba8dedfb8fc2 100644
(file)
--- a/
packaging/update-control.spec
+++ b/
packaging/update-control.spec
@@
-92,6
+92,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