[packages/test] check AT_SECURE value on builders
atler
atler at pld-linux.org
Sun Mar 3 23:43:24 CET 2019
commit f30ddab9646682404e8a34d36547ea5a3ebed84b
Author: Jan Palus <atler at pld-linux.org>
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
More information about the pld-cvs-commit
mailing list