Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
David van Moolenbroek 6c7e614940 SEF: identity transfer only after controlled crash
Transparent (endpoint-preserving) restarts with identity transfer
are meant to exercise the crash recovery system only.  After *real*
crashes, such restarts are useless at best and dangerous at worst,
because no state integrity can be guaranteed afterwards.  Thus,
except after a controlled crash, it is best not to perform such
restarts at all.  This patch changes SEF such that identity transfer
is successful only if the old process was the subject of a crash
induced through "service fi".  As a result, testrelpol.sh should
continue to be able to use identity transfers for testing purposes,
but any real crash will be handled more appropriately.

This fixes #126.

Change-Id: Idc17ac7b3dfee05098529cb889ac835a0cd03ef0
2016-06-17 18:19:25 +00:00
bin Import NetBSD ps(1) 2016-01-13 20:32:52 +01:00
common w(1): switch to libkvm 2016-01-13 20:32:50 +01:00
crypto Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
distrib libc: enable all functionality in net/ 2016-03-13 16:03:39 +00:00
docs Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
etc Boot-to-ramdisk image generation scripts 2016-03-21 21:01:20 +01:00
external Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
games Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
gnu NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
include Start using sysctl(3) throughout userland 2016-01-13 20:32:45 +01:00
lib Revert "libutil: add getmaxpartitions() implementation" 2016-03-13 19:51:58 +00:00
libexec ld.elf_so: sysctl support uncommented 2016-01-16 14:04:24 +01:00
minix SEF: identity transfer only after controlled crash 2016-06-17 18:19:25 +00:00
releasetools Boot-to-ramdisk image generation scripts 2016-03-21 21:01:20 +01:00
sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
share Integrate ASR instrumentation into build system 2016-01-13 20:32:34 +01:00
sys libc: enable all functionality in net/ 2016-03-13 16:03:39 +00:00
tests tests: add most kyua kernel tests 2016-01-16 14:04:25 +01:00
tools Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
usr.bin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
usr.sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00