From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 8 Jul 2008 16:24:46 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20080708122446.GB9639@wo.int.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <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> <20080708104732.GM14790@hell.fortress> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline In-Reply-To: <20080708104732.GM14790@hell.fortress> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E 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 12:24:47 -0000 Archived-At: List-Archive: List-Post: --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 08, 2008 at 02:47:32PM +0400, Alexey I. Froloff wrote: > * 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... >=20 > 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. >=20 > =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? =EB=CF=CE=C5=DE=CE=CF. --=20 ldv --Yylu36WmvOXNoKYn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkhzXI4ACgkQfKvmrJ41Nh5M4ACfbA74hKc2W7uokCqaYDkA87Iy mmYAoMAU4ny+/rp2jSuBGsTfLzLICX3f =7oYe -----END PGP SIGNATURE----- --Yylu36WmvOXNoKYn--