[PATCH] os: Don't listen to 'tcp' or 'unix' by default. Add '-listen' option.

Keith Packard keithp at keithp.com
Fri Sep 12 15:19:53 PDT 2014


Mark Kettenis <mark.kettenis at xs4all.nl> writes:

> Looks like you're on my side of the fence on this issue ;).

Absolutely -- TCP connections to X are archaic.

> Unconditionally disabling the "unix" listen ports by default might be
> a step too far.  Abstract sockets are only available on Linux.

Yes, of course.

> So on other architectures (or at least the ones where LOCALCONN isn't
> defined) this would leave us with no listen ports at all.  I may have
> gotten lost in the #ifdef maze though...

It's a terrible maze in there; I have no idea whether disabling "unix"
will actually disable local connections on BSD or not; I fear the best
way to find out is for you to just run the X server with --nolisten unix
and see what happens...

If it's just a linux thing, we can add an #ifdef around the "unix" entry
in the default no listen list.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140912/850f879c/attachment.sig>


More information about the xorg-devel mailing list