forked from pool/e2fsprogs
0536121f6b
Rev SUSE:SLE-15-SP4:GA/2 Md5 eb4784ecce17ba9867785c4eb7ef27a3 2021-11-24 12:22:24 gyribeiro None
21 lines
696 B
Diff
21 lines
696 B
Diff
Index: e2fsprogs-1.46.4/scrub/e2scrub@.service.in
|
|
===================================================================
|
|
--- e2fsprogs-1.46.4.orig/scrub/e2scrub@.service.in
|
|
+++ e2fsprogs-1.46.4/scrub/e2scrub@.service.in
|
|
@@ -10,6 +10,15 @@ PrivateNetwork=true
|
|
ProtectSystem=true
|
|
ProtectHome=read-only
|
|
PrivateTmp=yes
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
|
|
NoNewPrivileges=yes
|
|
User=root
|