commit f30ddab9646682404e8a34d36547ea5a3ebed84b
Author: Jan Palus <[email protected]>
Date:   Sun Mar 3 23:40:57 2019 +0100

    check AT_SECURE value on builders

 test.spec | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/test.spec b/test.spec
index 325be10..afa84c8 100644
--- a/test.spec
+++ b/test.spec
@@ -17,6 +17,16 @@ testing something
 
 %prep
 %setup -qcT
+cat > test.c <<EOF
+#include <stdio.h>
+#include <sys/auxv.h>
+
+int main() {
+  printf("%lu\n", getauxval(AT_SECURE));
+}
+EOF
+%{__cc} test.c -o test
+./test
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/test.git/commitdiff/f30ddab9646682404e8a34d36547ea5a3ebed84b

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to