Re: Call for testing: OpenSSH 7.2

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Tue, Feb 16, 2016 at 01:28:42AM -0500, Jeff Wieland wrote:
> The Solaris privilege code breaks building on Solaris 10.  If
> you let configure just do its thing, you get the following error
> when compiling:
> 
> "sandbox-solaris.c", line 22: #error: "--with-solaris-privs must be used
> with the Solaris sandbox"

Could you please try this patch?  It adds priv_basicset to the test for
whether or not we have usable solaris privs support.  Note that you will
need to run "autoreconf" after applying the patch to rebuild configure.

Thanks.

diff --git a/configure.ac b/configure.ac
index b4c0aaa..5b50b9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -897,8 +897,10 @@ mips-sony-bsd|mips-sony-newsos4)
 		AC_MSG_RESULT([no])
 	fi
 	AC_CHECK_FUNC([setppriv],
-		[ AC_CHECK_HEADERS([priv.h], [
-			SOLARIS_PRIVS="yes"
+		AC_CHECK_FUNC([priv_basicset],
+			[ AC_CHECK_HEADERS([priv.h], [
+				SOLARIS_PRIVS="yes"
+			])
 		])
 	])
 	AC_ARG_WITH([solaris-contracts],

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux