[packages/openssh] - tests require kernel with NO_NEW_PRIVS prctl support (the same for default configuration)
qboosh
qboosh at pld-linux.org
Thu Mar 19 20:51:32 CET 2015
commit 6f884d977b0d46ed7a451cb72275317f01063cdb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Mar 19 20:53:02 2015 +0100
- tests require kernel with NO_NEW_PRIVS prctl support (the same for default configuration)
openssh.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/openssh.spec b/openssh.spec
index e4702f9..094c1ae 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -90,6 +90,8 @@ BuildRequires: pam-devel
BuildRequires: rpm >= 4.4.9-56
BuildRequires: rpmbuild(macros) >= 1.627
BuildRequires: sed >= 4.0
+# libseccomp based sandbox requires NO_NEW_PRIVS prctl flag
+%{?with_tests:BuildRequires: uname(release) >= 3.5}
BuildRequires: zlib-devel >= 1.2.3
Requires: zlib >= 1.2.3
%if "%{pld_release}" == "ac"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/6f884d977b0d46ed7a451cb72275317f01063cdb
More information about the pld-cvs-commit
mailing list