forked from openssh/openssh-portable
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- (djm) [configure.ac sandbox-capsicum.c sandbox-rlimit.c] Disable
RLIMIT_NOFILE pseudo-sandbox on FreeBSD. In some configurations, libc will attempt to open additional file descriptors for crypto offload and crash if they cannot be opened.
- Loading branch information
Showing
4 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# $Id: configure.ac,v 1.562 2014/01/25 02:16:59 djm Exp $ | ||
# $Id: configure.ac,v 1.563 2014/01/25 22:39:53 djm Exp $ | ||
# | ||
# Copyright (c) 1999-2004 Damien Miller | ||
# | ||
|
@@ -15,7 +15,7 @@ | |
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
||
AC_INIT([OpenSSH], [Portable], [[email protected]]) | ||
AC_REVISION($Revision: 1.562 $) | ||
AC_REVISION($Revision: 1.563 $) | ||
AC_CONFIG_SRCDIR([ssh.c]) | ||
AC_LANG([C]) | ||
|
||
|
@@ -780,6 +780,9 @@ mips-sony-bsd|mips-sony-newsos4) | |
AC_DEFINE([BROKEN_STRNVIS], [1], | ||
[FreeBSD strnvis argument order is swapped compared to OpenBSD]) | ||
TEST_MALLOC_OPTIONS="AJRX" | ||
# Preauth crypto occasionally uses file descriptors for crypto offload | ||
# and will crash if they cannot be opened. | ||
AC_DEFINE([SANDBOX_SKIP_RLIMIT_NOFILE]) | ||
;; | ||
*-*-bsdi*) | ||
AC_DEFINE([SETEUID_BREAKS_SETUID]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters