From a951f675790f1db696be55b491841b43d145fa3dbf6aa5434f4e52513b8bd09d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Oct 2021 09:54:30 +0000 Subject: [PATCH] Accepting request 925358 from home:jsegitz:branches:systemdhardening:Base:System 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/925358 OBS-URL: https://build.opensuse.org/package/show/Base:System/gpm?expand=0&rev=60 --- gpm.changes | 6 ++++++ gpm.service | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/gpm.changes b/gpm.changes index 99c7c8b..1aaea9f 100644 --- a/gpm.changes +++ b/gpm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 15 07:29:47 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Modified: + * gpm.service + ------------------------------------------------------------------- Wed Mar 10 13:17:37 UTC 2021 - Adam Majer diff --git a/gpm.service b/gpm.service index 8a68fb5..da14e3d 100644 --- a/gpm.service +++ b/gpm.service @@ -6,6 +6,17 @@ Description=Console Mouse manager # to add socket activation here. [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 EnvironmentFile=-/etc/sysconfig/mouse ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2 Type=forking