From c0df94ec22da93a2a39070da1f8e76c89e182bd7 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Wed, 15 Jul 2015 10:46:04 +0200 Subject: [PATCH] RS: remove support for unsafe updates This feature should no longer be necessary. Change-Id: I9bff628be020cf1741bffaeb3bb97e3660a54aea --- minix/commands/service/service.c | 9 ++------- minix/include/minix/rs.h | 11 +++++------ minix/include/minix/sef.h | 5 ++--- minix/servers/rs/request.c | 3 --- minix/servers/rs/update.c | 14 ++----------- minix/servers/rs/utility.c | 6 +++--- minix/servers/vm/main.c | 34 ++++++++++---------------------- minix/tests/testrelpol.sh | 9 ++------- 8 files changed, 26 insertions(+), 65 deletions(-) diff --git a/minix/commands/service/service.c b/minix/commands/service/service.c index 63448e311..2318ac220 100644 --- a/minix/commands/service/service.c +++ b/minix/commands/service/service.c @@ -95,7 +95,6 @@ static int known_request_types[] = { #define OPT_FORCE_INIT_FAIL "-y" /* force init failure (for debugging) */ #define OPT_FORCE_INIT_TIMEOUT "-z" /* force init timeout (for debugging) */ #define OPT_FORCE_INIT_DEFCB "-d" /* force init default callback */ -#define OPT_UNSAFE_LU "-u" /* allow unsafe update */ #define OPT_NOMMAP_LU "-m" /* don't inherit mmaped regions */ #define OPT_DETACH "-e" /* detach on update/restart */ #define OPT_NORESTART "-f" /* don't restart */ @@ -176,11 +175,11 @@ static void print_usage(char *app_name, char *problem) fprintf(stderr, "Warning, %s\n", problem); fprintf(stderr, "Usage:\n"); fprintf(stderr, - " %s [%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s] (up|run|edit|update) [%s ] [%s ] [%s ] [%s ] [%s ] [%s ] [%s ] [%s ] [%s ] [%s