summaryrefslogtreecommitdiff
path: root/sysusers.d
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-08 23:35:24 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-10 16:09:24 +0100
commit888e378da2dbf4520e68a9d7e59712a3cd5a830f (patch)
treed280cb63970f5d511d208861e4faaf7427ca6161 /sysusers.d
parent15a900327aba7dc4dc886affe1ae22d3b759b193 (diff)
coredump: dump priviliges when processing system coredumps
Let's add an extra-safety net and change UID/GID to the "systemd-coredump" user when processing coredumps from system user. For coredumps of normal users we keep the current logic of processing the coredumps from the user id the coredump was created under. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=87354
Diffstat (limited to 'sysusers.d')
-rw-r--r--sysusers.d/systemd.conf.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/sysusers.d/systemd.conf.m4 b/sysusers.d/systemd.conf.m4
index 81b1d79c37..317240a9fd 100644
--- a/sysusers.d/systemd.conf.m4
+++ b/sysusers.d/systemd.conf.m4
@@ -16,3 +16,6 @@ u systemd-resolve - "systemd Resolver"
m4_ifdef(`ENABLE_TIMESYNCD',
u systemd-timesync - "systemd Time Synchronization"
)m4_dnl
+m4_ifdef(`ENABLE_COREDUMP',
+u systemd-coredump - "systemd Core Dumper"
+)m4_dnl