[Webkit-unassigned] [Bug 212524] [GTK] Bubblewrap sandbox lacks support for sndio

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 30 11:48:55 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212524

--- Comment #8 from Adrian Perez <aperez at igalia.com> ---
(In reply to Haelwenn (lanodan) Monnier from comment #6)
> (In reply to Adrian Perez from comment #4)
> > Comment on attachment 400580 [details]
> > Patch
> > 
> > View in context:
> > https://bugs.webkit.org/attachment.cgi?id=400580&action=review
> > 
> > > Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:386
> > > +    bindIfExists(args, "/tmp/sndio", BindFlags::ReadWrite);
> > 
> > Does the patch work without this bind mount? I think it should be enought to
> > bind the per-user directory (as done in the next two lines). I tried to run
> > “sndiod” in my system and there is only a “/tmp/sndio-1000” directory (my
> > user UID here is 1000), but no “/tmp/sndio” directory.
> 
> Yes, the "/tmp/sndio" is needed when sndio is launched as superuser (which
> then drops to an unprivileged user like "sndiod"), this allows to share it
> between multiple users.

Ah, good to know, thanks for commenting about this :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200530/26314e3b/attachment.htm>


More information about the webkit-unassigned mailing list