- (djm) [configure.ac] Don't probe seccomp capability of running kernel

at configure time; the seccomp sandbox will fall back to rlimit at
       runtime anyway. Patch from plautrba AT redhat.com in bz#2011
This commit is contained in:
Damien Miller 2013-02-07 10:11:05 +11:00
parent dc75d1fc04
commit 5c3bbd76aa
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
20100207
- (djm) [configure.ac] Don't probe seccomp capability of running kernel
at configure time; the seccomp sandbox will fall back to rlimit at
runtime anyway. Patch from plautrba AT redhat.com in bz#2011
20130120 20130120
- (djm) [cipher-aes.c cipher-ctr.c openbsd-compat/openssl-compat.h] - (djm) [cipher-aes.c cipher-ctr.c openbsd-compat/openssl-compat.h]
Move prototypes for replacement ciphers to openssl-compat.h; fix EVP Move prototypes for replacement ciphers to openssl-compat.h; fix EVP

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.500 2013/01/09 05:42:47 djm Exp $ # $Id: configure.ac,v 1.501 2013/02/06 23:11:05 djm Exp $
# #
# Copyright (c) 1999-2004 Damien Miller # Copyright (c) 1999-2004 Damien Miller
# #
@ -15,7 +15,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
AC_REVISION($Revision: 1.500 $) AC_REVISION($Revision: 1.501 $)
AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_SRCDIR([ssh.c])
AC_LANG([C]) AC_LANG([C])
@ -128,7 +128,7 @@ AC_CHECK_DECL([SECCOMP_MODE_FILTER], [have_seccomp_filter=1], , [
fi fi
if test "x$have_seccomp_filter" = "x1" ; then if test "x$have_seccomp_filter" = "x1" ; then
AC_MSG_CHECKING([kernel for seccomp_filter support]) AC_MSG_CHECKING([kernel for seccomp_filter support])
AC_RUN_IFELSE([AC_LANG_PROGRAM([[ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <errno.h> #include <errno.h>
#include <linux/seccomp.h> #include <linux/seccomp.h>
#include <stdlib.h> #include <stdlib.h>
@ -141,8 +141,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
# Disable seccomp filter as a target # Disable seccomp filter as a target
have_seccomp_filter=0 have_seccomp_filter=0
], ]
[ AC_MSG_RESULT([cross-compiling, assuming yes]) ]
) )
fi fi