Skip to contentSkip to conversation

alsa-lib leaves sound device open for child processes

BUG Chris Rankin 1 participant 1 message Feb 5, 2003

lore
Share & tools
lore
#0 lore raw

Fair enough, but my point is that I'd expect the close-on-exec flag NOT to be set unless I explicitly set it myself. Same as with every other way of getting a file descriptor.

Chris

--- Paul Davis <[email protected]> wrote: >

Quoted 8 lines

Speaking as a userspace developer, I expect file

Quoted 1 line

descriptors to be inherited by child processes

unless

Quoted 2 lines

I explicitly request otherwise. Yes, I usually make sure that I *DO* request otherwise, but that's not

the

Quoted 1 line

point...

Quoted 7 lines

the question is not about inheritance by child
processes. its about
close-on-exec behaviour. nobody is proposing any
change to the
situation after a simple fork(2).

--p

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com