Subject: netscape 4.80 (linux) makes kernel whine
To: None <tech-pkg@netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
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" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."