mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
coredump: add support for new %F PIDFD specifier
A new core_pattern specifier was added, %F, to provide a PIDFD to the usermode helper process referring to the crashed process. This removes all possible race conditions, ensuring only the crashed process gets inspected by systemd-coredump.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
13902e0253
commit
868d95577e
@@ -13,7 +13,7 @@
|
||||
# the core dump.
|
||||
#
|
||||
# See systemd-coredump(8) and core(5).
|
||||
kernel.core_pattern=|{{LIBEXECDIR}}/systemd-coredump %P %u %g %s %t %c %h %d
|
||||
kernel.core_pattern=|{{LIBEXECDIR}}/systemd-coredump %P %u %g %s %t %c %h %d %F
|
||||
|
||||
# Allow 16 coredumps to be dispatched in parallel by the kernel.
|
||||
# We collect metadata from /proc/%P/, and thus need to make sure the crashed
|
||||
|
||||
Reference in New Issue
Block a user