SHA256
1
0
forked from pool/powertop

Accepting request 930834 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/930834
OBS-URL: https://build.opensuse.org/package/show/Base:System/powertop?expand=0&rev=74
This commit is contained in:
Michael Vetter 2021-11-11 11:44:43 +00:00 committed by Git OBS Bridge
parent 20d66648a1
commit b0088c91c6
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 11 09:41:32 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* powertop.service
-------------------------------------------------------------------
Sun Jun 6 13:14:31 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -2,6 +2,18 @@
Description=Extend the battery life of laptop
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=oneshot
ExecStart=/usr/sbin/powertop --auto-tune