On Wed, Jan 17, 2018 at 07:12:28PM +0100, Tim Tassonis wrote:
> 
> 
> On 01/16/2018 04:32 AM, Ken Moffat wrote:
> > On Tue, Jan 16, 2018 at 01:07:07AM +0100, Tim Tassonis wrote:
> > > Hi All
> > > 
> > > On 01/16/2018 12:29 AM, Tim Tassonis wrote:
[...]
> > > > 
> > > > A solution on the faulty machine is to start firefox, go to
> > > > about:config, and then set the property
> > > > 
> > > > security.sandbox.content.level
> > > > 
> > > > to 0, instead of 3.
> > > 
> > > I found a nice explanation for the problem at:
> > > 
> > > https://github.com/i-rinat/apulse
> > > 
> > > 
> > > To leave sandboxing active and get alsa sound running, you can also set
> > > 
> > > security.sandbox.content.syscall_whitelist
> > > 
> > > to 16, which is the iotcl syscall needed by alsa. For 32bit architectures,
> > > the value is 54.
[...]
> > 
> > When I ran pulse builds (b15, b16, even b03) from a term, I got errors like
> > 
> > fork(): Operation not permitted
> > [Child 4423, MediaPlayback #3] WARNING: 7f1bb72bb1c0 Can't get cubeb 
> > context!: file /scratch/working/firefox-58.0b15/dom/media/AudioStream.cpp, 
> > line 358
> > [Child 4423, MediaPlayback #3] WARNING: Decoder=7f1bbcc4b400 
> > [OnMediaSinkAudioError]: file 
> > /scratch/working/firefox-58.0b15/dom/media/MediaDecoderStateMachine.cpp, 
> > line 3642
> > 
> > Which is initially disturbing (the source is no longer there), but I
> > guess something in the build saves the full path to the file.
> 
> 
> Well, according to
> 
> https://filippo.io/linux-syscall-table/
> 
> fork has the syscall number 57, so setting
> 
> security.sandbox.content.syscall_whitelist to 57 should fix that. But then,
> it will maybe bomb out later...
> 
> Cheers
> Tim

Hmm, I tried setting the sandbox content level to 0, which if I
understood correctly turns it off.

At the moment I've got an alsa build, but I'll eventually try to use
the mozilla tools to see if I can blame a particular changeset.  Too
busy on real-life-important things at the moment, and I think I'll
need working sound to watch the videos on how to use the tools.

ĸen
-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
                                     - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to