File harden_brickd.service.patch of Package brickd
Index: brickd-2.4.3/src/build_data/linux/installer/lib/systemd/system/brickd.service =================================================================== --- brickd-2.4.3.orig/src/build_data/linux/installer/lib/systemd/system/brickd.service +++ brickd-2.4.3/src/build_data/linux/installer/lib/systemd/system/brickd.service @@ -3,6 +3,17 @@ Description=Brick Daemon After=network.target [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=forking ExecStart=/usr/bin/brickd --daemon PIDFile=/var/run/brickd.pid