From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 6 Jun 2006 19:42:28 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20060606154228.GA16175@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20060606152921.GA9823@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <20060606152921.GA9823@localhost.localdomain> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] Fwd: lj_udrepper: Text Relocations X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 15:42:29 -0000 Archived-At: List-Archive: List-Post: --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 06, 2006 at 07:29:21PM +0400, Alexey Tourbin wrote: > textrelocs.html -- =C4=CF=D7=CF=CC=D8=CE=CF =C9=CE=D4=C5=D2=C5=D3=CE=D9= =CA =D4=C5=CB=D3=D4. >=20 > ----- Forwarded message from rss2mail2 ----- >=20 > Text Relocations at 03-06-2006 17:50:03 > http://udrepper.livejournal.com/10666.html > People treated creating DSOs with text relocations so far cavalier > offense. The runtime automatically works around the problems the > programmers are responsible for and the costs and risks are not > immediately visible unless one thinks about the issue. >=20 > This changed with the SELinux memory protection bits which are enabled > in FC5 and later. Text relocations are a fatal flaw of a DSO or PIE > and must be avoided. Since people complain that it's hard to fix the > problem I've written code and wrote a little article on [0] how to fix > them. >=20 > For completeness I should mention that it is possible to label DSOs so > that the kernel allows text relocations. =E1 =D7 =CE=C5=CB=CF=D4=CF=D2=D9=C8 =D1=C4=D2=C1=C8 =DC=D4=D5 =D3=CF=CD=CE= =C9=D4=C5=CC=D8=CE=D5=C0 =D7=CF=DA=CD=CF=D6=CE=CF=D3=D4=D8 =CD=CF=D6=CE=CF = =CF=D4=CB=CC=C0=DE=C1=D4=D8 =DE=C1=D3=D4=C9=DE=CE=CF =C9=CC=C9 =D3=CF=D7=D3=C5=CD. --=20 ldv --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEhaJkfKvmrJ41Nh4RAnxUAJ9N407Hm2PMcKCKpWCh1d/UBX/JywCgnjw4 yaHMcgD7gV12VY1noTHyB1U= =uPAh -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--