Date: Wed, 02 Dec 2009 15:28:19 +0200 From: Manolis Kiagias <sonic2000gr@gmail.com> To: "Andrey S. Rybak" <ra@iop.kiev.ua> Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD local r00t zeroday Message-ID: <4B166B73.7020807@gmail.com> In-Reply-To: <4B165C2A.9000708@iop.kiev.ua> References: <e27b2fdf0912010304g3718202di66d4eac2abae2045@mail.gmail.com> <20091201114233.GB26501@icarus.home.lan> <4B165C2A.9000708@iop.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrey S. Rybak wrote: > Where is detailed instruction? I can not find ... > I can't apply the patch: > > # cd /usr/src/libexec/rtld-elf/ > [root@mymachin /usr/src/libexec/rtld-elf]# patch <rtld.patch > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: rtld.c > |=================================================================== > |--- rtld.c (revision 199977) > |+++ rtld.c (working copy) > -------------------------- > Patching file rtld.c using Plan A... > Hunk #1 failed at 366. > 1 out of 1 hunks failed--saving rejects to rtld.c.rej > done > > What is wrong? The version of the patch you are trying to apply is for 8.0-RELEASE and you are probably using 7.2 Here is a version I crafted for 7.2 (use at your own risk, works for me): http://people.freebsd.org/~manolis/rtld72.patch
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B166B73.7020807>