b0ba46745c
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/926720 OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pcsc-lite?expand=0&rev=171
23 lines
753 B
Diff
23 lines
753 B
Diff
Index: pcsc-lite-1.9.4/etc/pcscd.service.in
|
|
===================================================================
|
|
--- pcsc-lite-1.9.4.orig/etc/pcscd.service.in
|
|
+++ pcsc-lite-1.9.4/etc/pcscd.service.in
|
|
@@ -4,6 +4,17 @@ Requires=pcscd.socket
|
|
Documentation=man:pcscd(8)
|
|
|
|
[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
|
|
Environment="PCSCD_OPTIONS="
|
|
EnvironmentFile=-/etc/sysconfig/pcscd
|
|
ExecStart=@sbindir_exp@/pcscd --foreground $PCSCD_OPTIONS
|