New paths for Wayland sockets (Re: Enabling Android-style per application user ids)

Carsten Haitzler raster at rasterman.com
Fri Nov 3 13:32:05 UTC 2017


On Fri, 3 Nov 2017 11:04:27 +0100 (CET) Jan Engelhardt <jengelh at inai.de> said:

> 
> On Friday 2017-11-03 10:37, Pekka Paalanen wrote:
> >
> >> Summary of (individual) proposals follows.
> >> 
> >> >- modify WAYLAND_DISPLAY to support absolute paths which overrides
> >> >  any search paths  
> >> 
> >>  - introduce new WAYLAND_SOCKET
> >>  - modify WAYLAND_DISPLAY to reject '/'
> >
> >What would be the functional difference to WAYLAND_DISPLAY accepting
> >absolute paths? Why would a different environment variable make a
> >difference?
> 
> Well because you cannot establish for certain that people have or have not
> already used WAYLAND_DISPLAY=/newsock in the concatenation sense.

I think we can just call it a day on this and say anyone doing that has
fundamentally made a mistake. They likely dont set the env var at all in fact.
Wayland is still young and I think can tolerate this kind of change at this
point.

> (Depending on who you ask and how much weight they give to it,
> breaking application interfaces is out of the question. That's all.)
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - raster at rasterman.com



More information about the wayland-devel mailing list