From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Date: Tue, 8 Jul 2008 14:47:32 +0400 From: "Alexey I. Froloff" To: ALT Devel discussion list Message-ID: <20080708104732.GM14790@hell.fortress> References: <20080707123214.GC14790@hell.fortress> <20080707123945.GA8302@dad.imath.kiev.ua> <20080707133342.GE14790@hell.fortress> <20080707163739.GA12827@dad.imath.kiev.ua> <20080707172402.GF14790@hell.fortress> <20080707175030.GA13961@dad.imath.kiev.ua> <20080707180730.GG14790@hell.fortress> <20080707182709.GA22055@wo.int.altlinux.org> <20080707184050.GH14790@hell.fortress> <20080707232303.GA3951@wo.int.altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fNagykWcDoSVAmSd" Content-Disposition: inline In-Reply-To: <20080707232303.GA3951@wo.int.altlinux.org> User-Agent: Mutt/1.5.18 (2008-05-29) Subject: Re: [devel] /var/lock/rpm/update-vimhelp X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2008 10:47:35 -0000 Archived-At: List-Archive: List-Post: --fNagykWcDoSVAmSd Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry V. Levin [080708 03:32]: > =E8=CF=D4=D1 =D7 =D4=C1=CB=CF=CD =D0=D2=CF=D3=D4=CF=CD =D7=C1=D2=C9=C1=CE= =D4=C5 =C5=D3=D4=D8 race. =F7 =CD=CF=A3=CD =D7=C1=D2=C9=C1=CE=D4=C5 =CB=C1=D6=C5=D4=D3=D1 =D4=CF=D6= =C5 =C5=D3=D4=D8 race... As well as being removed by an explicit F_UNLCK, record locks are automatically released when the process terminates or if it closes any file descriptor referring to a file on which locks are held. This is bad: it means that a process can lose the locks on a file like /etc/passwd or /etc/mtab when for some reason a library function decides to open, read and close it. =E9=CC=C9 =CB =C4=D2=D5=C7=C9=CD =D0=D2=CF=C3=C5=D3=D3=C1=CD, =CB=CF=D4=CF= =D2=D9=C5 =CF=D4=CB=D2=D9=D7=C1=C0=D4 =C6=C1=CA=CC, =DC=D4=CF =CE=C5 =CF=D4= =CE=CF=D3=C9=D4=D3=D1? --=20 Regards, Sir Raorn. --fNagykWcDoSVAmSd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFIc0W/VqT7+fkT8woRAqksAJ96QPuoR3biMx4s/SjWeBk5P3EetwCfcx9d g2AffJInFsa6xGYyrtKokJk= =Ug8o -----END PGP SIGNATURE----- --fNagykWcDoSVAmSd--