diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-08 23:35:24 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-10 16:09:24 +0100 |
commit | 888e378da2dbf4520e68a9d7e59712a3cd5a830f (patch) | |
tree | d280cb63970f5d511d208861e4faaf7427ca6161 /sysusers.d/systemd.conf.m4 | |
parent | 15a900327aba7dc4dc886affe1ae22d3b759b193 (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/systemd.conf.m4')
-rw-r--r-- | sysusers.d/systemd.conf.m4 | 3 |
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 |