Skip to contentSkip to conversation

+ support-piping-into-commands-in-proc-sys-kernel-core_pattern.patch added to -mm tree

DISCUSSION Andrew Morton 2 participants 2 messages Aug 18, 2006 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 8 lines · On Fri, 18 Aug 2006 20:35:39 +0200 Thierry Vignaud <[email protected]>…
Quoted 6 lines · [email protected] writes:

Subject: Support piping into commands in /proc/sys/kernel/core_pattern
From: Andi Kleen <[email protected]>

Using the infrastructure created in previous patches implement support to pipe core dumps into programs.

Quoted 7 lines
Quoted 4 lines

This is done by overloading the existing core_pattern sysctl with a new syntax:

|program

nice but what if the core analyzer segfaults too? looping? DOS coredumping :-) ?

rofl. Good question ;)

#3 lore raw
Quoted 6 lines
Quoted 4 lines

nice but what if the core analyzer segfaults too? looping? DOS coredumping :-) ?

rofl. Good question ;)

It can happen in a couple of situations anyways. But I guess we can just force ulimit -c to zero before running the pipe process.

-Andi