Matthias Gerstner
b27e01aef4
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/933795 OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=62
23 lines
723 B
Diff
23 lines
723 B
Diff
Index: tpm2-abrmd-2.4.0/dist/tpm2-abrmd.service.in
|
|
===================================================================
|
|
--- tpm2-abrmd-2.4.0.orig/dist/tpm2-abrmd.service.in
|
|
+++ tpm2-abrmd-2.4.0/dist/tpm2-abrmd.service.in
|
|
@@ -6,6 +6,17 @@ After=dev-tpm0.device
|
|
Requires=dev-tpm0.device
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=read-only
|
|
+ProtectHostname=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=dbus
|
|
BusName=com.intel.tss2.Tabrmd
|
|
ExecStart=@SBINDIR@/tpm2-abrmd
|