summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-10-07Finish removing OS/2 supportAdam Jackson3-891/+3
2008-10-07Remove DECNET support.Adam Jackson6-716/+3
This hasn't been consumed in the server or libs since 7.0.
2008-08-07Drastically simplify TRANS_OPEN_MAX.Adam Jackson2-50/+3
If your OS doesn't have sysconf(3), then life is already hard for you.
2008-08-07Massive ifdef cleanup, dropping a ton of unsupported platform code.Adam Jackson7-631/+28
2008-08-05Added a flag to enable "The OS already took care of securing this, please ↵Jeremy Huddleston1-0/+1
skip checking xauth" for use with Apple launchd sockets.
2008-07-15Apple: Allow Xquartz to provide an additional fd to xtrans since the dynamic ↵Jeremy Huddleston1-0/+14
addition code in the server isn't bulletproof yet.
2008-07-02xtrans 1.2.1xtrans-1.2.1Adam Jackson1-1/+1
2008-06-24Clear some pointer type mismatch warningsAlan Coopersmith1-2/+2
2008-06-24LocalClose() takes a ConnInfoPtr, not an fdAlan Coopersmith1-1/+1
2008-05-23Launchd: This functionality has been moved into xorg-serverJeremy Huddleston1-62/+1
2008-05-12Connection failure for abstract socket is ECONNREFUSED, not ENOENT.Adam Jackson1-1/+1
Apropos of bug #15884.
2008-05-12Ignore mkdir() errors when creating the abstract socket.Bill Nottingham1-1/+1
Red Hat bug #445303.
2008-05-10Remove extraneous execute bit from .c fileJames Cloos1-0/+0
2008-05-08Bump to 1.2xtrans-1.2Julien Cristau1-1/+1
2008-04-28disable UNIXCONN on MINGWAlan Hourihane1-4/+8
2008-04-26fix build for MAKEWORDAlan Hourihane1-0/+4
2008-04-26Update to winsock2Colin Harrison1-1/+1
2008-04-25Fix length calculation for the path for abstract unix domain socketsJames Cloos1-1/+1
Since the struct has a fixed-lenght char[] its sizeof() contains trailing NUL octets which results in corrupt abstract sockets. Instead, take the strlen(3) of the path, plus the single NUL octet (which identifies the path as an abstract path rather than a file- system path) plus the offset from the start of the struct to the start of the char array. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=15677
2008-04-23Only call WSAGetLastError() if there has been anColin Harrison1-5/+5
error condition.
2008-04-15Sun bug #6688467: _X11TransConvertAddress: Unknown family type on 64-bit SPARCAlan Coopersmith2-20/+22
Check for socklen_t definition and if found use it instead of size_t or int for the length argument to getpeername/getsockname/etc. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6688467>
2008-03-24Bug #10489: Don't retry unix socket connect()s on ENOENT.Loïc Minier1-9/+14
If the socket isn't there, it's not gonna magically appear. Either it's a server socket and you should have just waited for the SIGUSR1 from the server, or it's a stale reference to an ICE socket. However, do retry once, so fallback from abstract to filesystem namespace works. Originally Debian bug #385976.
2008-03-23BSD44SOCKETS is the wrong check for SOCK_MAXADDRLENJulien Cristau1-2/+2
GNU/kFreeBSD defines BSD44SOCKETS, but doesn't have SOCK_MAXADDRLEN. Check for the latter directly.
2008-03-05xtrans 1.1xtrans-1.1Adam Jackson1-4/+1
2008-03-05Add support for the abstract socket namespace under Linux.Adam Jackson2-34/+97
Unlike normal unix sockets, the abstract namespace is not bound to the filesystem. This has some notable advantages; /tmp need not exist, the socket directory need not have magic permissions, etc. xtrans servers will listen on both the normal and abstract socket endpoints; clients will attempt to connect to the abstract socket before connecting to the corresponding filesystem socket. Based on a patch by Bill Crawford.
2008-02-10Fixed #ifdef checks that were using i386 to use __i386__Jeremy Huddleston3-11/+11
""" It's simply obsolete, sloppy, compiler namespace pollution. The compiler is not allowed to predefine symbols that might conflict with ordinary identifiers. For backwards compatibility gcc currently predefines i386 when compiling for x86 32-bit (but not 64-bit), but that will go away. It is also not defined if you specify -ansi when invoking the compiler, because then it is seriously standards compliant. Other compilers shouldn't define it either. Correct code shouldn't rely on it being defined. However __i386__ is safe and proper. """
2007-12-02make launchd error messages less scaryBen Byer1-5/+7
2007-11-14Fix for incorrect processing of recycled launchd socket on OS XBen Byer1-2/+2
2007-11-14removed cvs tagsBen Byer9-48/+9
2007-09-11libxtrans: fixed a typo in my last commitDodji Seketeli1-1/+1
* Xtranssock.c: (SocketReopen): oops fix a typo in my last commit.
2007-09-11libxtrans: fix linux compilation breakageDodji Seketeli1-1/+14
* Xtranssock.c: (SocketReopen): protect use of BSD4.4 socket with BSD44SOCKETS macro. protect use of strlcnpy with HAVE_STRLCPY macro. That one is defined (or not) by the xserver configure.
2007-09-05changes to support launchd on OS XBen Byer2-3/+113
2007-09-05suppress warning about socket directory ownership on OS XBen Byer1-0/+2
We don't need to warn the user about the fact that the socket directory is not owned by root under OS X; on that platform, it's never owned by root, as the X server runs as the normal user.
2007-08-21Version bump: 1.0.4xtrans-1.0.4Alan Coopersmith1-1/+1
2007-07-18Fix typo in Xtranslcl.c (sprintf with size argument should be snprintf)Kean Johnston1-1/+1
2006-12-16bump to 1.0.3xtrans-1.0.3Daniel Stone1-1/+1
2006-12-06Makefile.am: make ChangeLog hook saferDaniel Stone1-1/+1
Make ChangeLog hook as safe as possible.
2006-10-13Bump to 1.0.2xtrans-1.0.2Adam Jackson1-1/+1
2006-10-12Fix the ChangeLog hook to distcheck.Adam Jackson1-0/+2
2006-09-15Remove GIT_DIR setting from git log commandAlan Coopersmith1-1/+1
2006-09-15Copy additional copyright/license statements from source to COPYINGAlan Coopersmith1-0/+79
2006-09-13Bug 728: RUI in _X11TransSocketINETGetAddr in file "Xtranssock.c"Alan Coopersmith1-0/+4
Bug #728: <https://bugs.freedesktop.org/show_bug.cgi?id=728> Patch #3527: <https://bugs.freedesktop.org/attachment.cgi?id=3527> bzero sockaddr structures before passing to kernel to convince memory checkers that they are initialized before use
2006-08-24Use SUN_LEN if it is defined on non-BSD44SOCKETS systemsAlan Coopersmith1-0/+6
2006-08-24Bug 4982: use offsetof for manipulating struct sockaddr_unPetr Salinger1-3/+3
X.Org Bugzilla #4982 <https://bugs.freedesktop.org/show_bug.cgi?id=4982> Patch #5424 <https://bugs.freedesktop.org/attachment.cgi?id=5424>
2006-08-24Try to capture the insanity of xtrans in a short README documentAlan Coopersmith1-0/+13
2006-08-24More sprintf -> snprintf conversionsAlan Coopersmith2-2/+3
2006-08-23Replace static ChangeLog with dist-hook to generate from git-logAlan Coopersmith2-95/+7
2006-08-23Add ResetListener for named pipe transportAlan Coopersmith1-40/+120
(more merging of Xtrans code from Solaris xtrans)
2006-08-22Merge more fixes from Solaris xtransAlan Coopersmith2-6/+8
Convert sprintf -> snprintf Don't use fake readv/writev on Solaris x86.
2006-08-21Merge Solaris named pipe transport support into LOCALCONNAlan Coopersmith2-52/+187
Also clean up #ifdefs in Xtranslcl for which transport types are supported Add "pipe" alias for named pipe transport on Solaris to match Solaris Xlib.
2006-08-21Add --enable-local-transport and set it on by default on SVR4 OS'esAlan Coopersmith1-2/+16