aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-04-28 11:43:52 +0200
committerMattias Andrée <maandree@kth.se>2017-04-28 11:43:52 +0200
commit6617ed97ca693f525c3b92567ae543ca92a0364a (patch)
tree7afd7f747b7c4f9d76867ef7968327b24c3e6cba
parentUpdate TODO with security features (diff)
downloadmds-6617ed97ca693f525c3b92567ae543ca92a0364a.tar.gz
mds-6617ed97ca693f525c3b92567ae543ca92a0364a.tar.bz2
mds-6617ed97ca693f525c3b92567ae543ca92a0364a.tar.xz
Update todo: revert to old version on upgrade failure
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--TODO6
1 files changed, 6 insertions, 0 deletions
diff --git a/TODO b/TODO
index 676994d..ec55340 100644
--- a/TODO
+++ b/TODO
@@ -94,6 +94,12 @@ Security features:
group of the executable, and the path of the executable,
and possibly other attributes.
+Stability features:
+ On failed re-execution, execute back to the old version.
+ This is done by opening /proc/self/exec before preexecuting
+ and execute back to that file descriptor on upgrade failure
+ and close that file descriptor on successful upgrade
+
Full introspection may be useful for debugging.