summaryrefslogtreecommitdiffstats
path: root/DNA
diff options
context:
space:
mode:
Diffstat (limited to 'DNA')
-rw-r--r--DNA/linux/TODO6
1 files changed, 6 insertions, 0 deletions
diff --git a/DNA/linux/TODO b/DNA/linux/TODO
index 64701dac..fd0d927f 100644
--- a/DNA/linux/TODO
+++ b/DNA/linux/TODO
@@ -1,5 +1,6 @@
#! /bin/sh
+## find all syscalls that have to be patched
h="/lib/modules/$(uname -r)/build/include/linux/syscalls.h"
sed -n 's/.*sys_\([^)]\+\)(.*/\1/p' $h | while read f; do
x="`( man 3p $f || man 3 $f || man $f ) 2>/dev/null`"
@@ -8,3 +9,8 @@ sed -n 's/.*sys_\([^)]\+\)(.*/\1/p' $h | while read f; do
echo "$x" | grep -q EACCES && echo 1 || echo 0``
` $f"
done
+
+# disable interrupts before modifying the sys_call_table
+# see: sti tli
+# disable other CPUs: suspend-code [the suspend code does all this, too]
+# TLB flushen: irgendwo bei der architektur