Date: Fri, 29 May 1998 19:30:00 -0700 (PDT) From: Nate Williams <nate@mt.sri.com> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/6787: race condition in pw command Message-ID: <199805300230.TAA04564@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/6787; it has been noted by GNATS. From: Nate Williams <nate@mt.sri.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805300230.TAA04564>