Hu
66fd7c0966
* added: 1231512-Set-GLib-IO-channels-to-binary-mode.patch - Fix issue where restorecond -u is not terminating with SIGTERM (bsc#1231512) * added: 1231512-Set-GLib-IO-channels-to-nonblocking.patch OBS-URL: https://build.opensuse.org/package/show/security:SELinux/restorecond?expand=0&rev=35
21 lines
679 B
Diff
21 lines
679 B
Diff
Index: restorecond-3.2/restorecond.service
|
|
===================================================================
|
|
--- restorecond-3.2.orig/restorecond.service
|
|
+++ restorecond-3.2/restorecond.service
|
|
@@ -5,6 +5,15 @@ ConditionPathExists=/etc/selinux/restore
|
|
ConditionSecurity=selinux
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectHostname=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=forking
|
|
ExecStart=/usr/sbin/restorecond
|
|
PIDFile=/run/restorecond.pid
|