[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg-devel
Subject: Re: [PATCH xserver] os: Treat ssh as a non-local client (v4)
From: Adam Jackson <ajax () nwnk ! net>
Date: 2016-03-28 16:45:20
Message-ID: 1459183520.7564.12.camel () nwnk ! net
[Download RAW message or body]
On Mon, 2016-03-28 at 18:11 +0900, Michel Dänzer wrote:
> From: Adam Jackson <ajax@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@redhat.com>
> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
remote: I: patch #78481 updated using rev adefbaee499b9679c6cac21f52ec6545af2b36b5.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
1c90797..adefbae master -> master
- ajax
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic