> On 5 Aug 2022, at 17:12, Paul Eggert <eggert@cs.ucla.edu> wrote: > > On 8/5/22 12:20, Szabolcs Nagy wrote: >> btw can't emacs interpose _exit? > > Not portably, no. But a possible hook will be glibc specific anyway, so I am not sure why interposing _exit on glibc is not an option for emacs.