[PATCH] os: Don't listen to 'tcp' or 'unix' by default. Add '-listen' option.
Mark Kettenis
mark.kettenis at xs4all.nl
Sat Sep 13 05:41:46 PDT 2014
> From: Keith Packard <keithp at keithp.com>
> Date: Fri, 12 Sep 2014 15:19:53 -0700
>
> Mark Kettenis <mark.kettenis at xs4all.nl> writes:
>
> > 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...
Running with "-nolisten unix" on OpenBSD indeed disables local connections.
More information about the xorg-devel
mailing list