]> git.ipfire.org Git - thirdparty/systemd.git/blame - sysctl.d/50-coredump.conf.in
update TODO
[thirdparty/systemd.git] / sysctl.d / 50-coredump.conf.in
CommitLineData
f5e04665
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
f5e04665
LP
6# (at your option) any later version.
7
6635f57d 8# See sysctl.d(5) for the description of the files in this directory.
f5e04665 9
6635f57d
ZJS
10# Pipe the core file to systemd-coredump. The systemd-coredump process spawned
11# by the kernel will start a second copy of itself as the
12# systemd-coredump@.service, which will do the actual processing and storing of
13# the core dump.
14#
15# See systemd-coredump(8) and core(5).
47cf786c 16kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %P %u %g %s %t %c %h
6635f57d
ZJS
17
18# Also dump processes executing a set-user-ID/set-group-ID program that is
19# owned by a user/group other than the real user/group ID of the process, or
20# a program that has file capabilities. ("2" is called "suidsafe" in core(5)).
21#
22# systemd-coredump will store the core file owned by the effective uid and gid
23# of the running process (and not the filesystem-user-ID which the kernel uses
24# when saving a core dump).
25#
26# See proc(5), setuid(2), capabilities(7).
27fs.suid_dumpable=2