Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2018 00:27:00 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Warm White Wolf <warmwhitewolf@gmail.com>, asomers@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: angel(2) system call, the quest for immortality, aka kill(2) with SIGSTOP/SIGKILL will *not* work
Message-ID:  <f7e0c867-fcb8-ed2c-6b57-15a4823a52d5@grosbein.net>
In-Reply-To: <CAFnM2KQVd5hCP8MfX26KM5dMJpW2gF3af_DHZoDMZjfyuz6YVA@mail.gmail.com>
References:  <CAFnM2KTzigt7gCZaMK=bqEXV5dM=gW8fGpBFdt12emGbEyv89w@mail.gmail.com> <CAOtMX2jA6VZZLf6cbQZsE%2BLVL-1ea3Jk_C0KAwjZfk_D9z-gVw@mail.gmail.com> <CAFnM2KQVd5hCP8MfX26KM5dMJpW2gF3af_DHZoDMZjfyuz6YVA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
28.08.2018 23:36, Warm White Wolf wrote:

> Seriously : suppose your well crafted, eventually audited program, is more
> important than
> your whole informatic system, perhaps the raison d'etre of your business.
> You want to live,
> more than the 1% errors of your sysadmins.
> 
> Ludic : you have an account in the Unix machines at your university. You
> wrote your small
> HTTPD, and you want that your sysadmins won't kill your power-httpd.
> 
> fork(void) was pretty extremy at it's time...
> 
> As a power Unix-user, a config option for the kernel, at compile-time, can
> be provided...

This does not protect a process from power outage. And this does not (and should not)
protect a process from system shutdown/reboot to install critical updates, for example.

Well crafted programm must be designed to be ready to such events,
be able to recover and continue execution after restart.

And well crafted operating systems do not kill processes with SIGKILL easily,
they use other means to inform processes to terminate execution, so is FreeBSD.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f7e0c867-fcb8-ed2c-6b57-15a4823a52d5>