From owner-freebsd-hackers@freebsd.org Tue Aug 28 18:04:38 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8A13109308F for ; Tue, 28 Aug 2018 18:04:38 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 374BA8F183 for ; Tue, 28 Aug 2018 18:04:38 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-RoutePath: aGlwcGll X-MHO-User: cc1015fc-aaec-11e8-a747-09a40681ccbf X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id cc1015fc-aaec-11e8-a747-09a40681ccbf; Tue, 28 Aug 2018 18:04:27 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w7SI4On2012200; Tue, 28 Aug 2018 12:04:24 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1535479464.10172.123.camel@freebsd.org> Subject: Re: angel(2) system call, the quest for immortality, aka kill(2) with SIGSTOP/SIGKILL will *not* work From: Ian Lepore To: Eugene Grosbein , Warm White Wolf , asomers@freebsd.org, freebsd-hackers@freebsd.org Date: Tue, 28 Aug 2018 12:04:24 -0600 In-Reply-To: References: Content-Type: text/plain; charset="ASCII" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2018 18:04:38 -0000 On Wed, 2018-08-29 at 00:27 +0700, Eugene Grosbein wrote: > 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. Why are you feeding this obvious troll? -- Ian