Date: Mon, 08 Oct 2018 15:58:10 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Konstantin Belousov <kostikbel@gmail.com> Cc: freebsd-security@freebsd.org Subject: Re: [FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-18:12.elf Message-ID: <86lg78h765.fsf@next.des.no> In-Reply-To: <20181008112032.GJ5335@kib.kiev.ua> (Konstantin Belousov's message of "Mon, 8 Oct 2018 14:20:32 %2B0300") References: <20180912054309.61C6B13269@freefall.freebsd.org> <20181006173525.GC813@lena.kiev> <20181006182104.GS5335@kib.kiev.ua> <86sh1hs81t.fsf@next.des.no> <20181007224611.GI5335@kib.kiev.ua> <86pnwkhhzm.fsf@next.des.no> <20181008112032.GJ5335@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov <kostikbel@gmail.com> writes: > Dag-Erling Sm=C3=B8rgrav <des@des.no> writes: > > Ah, I see. The port used sed to edit the file in-place instead of using > > a tool that understands Elf and would have adjusted the section length. > Really this cannot be done, as well as overriding the interpreter name > with the longer string, since other segments are not movable. If there is sufficient padding, it could use some of that, and adjust the length so the binary is still valid. But none of this matters, since the linux_base ports provide ld-lsb.so.3 and the sed hack has been removed... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lg78h765.fsf>