Date: Sun, 29 Jan 2017 03:04:34 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 212028] www/firefox: Add SNDIO option Message-ID: <bug-212028-21738-mN36NFfH00@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-212028-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-212028-21738@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212028 Jan Beich (mail not working) <jbeich@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbeich@FreeBSD.org --- Comment #9 from Jan Beich (mail not working) <jbeich@FreeBSD.org> --- (In reply to Tobias Kortkamp from comment #8) > I never tried to run sndiod in a jail before. I usually start it on > the host and use sndiod's networking feature for this. If sndiod is running outside it's just one more way to escape jail. And there's no pledge(2) support to limit what one can see outside. > Running it directly from the command line as the non-root user you run > Firefox as (e.g. `sndiod -dd -f rsnd/5` if you use /dev/dsp5) should > make it run in a jail. It works but not inside jail. $ sndiod -dd -f rsnd/3 & snd0.default: rec=0:1 play=0:1 vol=23170 dup $ firefox -no-remote youtube.com snd0: 48000Hz, s16le, play 0:1, rec 0:1, 8 blocks of 512 frames firefox0: 48000Hz, s16le, play 0:1, 9 blocks of 512 frames snd0: device started firefox0: attached at -4096, delta = 0 snd0: disconnected > If you haven't changed any of the hw.snd.report_* sysctls... $ fgrep hw.snd /boot/loader.conf hw.snd.verbose=2 hw.snd.latency=3 hw.snd.latency_profile=0 hw.snd.feeder_rate_quality=4 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212028-21738-mN36NFfH00>
