[kernel-tests] 10/73: add another stack randomisation measurement test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
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.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux