reassign 348420 flashplugin-nonfree retitle 348420 flashplugin-nonfree: should open /dev/dsp using FD_CLOEXEC thanks
* Piotr Engelking ([EMAIL PROTECTED]) wrote: > On 20/01/06, Eric Dorland <[EMAIL PROTECTED]> wrote: > > > Yes, this would be cleaner, but what exactly is the problem? just > > passing the open file descriptor doesn't mean the execed process has > > access to it, unless it went through it's descriptor list looking for > > it. > > The problem is that now xpdf blocks other programs from accessing /dev/dsp. > This also applies to Firefox itself, once it closes its copy of the > descriptor (i.e., once you close the sound-playing flash). The correct solution to this is to use fcntl and set the FD_CLOEXEC on the file descriptor. Reassigning to flashplugin-nonfree, since this is specifically its problem, and not a general problem with the Firefox codebase. -- Eric Dorland <[EMAIL PROTECTED]> ICQ: #61138586, Jabber: [EMAIL PROTECTED] 1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ G e h! r- y+ ------END GEEK CODE BLOCK------
signature.asc
Description: Digital signature