From owner-freebsd-bugs Fri May 29 19:30:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA28827 for freebsd-bugs-outgoing; Fri, 29 May 1998 19:30:08 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA28813 for ; Fri, 29 May 1998 19:30:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA04564; Fri, 29 May 1998 19:30:00 -0700 (PDT) Date: Fri, 29 May 1998 19:30:00 -0700 (PDT) Message-Id: <199805300230.TAA04564@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Nate Williams Subject: Re: bin/6787: race condition in pw command Reply-To: Nate Williams Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/6787; it has been noted by GNATS. From: Nate Williams To: cts@internetcds.com Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/6787: race condition in pw command Date: Fri, 29 May 1998 20:20:50 -0600 > >Number: 6787 > >Category: bin > >Synopsis: race condition in pw command > >Fix: > main() in pw.c should be modified to set an exclusive lock > on /etc/master.passwd. > > The function fileupdate in fileupd.c should be modified so that it does not > lock /etc/master.passwd. Context diffs to sources will be appreciated. :) Nate ps. Hi Craig! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message