From: =?iso-8859-1?q?Chris=20Rankin?= Subject: Re: [BUG] alsa-lib leaves sound device open for child processes Date: Wed, 5 Feb 2003 18:50:26 +0000 (GMT) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20030205185026.18038.qmail@web40604.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Paul Davis Cc: Takashi Iwai , Jaroslav Kysela , Sebastian Kapfer , "alsa-devel@lists.sourceforge.net" List-Id: alsa-devel@alsa-project.org 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 wrote: > >Speaking as a userspace developer, I expect file > >descriptors to be inherited by child processes > unless > >I explicitly request otherwise. Yes, I usually make > >sure that I *DO* request otherwise, but that's not > the > >point... > > 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