tree-wide: introduce disable_core_dumps helper and port existing users
authorJan Klötzke <Jan.Kloetzke@preh.de>
Wed, 10 Jan 2018 09:36:14 +0000 (10:36 +0100)
committerJan Klötzke <Jan.Kloetzke@preh.de>
Wed, 10 Jan 2018 09:54:40 +0000 (10:54 +0100)
commit9ce1759311c6734deb69aa7253bf7297536a55d9
tree92c674bc360c3ec8703461273efd34db4e9b7968
parent27c34f732e7767b5cdc90fe7ad03ae0ea625671c
tree-wide: introduce disable_core_dumps helper and port existing users

Changes the core_pattern to prevent any core dumps by the kernel. Does
nothing if we're in a container environment as this is system wide
setting.
src/basic/util.c
src/basic/util.h
src/core/main.c
src/coredump/coredump.c