Date: Sat, 27 Dec 2003 21:17:06 +0100 From: Oliver Brandmueller <ob@e-Gitt.NET> To: freebsd-current@freebsd.org Subject: Re: file descriptor leak in 5.2-RC Message-ID: <20031227201706.GF86308@e-Gitt.NET> In-Reply-To: <Pine.BSF.4.53.0312271351310.21415@e0-0.zab2.int.zabbadoz.net> References: <20031227123148.GB77531@e-Gitt.NET> <200312271253.aa04019@salmon.maths.tcd.ie> <20031227132932.GA86308@e-Gitt.NET> <Pine.BSF.4.53.0312271351310.21415@e0-0.zab2.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. On Sat, Dec 27, 2003 at 02:01:21PM +0000, Bjoern A. Zeeb wrote: > when daemonizing you open /dev/null and dup2 it to 0,1,2 > to detach from stdin,out,err. Yes, of course. But they still should not keep lying around when going to single user and should be visible in fstat / lsof, if everything were OK and this were just an application problem. I'm currently checking if I can find something in older sources of /dev/null - although I would appreciate help in diggin' around here, I'm just an admin, not a programmer. And by far no kernel hacker. - Oliver -- | Oliver Brandmueller | Offenbacher Str. 1 | Germany D-14197 Berlin | | Fon +49-172-3130856 | Fax +49-172-3145027 | WWW: http://the.addict.de/ | | Ich bin das Internet. Sowahr ich Gott helfe. | | Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031227201706.GF86308>