summaryrefslogtreecommitdiff
path: root/sysctl.d
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-08 22:08:49 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-10 16:08:32 +0100
commitbdfd7b2c63cac944a3aa1fc0fafd19f41789e208 (patch)
tree7a89a715e0d6d2dd4b91d97d354e54d4447f893e /sysctl.d
parent3c171f0b1ec3ce1b98777cca7330727b9ebfd17d (diff)
downloadsystemd-bdfd7b2c63cac944a3aa1fc0fafd19f41789e208.tar.gz
coredump: honour RLIMIT_CORE when saving/processing coredumps
With this change processing/saving of coredumps takes the RLIMIT_CORE resource limit of the crashing process into account, given the user control whether specific processes shall core dump or not, and how large to make the core dump. Note that this effectively disables core-dumping for now, as RLIMIT_CORE defaults to 0 (i.e. is disabled) for all system processes.
Diffstat (limited to 'sysctl.d')
-rw-r--r--sysctl.d/50-coredump.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysctl.d/50-coredump.conf.in b/sysctl.d/50-coredump.conf.in
index 5e04c821b6..5a25de4512 100644
--- a/sysctl.d/50-coredump.conf.in
+++ b/sysctl.d/50-coredump.conf.in
@@ -9,4 +9,4 @@
# and systemd-coredump(8) and core(5) for the explanation of the
# setting below.
-kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %P %u %g %s %t %e
+kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %P %u %g %s %t %c %e