Subject: netscape 4.80 (linux) makes kernel whine
To: None <>
From: Andrew Brown <>
List: tech-pkg
Date: 07/09/2004 23:24:55
every time i start netscape, the kernel says:

    set{u,g}id pid 27628 (netstat) was invoked by uid 204 ppid 18595 (netscape) with fd 0 closed

i was always irked by that, but it wasn't until today that i bit into
it, chewed, and spat out an answer.

i've developed a tiny c program that will find the right place in the
binary and poke it appropriately such that when netstat is executed,
fd 0 is not closed.  works like a charm.

do we have any facility whatsoever for doing binary patches like this
in pkgsrc?  should i just fling something together?

fwiw, the same thing could be done in perl, but i don't think that
requiring that perl be installed is a good prerequisite for installing
something that will never use it.

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."