Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/945217 OBS-URL: https://build.opensuse.org/package/show/Education/veyon?expand=0&rev=26
23 lines
733 B
Diff
23 lines
733 B
Diff
Index: veyon-4.7.0/service/veyon.service.in
|
|
===================================================================
|
|
--- veyon-4.7.0.orig/service/veyon.service.in
|
|
+++ veyon-4.7.0/service/veyon.service.in
|
|
@@ -6,6 +6,17 @@ Requires=dbus.service systemd-logind.ser
|
|
Documentation=man:veyon-service(1)
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
ExecStart=@CMAKE_INSTALL_PREFIX@/bin/veyon-service
|
|
Type=simple
|
|
Restart=always
|