uninterruptible process

Axel M. axel.moittier at pm.me
Mon Jan 30 11:20:32 EST 2023

Hi all,

I'm looking for system call that can make my process uninterrupted until
it completes successfully.

My app receives a SIGTERM signal (when an shutdown is triggerd), then
needs to write into a file with a simple fopen().
Actually it can't write in my file because I think it is automatically
killed (SIGKILL) by systemd.

Do you have any advice on this ?
Axel M.

More information about the Kernelnewbies mailing list