[PATCH xserver] os: Treat ssh as a non-local client (v4)

poma pomidorabelisima at gmail.com
Tue Apr 5 19:34:37 UTC 2016


On 28.03.2016 11:11, Michel Dänzer wrote:
> From: Adam Jackson <ajax at redhat.com>
> 
> 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 at redhat.com>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> ---
>  os/access.c | 43 ++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 40 insertions(+), 3 deletions(-)
> 
...

It has not yet been pushed to the server-1.18-branch,
i.e. ain't in the xserver 1.18.3.

Is considered as a part of server-1.19-branch?




More information about the xorg-devel mailing list