xserver-multidpi/os
Adam Jackson 78fa121f40 dix: Extend initial connection handshake for forwarding proxies
Forwarding proxies like sshd will appear to be local, even though they
aren't really.  This leads to weird behaviour for extensions that truly
require running under the same OS services as the client, like MIT-SHM
and DRI2.

Add two new legal values for the initial connection's byteOrder field,
'r' and 'R'.  These act like 'l' and 'B' respectively, but have the side
effect of forcing the client to be treated as non-local.  Forwarding
proxies should attempt to munge the first packet of the connection
accordingly; older servers will reject connections thusly munged, so the
proxy should fall back to passthrough if the munged connection attempt
fails.

Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-01-06 13:29:53 -05:00
..
.gitignore dix and os: gitignore dix.O and os.O 2011-09-23 17:14:47 -07:00
access.c dix: Pull client-is-local flag up to the ClientRec 2012-01-06 13:29:53 -05:00
auth.c Constify the reason string throughout the authorization check framework 2011-12-12 17:03:10 -08:00
backtrace.c os: Remove Error() 2011-10-11 21:23:46 -07:00
client.c Add Solaris support to DetermineClientCmd 2011-12-27 13:12:27 -08:00
connection.c dix: Extend initial connection handshake for forwarding proxies 2012-01-06 13:29:53 -05:00
io.c WriteToClient: preserve constness of buf while extracting length value 2011-12-12 17:03:10 -08:00
log.c LogVMessageVerb: Fix const mismatch warning 2011-11-23 12:15:06 -08:00
Makefile.am Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
mitauth.c Constify the reason string throughout the authorization check framework 2011-12-12 17:03:10 -08:00
oscolor.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
osdep.h dix: Pull client-is-local flag up to the ClientRec 2012-01-06 13:29:53 -05:00
osinit.c OsInit: store "/dev/null" in a const char * 2011-12-12 17:03:10 -08:00
rpcauth.c Constify the reason string throughout the authorization check framework 2011-12-12 17:03:10 -08:00
strcasecmp.c Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
strcasestr.c Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
strlcat.c os: include dix-config.h, not xorg-config.h 2010-11-11 08:41:38 +10:00
strlcpy.c Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
strndup.c Add fallback implementation of strndup() 2011-11-23 12:15:05 -08:00
utils.c LockServer: store path to LOCKDIR literal string in a const char * 2011-12-12 17:03:10 -08:00
WaitFor.c os: Reduce smart scheduler setup calls 2011-01-20 21:08:17 -05:00
xdmauth.c Constify the reason string throughout the authorization check framework 2011-12-12 17:03:10 -08:00
xdmcp.c xdmcp.c: fix three small const warnings 2011-12-12 17:03:10 -08:00
xprintf.c os: Remove Error() 2011-10-11 21:23:46 -07:00
xsha1.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xstrans.c os: Silence warnings when building with clang 2011-04-25 10:45:34 -07:00