Index: usb-modeswitch-2.6.1/[email protected]
===================================================================
--- usb-modeswitch-2.6.1.orig/[email protected]
+++ usb-modeswitch-2.6.1/[email protected]
@@ -2,6 +2,17 @@
Description=USB_ModeSwitch_%i
[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
Type=oneshot
ExecStart=/usr/sbin/usb_modeswitch_dispatcher --switch-mode %i
# Testing