[X2Go-Commits] [nx-libs] 14/429: libNX_X11: set XTRANS_SEND_FDS=0

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:35:59 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 1215c36f77032ad4f08e1150d98101478a57cbf7
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Fri Mar 1 00:08:43 2019 +0100

    libNX_X11: set XTRANS_SEND_FDS=0
    
    NX does not support passing around FDs for local connections.
    
    This will not cause any change in the resulting code as this variable
    had been unset by default.
    
    Fixes ArcticaProject/nx-libs#784
---
 nx-X11/lib/configure.ac | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/nx-X11/lib/configure.ac b/nx-X11/lib/configure.ac
index 09204bba6..c616dab57 100644
--- a/nx-X11/lib/configure.ac
+++ b/nx-X11/lib/configure.ac
@@ -81,7 +81,10 @@ NX_XTRANS_SECURE_RPC_FLAGS
 # to correct user/group."
 #
 # -> we want to always fail in that scenario.
-AC_DEFINE(FAIL_HARD,1,[Fail if the xtrans socket directory has wrong permissions])
+AC_DEFINE(FAIL_HARD,1,[Fail if the xtrans socket directory cannot be chowned/chmod'ed])
+
+# Actually disable all of the FD passing code, NX does not support it.
+AC_DEFINE(XTRANS_SEND_FDS,0,[Disable xtrans FD passing code.])
 
 # Check for dlopen
 AC_MSG_CHECKING([if run-time linking is supported])

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list