Skip to content

Commit 4ac1755

Browse files
Ecordonnierpoettering
authored andcommitted
coredump: set ProtectHome to read-only
In 924453c ProtectHome was set to true for systemd-coredump in order to reduce risk, since an attacker could craft a malicious binary in order to compromise systemd-coredump. At that point the object analysis was done in the main systemd-coredump process. Because of this systemd-coredump is unable to product symbolicated call-stacks for binaries running under /home ("n/a" is shown instead of function names). However, later in 61aea45 systemd-coredump was changed to do the object analysis in a forked process, covering those security concerns. Let's set ProtectHome to read-only so that systemd-coredump produces symbolicated call-stacks for processes running under /home.
1 parent b9ea646 commit 4ac1755

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

units/systemd-coredump@.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ PrivateDevices=yes
2828
PrivateNetwork=yes
2929
PrivateTmp=yes
3030
ProtectControlGroups=yes
31-
ProtectHome=yes
31+
ProtectHome=read-only
3232
ProtectHostname=yes
3333
ProtectKernelModules=yes
3434
ProtectKernelTunables=yes

0 commit comments

Comments
 (0)