]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/coredump/coredump.c
coredump: honour RLIMIT_CORE when saving/processing coredumps
authorLennart Poettering <lennart@poettering.net>
Mon, 8 Feb 2016 21:08:49 +0000 (22:08 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Feb 2016 15:08:32 +0000 (16:08 +0100)
commitbdfd7b2c63cac944a3aa1fc0fafd19f41789e208
tree7a89a715e0d6d2dd4b91d97d354e54d4447f893e
parent3c171f0b1ec3ce1b98777cca7330727b9ebfd17d
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.
src/coredump/coredump.c
sysctl.d/50-coredump.conf.in