Files
xserver/os
Adam Jackson adefbaee49 os: Treat ssh as a non-local client (v4)
By the time we get to ComputeLocalClient, we've already done
NextAvailableClient → ReserveClientIds → DetermineClientCmd (assuming
we're built with #define CLIENTIDS), so we can look up the name of the
client process and refuse to treat ssh's X forwarding as if it were
local.

v2: (Michel Dänzer)
    * Only match "ssh" itself, not other executable names starting with
      that prefix.
    * Ignore executable path for the match.
v3: (Michel Dänzer)
    * Use GetClientCmdName (Mark Kettenis)
    * Perform check on Windows as well, but only ignore path on Cygwin
      (Martin Peres, Emil Velikov, Jon Turney)
v4: (Michel Dänzer)
    * Cut of any colon and whatever comes after it. (Adam Jackson)
    * Add bugzilla reference.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93261

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2016-03-28 12:41:53 -04:00
..
2015-11-30 11:51:22 -05:00
2014-11-12 10:25:00 +10:00
2012-03-21 13:54:42 -07:00
2016-02-08 21:49:56 -05:00
2012-03-21 13:54:42 -07:00
2014-11-12 10:25:00 +10:00
2015-12-01 13:55:03 -05:00
2015-11-30 11:51:22 -05:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2016-02-08 21:49:56 -05:00
2016-02-08 21:49:56 -05:00
2016-02-08 21:49:56 -05:00
2013-10-31 16:58:12 -07:00