[kernel-tests] 45/73: skip stack-randomness on 32bit

[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 8118a1e821c8613114f68ff3777857e380c8a353
Author: Justin M. Forbes <jforbes@xxxxxxxxxx>
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
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/kernel@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