From 718f7f26add5baf164e6bd38396e3f854535837b Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 15 Feb 2019 21:40:59 +0000 Subject: [PATCH] check8080: warn if we accidentally suck in stuff we don't save when switching --- Kernel/tools/check8080 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 Kernel/tools/check8080 diff --git a/Kernel/tools/check8080 b/Kernel/tools/check8080 new file mode 100755 index 00000000..096919af --- /dev/null +++ b/Kernel/tools/check8080 @@ -0,0 +1,7 @@ +#!/bin/sh +if anm $1 |egrep ".fra|block1|block2|block3|.dvi4|.mli4" +then + echo "***WARNING: Kernel is using unsafe operations" + exit 1 +fi +exit 0 -- 2.34.1