Accepting request 930842 from Base:System

OBS-URL: https://build.opensuse.org/request/show/930842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powertop?expand=0&rev=56
This commit is contained in:
Dominique Leuenberger 2021-11-11 20:38:17 +00:00 committed by Git OBS Bridge
commit a48ed06178
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