SHA256
3
0
forked from pool/gpm

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
This commit is contained in:
Dirk Mueller 2021-10-16 09:54:30 +00:00 committed by Git OBS Bridge
parent 0105f0cd06
commit a951f67579
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 15 07:29:47 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* gpm.service
-------------------------------------------------------------------
Wed Mar 10 13:17:37 UTC 2021 - Adam Majer <adam.majer@suse.de>

View File

@ -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