1. 10 May, 2022 5 commits
    • Olivier Fourdan's avatar
      Allow partial connection to succeed · 562311db
      Olivier Fourdan authored and Alan Coopersmith's avatar Alan Coopersmith committed
      Xwayland can optionally be socket-activated by the Wayland compositor,
      in which case it would use only the sockets provided by the compositor.
      However, that prevents other transport protocol from working, because
      when it's given a socket from the Wayland compositor, it would disable
      all other connections and rely solely on the given socket.
      Change `MakeAllCOTSServerListeners` to allow for partial connections so
      that if `partial` is set to a non-zero value by the caller, we do not
      bail out in the address is already in use.
      That allows the continue trying with other protocols even if the local
      conenction fails (as this is already handled by the socket from the
      Wayland compositor).
      Related: xorg/xserver#817
      Signed-off-by: Olivier Fourdan's avatarOlivier Fourdan <ofourdan@redhat.com>
    • Alan Coopersmith's avatar
    • Alan Coopersmith's avatar
      Fix spelling/wording issues · c069ede3
      Alan Coopersmith authored
      Found by using:
          codespell --builtin clear,rare,usage,informal,code,names
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
    • Alan Coopersmith's avatar
    • Ray Strode's avatar
      Automatically disable inet6 transport if ipv6 is disabled on machine · 7898badd
      Ray Strode authored
      If a machine is booted with ipv6.disable=1, trying to bind to an
      AF_INET6 socket will fail with AFNOSUPPORT.
      The tcp transport automatically falls back to ipv4 in this case, but
      the more specific inet6 transport just fails.
      This failure leads to MakeAllCOTSServerListeners returning a partial
      Unfortunately, the X server can't really contiue with partial successes
      from this function if -displayfd is in use, since that would, in other
      cases, potentially lead to the -displayfd electing a display number that
      is potentially partially in use by a rogue program.
      This commit addresses the issue by automatically disabling transports
      when they fail with AFNOSUPPORT, leading them to get ignored, rather than
      proceeding and ultimately returning from MakeAllCOTSServerListerns with
  2. 14 Oct, 2019 1 commit
  3. 30 Sep, 2019 3 commits
  4. 16 Mar, 2019 1 commit
  5. 08 Dec, 2018 1 commit
  6. 20 Nov, 2018 1 commit
  7. 01 Oct, 2018 1 commit
  8. 25 Aug, 2018 2 commits
  9. 25 Mar, 2018 1 commit
  10. 26 Jan, 2017 2 commits
  11. 11 Sep, 2016 1 commit
  12. 01 Sep, 2016 1 commit
    • Adam Jackson's avatar
      Revert "Make FreeConnInfo static" · 2e4c338e
      Adam Jackson authored
      <anholt> ajax: 75419e6b of xtrans also
               seems to have broken xtest.
      And indeed it does, xts5 knows a fair amount about xlib internals for
      some reason. Whether that's cromulent or not, we want to be able to run
      automatic tests from top-of-tree, so we can't leave this broken.
      This reverts commit 75419e6b
      Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
  13. 19 May, 2016 4 commits
  14. 18 May, 2016 1 commit
  15. 04 Dec, 2015 1 commit
  16. 28 Nov, 2015 1 commit
  17. 25 Sep, 2015 1 commit
  18. 20 Sep, 2014 1 commit
  19. 13 Sep, 2014 1 commit
  20. 24 Aug, 2014 3 commits
  21. 23 Aug, 2014 4 commits
  22. 31 Mar, 2014 2 commits
  23. 26 Mar, 2014 1 commit