This is an automated email from the git hooks/post-receive script.
jforbes pushed a commit to branch master
in repository kernel-tests.
commit 6f2e5b9a8fd9cd7cbc9ee7760d9ed18f1202dcf2
Author: Dave Jones <davej(a)redhat.com>
Date: Tue Jun 12 15:10:28 2012 -0400
add another stack randomisation measurement test
---
default/stack-randomness/runtest.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/default/stack-randomness/runtest.sh b/default/stack-randomness/runtest.sh
new file mode 100755
index 0000000..ac519a7
--- /dev/null
+++ b/default/stack-randomness/runtest.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+COUNT=$(for i in `seq 1 1000` ; do grep stack /proc/self/maps; done | sort -u | uniq -c
| wc -l)
+
+if [ $COUNT -lt 950 ]; then
+ echo "Stack randomness changes < 95% of the time ($COUNT)"
+ exit -1
+else
+ exit 0
+fi
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.