summaryrefslogtreecommitdiffstats
path: root/DNA
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-08 20:05:20 +0200
committertv <tv@xso>2011-09-08 20:05:20 +0200
commitd1d4eebf357f48690d6aeba9eb77e4bb1a25c66d (patch)
tree08580511ba115931a4f82416e079d5765ebafca2 /DNA
parentf816afc51c5479f7cb86f39501079e4600ebca22 (diff)
//DNA/linux/TODO: add leaked information
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