This is an automated email from the git hooks/post-receive script.

jforbes pushed a commit to branch master
in repository kernel-tests.

commit 8118a1e821c8613114f68ff3777857e380c8a353
Author: Justin M. Forbes <[email protected]>
Date:   Tue Mar 4 13:47:38 2014 -0600

    skip stack-randomness on 32bit
---
 default/stack-randomness/runtest.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/default/stack-randomness/runtest.sh 
b/default/stack-randomness/runtest.sh
index 77d17de..4fa9b42 100755
--- a/default/stack-randomness/runtest.sh
+++ b/default/stack-randomness/runtest.sh
@@ -2,7 +2,14 @@
 #
 # Licensed under the terms of the GNU GPL License version 2
 
-COUNT=$(for i in `seq 1 1000` ; do grep stack /proc/self/maps; done  | sort -u 
| uniq -c | wc -l)
+ARCH=$(uname -m)
+
+if [ "$ARCH" == "x86_64" ]; then
+  COUNT=$(for i in `seq 1 1000` ; do grep stack /proc/self/maps; done  | sort 
-u | uniq -c | wc -l)
+else
+  exit 3
+fi
+
 
 if [ $COUNT -lt 950 ]; then
   echo "Stack randomness changes < 95% of the time ($COUNT)"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
kernel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to