1. 10 Nov, 2015 1 commit
  2. 06 Oct, 2015 1 commit
  3. 24 Sep, 2015 1 commit
  4. 21 Sep, 2015 1 commit
    • Jon TURNEY's avatar
      mingw: Fix NO_LOCAL_CLIENT_CRED build · cdd1d581
      Jon TURNEY authored
      Commit 4b4b9086 "os: support new implicit local user access mode [CVE-2015-3164
      2/3]" carefully places the relevant code it adds under !NO_LOCAL_CLIENT_CRED,
      but unfortunately doesn't notice that NO_LOCAL_CLIENT_CRED is defined as a
      side-effect in the middle of GetLocalClientCreds(), so many of these checks
      precede its definition.
      
      Move the check if NO_LOCAL_CLIENT_CRED should be defined to configure.ac, so it
      always occurs before it's first use.
      
      v2:
      Move check to configure.ac
      
      v3:
      Use AC_CACHE_CHECK and name cache varaible appropriately
      
      [ajax: Massaged commit message]
      Signed-off-by: default avatarJon TURNEY <jon.turney@dronecode.org.uk>
      Reviewed-by: default avatarRay Strode <rstrode@redhat.com>
      cdd1d581
  5. 02 Sep, 2015 1 commit
  6. 24 Aug, 2015 1 commit
    • Olivier Fourdan's avatar
      configurable maximum number of clients · d206c240
      Olivier Fourdan authored
      Make the maximum number of clients user configurable, either from the command
      line or from xorg.conf
      
      This patch works by using the MAXCLIENTS (raised to 512) as the maximum
      allowed number of clients, but allowing the actual limit to be set by the
      user to a lower value (keeping the default of 256).
      
      There is a limit size of 29 bits to be used to store both the client ID and
      the X resources ID, so by reducing the number of clients allowed to connect to
      the X server, the user can increase the number of X resources per client or
      vice-versa.
      
      Parts of this patch are based on a similar patch from Adam Jackson
      <ajax@redhat.com>
      
      This now requires at least xproto 7.0.28
      Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
      Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      d206c240
  7. 18 Aug, 2015 1 commit
  8. 08 Jul, 2015 4 commits
  9. 30 Jun, 2015 2 commits
  10. 26 May, 2015 1 commit
  11. 20 May, 2015 1 commit
    • Peter Hutterer's avatar
      dix: Add unaccelerated valuators to the ValuatorMask · 4c2f2cb4
      Peter Hutterer authored
      Allows a mask to carry both accelerated and unaccelerated motion at the same
      time.
      
      This is required for xf86-input-libinput where the pointer acceleration
      happens in libinput already, but parts of the server, specifically raw events
      and DGA rely on device-specific unaccelerated data.
      
      To ease integration add this as a second set to the ValuatorMask rather than
      extending all APIs to carry a second, possibly NULL set of valuators.
      
      Note that a valuator mask should only be used in either accel/unaccel or
      standard mode at any time. Switching requires either a valuator_mask_zero()
      call or unsetting all valuators one-by-one. Trying to mix the two will produce
      a warning.
      
      The server has a shortcut for changing a mask with the
      valuator_mask_drop_unaccelerated() call. This saves us from having to loop
      through all valuators on every event, we can just drop the bits we know we
      don't want.
      Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
      4c2f2cb4
  12. 12 May, 2015 1 commit
  13. 07 May, 2015 1 commit
  14. 21 Apr, 2015 4 commits
  15. 31 Mar, 2015 1 commit
    • Keith Packard's avatar
      randr: Add Monitor support (v1.1) · 7e1f86d4
      Keith Packard authored
      Store the user-defined monitors in the RandR screen private.
      
      Generate a list of monitors from both the user-defined ones and from
      any outputs not mentioned in one of the user-defined monitors. This list
      covers both the outputs in the main screen as well as any slaves.
      
      v1.1: airlied: fix up primary skipping bug,
      fix wrong height initialiser
      add get_active flag from updated protocol.
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      7e1f86d4
  16. 24 Mar, 2015 1 commit
  17. 16 Mar, 2015 1 commit
  18. 13 Mar, 2015 2 commits
  19. 11 Feb, 2015 1 commit
    • Alan Coopersmith's avatar
      Get rid of const warnings in XSERVER_INPUT_EVENT dtrace probe calls · 9e002dfc
      Alan Coopersmith authored
      Use typedefs to work around dtrace dropping const qualifiers from probe
      arguments when generating Xserver-dtrace.h.   Add new probes.h header to
      avoid having to replicate these typedefs in every file with dtrace probes.
      
      Gets rid of these warnings from gcc 4.8:
       getevents.c:1096:9:
        warning: passing argument 6 of '__dtrace_Xserver___input__event' discards
        'const' qualifier from pointer target type [enabled by default]
       getevents.c:1096:9:
        warning: passing argument 7 of '__dtrace_Xserver___input__event' disards
        'const' qualifier from pointer target type [enabled by default]
       getevents.c:1651:9:
        warning: passing argument 6 of '__dtrace_Xserver___input__event' disards
        'const' qualifier from pointer target type [enabled by default]
       getevents.c:1651:9:
        warning: passing argument 7 of '__dtrace_Xserver___input__event' disards
        'const' qualifier from pointer target type [enabled by default]
       getevents.c:1791:9:
        warning: passing argument 6 of '__dtrace_Xserver___input__event' disards
        'const' qualifier from pointer target type [enabled by default]
       getevents.c:1791:9:
        warning: passing argument 7 of '__dtrace_Xserver___input__event' disards
        'const' qualifier from pointer target type [enabled by default]
       getevents.c:1921:9:
        warning: passing argument 6 of '__dtrace_Xserver___input__event' disards
        'const' qualifier from pointer target type [enabled by default]
       getevents.c:1921:9:
        warning: passing argument 7 of '__dtrace_Xserver___input__event' disards
        'const' qualifier from pointer target type [enabled by default]
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      9e002dfc
  20. 23 Jan, 2015 1 commit
    • Adam Jackson's avatar
      dix: make RegionInit legal C++ · bb23fbf5
      Adam Jackson authored
      The CVE fix in:
      
          commit 97015a07
          Author: Alan Coopersmith <alan.coopersmith@oracle.com>
          Date:   Wed Jan 22 22:37:15 2014 -0800
      
              dix: integer overflow in RegionSizeof() [CVE-2014-8092 3/4]
      
      offended the C++ demons:
      
      ../../include/regionstr.h:147:45: error: invalid conversion from 'void*' to
      'pixman_region16_data_t* {aka pixman_region16_data*}' [-fpermissive]
      
      Normally this isn't a problem, because around here we have the sense and
      common decency to not use C++, but this does make tigervnc fail to build,
      which is a little rude of us.
      Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
      Reviewed-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      bb23fbf5
  21. 09 Dec, 2014 4 commits
  22. 12 Nov, 2014 4 commits
  23. 29 Oct, 2014 1 commit
  24. 27 Oct, 2014 2 commits
  25. 09 Oct, 2014 1 commit
    • Alan Coopersmith's avatar
      Use unique display name for each xi2 test program [v3] · da887726
      Alan Coopersmith authored
      make -j 8 check was sporadically failing in different xi2 tests.
      After adding the asserts in the previous commit to catch xkb failure
      it became easier to catch the failures and see that multiple tests
      were running at once trying to write to /tmp/server-(null).xkm and
      then delete it, and interfering with each other.
      
      Putting a unique string into the display variable let them each write
      to their own file and not interfere with others.
      
      v2: Fix Linux bits:
      
        Add #include <errno.h> to get a declaration of
        program_invocation_name on Linux.
      
        Use only the last portion of the pathname so that the resulting
        display name doesn't contain any slashes.
      
      v3: use program_invocation_short_name on Linux
      
        This is the same as program_invocation_name, except is has
        stripped off any path prefix.
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      da887726