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

2017-11-09 Thread Matt Hoosier
On Wed, Nov 8, 2017 at 2:16 AM, Pekka Paalanen wrote: > On Tue, 7 Nov 2017 19:42:42 + > Daniel Stone wrote: > >> Hi, >> >> On 3 November 2017 at 07:33, Pekka Paalanen wrote: > >> > - when the current socket search fails, add

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

2017-11-08 Thread Jonas Ådahl
I'd just like to point out that changing WAYLAND_DISPLAY to be able to point to a socket using an absolute path is not completely backward compatible. In the wl_display_connect() documentation it says that "The server socket must be placed in XDG_RUNTIME_DIR for this function to find it."

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

2017-11-08 Thread Pekka Paalanen
On Tue, 7 Nov 2017 19:42:42 + Daniel Stone wrote: > Hi, > > On 3 November 2017 at 07:33, Pekka Paalanen wrote: > > - when the current socket search fails, add one more place to look > > in: /run/wayland/$WAYLAND_DISPLAY with the default

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

2017-11-07 Thread Daniel Stone
Hi, On 3 November 2017 at 07:33, Pekka Paalanen wrote: > People, give your acks/nacks for the two ideas, please: > > - modify WAYLAND_DISPLAY to support absolute paths which overrides > any search paths ACK. It's a simple and straightforward extension to current

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

2017-11-07 Thread Martin Flöser
Am 2017-11-03 08:33, schrieb Pekka Paalanen: People, give your acks/nacks for the two ideas, please: - modify WAYLAND_DISPLAY to support absolute paths which overrides any search paths + 1 - like others expressed: I don't see any security issues with that. Allowing an absolute path makes

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

2017-11-07 Thread Matt Hoosier
Hi Pekka, What do you think is a good amount of time to allow for people to respond to your call for acks/nacks? On Fri, Nov 3, 2017 at 8:33 AM, Carsten Haitzler wrote: > On Fri, 3 Nov 2017 12:47:39 +0200 Pekka Paalanen said: > >> On Fri, 3 Nov 2017

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

2017-11-03 Thread Carsten Haitzler
On Fri, 3 Nov 2017 12:47:39 +0200 Pekka Paalanen said: > On Fri, 3 Nov 2017 11:04:27 +0100 (CET) > Jan Engelhardt wrote: > > > On Friday 2017-11-03 10:37, Pekka Paalanen wrote: > > > > > >> Summary of (individual) proposals follows. > > >> > > >> >-

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

2017-11-03 Thread Carsten Haitzler
On Fri, 3 Nov 2017 11:04:27 +0100 (CET) Jan Engelhardt 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 > >>

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

2017-11-03 Thread Matt Hoosier
On Fri, Nov 3, 2017 at 2:33 AM, Pekka Paalanen wrote: > On Thu, 2 Nov 2017 10:07:28 -0500 > Matt Hoosier wrote: > > > On Thu, Nov 2, 2017 at 3:36 AM, Pekka Paalanen > wrote: > > > > > On Wed, 1 Nov 2017 13:44:50 -0500 > > > Matt

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

2017-11-03 Thread Jan Engelhardt
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

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

2017-11-03 Thread Pekka Paalanen
On Fri, 3 Nov 2017 09:38:46 +0100 (CET) Jan Engelhardt wrote: > On Friday 2017-11-03 08:33, Pekka Paalanen wrote: > >> > > > >> > > wl_display_connect() always attempts to contact a server socket living > >> > > at > >> > > ${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}. > > > >> >

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

2017-11-03 Thread Carsten Haitzler
On Fri, 3 Nov 2017 09:38:46 +0100 (CET) Jan Engelhardt said: > > On Friday 2017-11-03 08:33, Pekka Paalanen wrote: > >> > > > >> > > wl_display_connect() always attempts to contact a server socket living > >> > > at ${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}. > > > >> > Modifying

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

2017-11-03 Thread Jan Engelhardt
On Friday 2017-11-03 08:33, Pekka Paalanen wrote: >> > > >> > > wl_display_connect() always attempts to contact a server socket living at >> > > ${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}. > >> > Modifying the meaning of WAYLAND_DISPLAY environment variable to >> > support also absolute paths has been

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

2017-11-03 Thread Carsten Haitzler
On Fri, 3 Nov 2017 09:33:47 +0200 Pekka Paalanen said: > The last proposed patch for absolute paths is probably > https://lists.freedesktop.org/archives/wayland-devel/2015-August/023838.html > which looks like it got ignored mostly because of a damaged submission > and

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

2017-11-03 Thread Ucan, Emre (ADITG/ESB)
> boun...@lists.freedesktop.org] On Behalf Of Pekka Paalanen > Sent: Freitag, 3. November 2017 08:34 > To: Matt Hoosier; wayland mailing list > Cc: Davide Bettio; Martin Flöser; Jonas Ådahl; ras...@rasterman.com > Subject: New paths for Wayland sockets (Re: Enabling Android-style per &

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

2017-11-03 Thread Pekka Paalanen
On Thu, 2 Nov 2017 10:07:28 -0500 Matt Hoosier wrote: > On Thu, Nov 2, 2017 at 3:36 AM, Pekka Paalanen wrote: > > > On Wed, 1 Nov 2017 13:44:50 -0500 > > Matt Hoosier wrote: > > > > > > > > I'd like to call attention to