Browse files

//DNA/linux/TODO: add leaked information

  • Loading branch information...
1 parent f816afc commit d1d4eebf357f48690d6aeba9eb77e4bb1a25c66d tv committed Sep 8, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 DNA/linux/TODO
View
6 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

0 comments on commit d1d4eeb

Please sign in to comment.