Date: Tue, 5 Aug 1997 04:49:53 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, sef@Kithrup.COM, tqbf@enteract.com Cc: security@FreeBSD.ORG Subject: Re: Proposed alternate patch for the rfork vulnerability Message-ID: <199708041849.EAA10329@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>Note that exit closes file descriptors. So I guess exit should close >all file descriptors for all processes, huh? Only completely shared ones :-). My test program had its stderr closed when the (non-execed) child process exited. All descriptors get closed. Cooperating processes with completely shared descriptors need to handle this somehow if one of them exits and others want to keep running. Exec doesn't really affect the problem - processes can still cooperate after exec. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708041849.EAA10329>