Skip to contentSkip to conversation

auditing of process exit

DISCUSSION Hassan Sultan 2 participants 2 messages Dec 14, 2014 – Dec 15, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

I can't figure out how to get audit log entries for process termination.

Abnormal process termination auditing occurs, however for NORMAL process termination, I can't find anything.

I tried the syscall route, using the exit syscall, however this does not seem to work, maybe because it logs on exit of the syscall and that call never returns ?

How can I get a log of all processes exiting then ?

Thanks,

Hassan

#1 lore raw
Quoted 4 lines · Hassan Sultan

I can't figure out how to get audit log entries for process termination.

Abnormal process termination auditing occurs, however for NORMAL process termination, I can't find anything.

Programs typically call exit_group(2) which terminates all threads.

-Steve