Date: Mon, 24 Jun 2002 23:00:09 -0700 (PDT) From: "Matthew D. Fuller" <fullermd@over-yonder.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/38676 change request for pw command Message-ID: <200206250600.g5P609S08416@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/38676; it has been noted by GNATS.
From: "Matthew D. Fuller" <fullermd@over-yonder.net>
To: Paul Herman <pherman@frenchfries.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG,
Takumi ISHII <takishii@xephion.ne.jp>,
"Geoffrey C. Speicher" <geoff@sea-incorporated.com>
Subject: Re: bin/38676 change request for pw command
Date: Tue, 25 Jun 2002 00:58:29 -0500
On Mon, Jun 24, 2002 at 10:52:50PM -0700 I heard the voice of
Paul Herman, and lo! it spake thus:
>
> The topic of HOW to best fix this bug has recently been hashed out
> a bit on -hackers and -stable. Matthew Fuller proposed an
> alternate fix by using a giant lock in /var/run/, so the jury is
> still out on the best way to solve the problem.
>
> I'll let Matthew speak for himself, but I feel that the either the
> patch in bin/23501 or the following improved patch is the best way
> to solve the problem. Opinions in the audit-trail are surely to
> follow. :-)
First post! *duck*
I see no problem with (assuming this works; I'm short on testing time for
this OR my method this week), if nothing else, smacking this in for now;
it's not like we can't change our attack method on this next week or next
month.
However:
> + for (;;) {
> + [ stuff(); ]
> + close(infd);
> + }
Might I suggest a sleep(1); in there? Give the poor CPU a break! :->
--
Matthew Fuller (MF4839) | fullermd@over-yonder.net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
"The only reason I'm burning my candle at both ends, is because I
haven't figured out how to light the middle yet"
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206250600.g5P609S08416>
