On 2018-05-17 05:33 PM, Andrey Grodzovsky wrote:
> BTW, just out of interest, how the FDs are passed to clients ? Using
> sockets ?

Yes, via the socket used for the X11 display connection.

> Can you point me to the code which does it ?

xserver/dri3/dri3_request.c:dri3_send_open_reply() =>

Note that since dri3_send_open_reply passes TRUE for WriteFdToClient's
do_close parameter, the file descriptor is closed in the Xorg process
after sending it to the client.

Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
dri-devel mailing list

Reply via email to