Linux kernel leaves open path to run script right before a process dumps core

(written by Lawrence Krubner, however indented passages are often quotes)

A very interesting trick.

Source