Re: [PATCH xserver] Xext/shm: Refuse to work for remote clients

2018-06-14 Thread Adam Jackson
On Tue, 2018-06-05 at 13:05 +0300, Alexander Volkov wrote: > Avoid access to System V shared memory segment on the X server side > for clients forwarded via SSH. Also prevent them from hanging while > waiting for the reply from the ShmCreateSegment request. > > v2: Allow ShmQueryVersion request

[PATCH xserver] Xext/shm: Refuse to work for remote clients

2018-06-05 Thread Alexander Volkov
Avoid access to System V shared memory segment on the X server side for clients forwarded via SSH. Also prevent them from hanging while waiting for the reply from the ShmCreateSegment request. v2: Allow ShmQueryVersion request even for remote clients Bugzilla:

Re: [PATCH xserver] Xext/shm: Refuse to work for remote clients

2018-06-04 Thread Adam Jackson
On Mon, 2018-06-04 at 16:47 +0300, Alexander Volkov wrote: > diff --git a/Xext/shm.c b/Xext/shm.c > index fc8441c43..41ab0e2b6 100644 > --- a/Xext/shm.c > +++ b/Xext/shm.c > @@ -1302,6 +1302,10 @@ static int > ProcShmDispatch(ClientPtr client) > { > REQUEST(xReq); > + > +if

[PATCH xserver] Xext/shm: Refuse to work for remote clients

2018-06-04 Thread Alexander Volkov
Avoid access to System V shared memory segment on the X server side for clients forwarded via SSH. Also prevent them from hanging while waiting for the reply from the ShmCreateSegment request. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=11080 Signed-off-by: Alexander Volkov ---