From owner-freebsd-stable@FreeBSD.ORG Wed Dec 2 13:28:24 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 990D51065672 for ; Wed, 2 Dec 2009 13:28:24 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 280628FC14 for ; Wed, 2 Dec 2009 13:28:23 +0000 (UTC) Received: by ewy26 with SMTP id 26so222967ewy.3 for ; Wed, 02 Dec 2009 05:28:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=4EUtf1+L7wxd9M7sowexkH8adz1JjmkEqJvWL1vwlDY=; b=YvUfaFI2vL59zIqscWjjWJRICjzBRFRrxqRQ5Y7A3wycGGjEA4b6w/g9eOk6yfzGYL O75IVflVyqS0l99YnzAaFJM8fe5ocXZViO3q+zASWhZF6HD6cuUzCk3GLRMNMzgH4jiF 8h1BdeMOvw28e/EFMdBYMeR17EM5FfQKoZ8Q0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=xTRgjUh0rBOlchMDDWS8VWXRP13ByZYWDdrf0uw8r+4Qz//ie1qLVmeRgShMlNcSEd SFJRrRtHh/npw9Cx8UflQVIM3Q2xCZRB1gT3s5WzsrCrLLH3tqT5TFNoteetcghKU+Ne aH7U+eVTspxO2c6RZiAefCqjgkD2WETObjw6s= Received: by 10.213.96.229 with SMTP id i37mr126668ebn.45.1259760502366; Wed, 02 Dec 2009 05:28:22 -0800 (PST) Received: from pulstar.local (ppp-94-69-76-212.home.otenet.gr [94.69.76.212]) by mx.google.com with ESMTPS id 16sm733193ewy.6.2009.12.02.05.28.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Dec 2009 05:28:21 -0800 (PST) Message-ID: <4B166B73.7020807@gmail.com> Date: Wed, 02 Dec 2009 15:28:19 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: "Andrey S. Rybak" References: <20091201114233.GB26501@icarus.home.lan> <4B165C2A.9000708@iop.kiev.ua> In-Reply-To: <4B165C2A.9000708@iop.kiev.ua> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD local r00t zeroday X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 13:28:24 -0000 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 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