From: Alexey Dobriyan Subject: Re: v2.6.28-rc1: readlink /proc/*/exe returns uninitialized data to userspace Date: Tue, 4 Nov 2008 13:00:50 +0300 Message-ID: <20081104100050.GA10398@x200.localdomain> References: <19f34abd0810251014s7968557br38e43aa0b9cdcf09@mail.gmail.com> <200810252241.53601.rjw@sisk.pl> <19f34abd0810261408w61b1e2dbvb9a0e16ce5a10022@mail.gmail.com> <19f34abd0811040139t8334502i7a5d8501c5fe95ac@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Eric W. Biederman" , Al Viro , "Koyama, Yoshiya" , "Rafael J. Wysocki" , Ingo Molnar , Pekka Enberg , LKML , Greg KH , Kay Sievers , linux-fsdevel@vger.kernel.org To: Vegard Nossum Return-path: Received: from ug-out-1314.google.com ([66.249.92.174]:54037 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752758AbYKDJ5n (ORCPT ); Tue, 4 Nov 2008 04:57:43 -0500 Content-Disposition: inline In-Reply-To: <19f34abd0811040139t8334502i7a5d8501c5fe95ac@mail.gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Nov 04, 2008 at 10:39:19AM +0100, Vegard Nossum wrote: > # uname -a > Linux ubuntu 2.6.28-rc2-next-20081031 #60 SMP Sat Nov 1 13:19:49 CET > 2008 i686 GNU/Linux > # prelink -mRf /sbin/udevd > # ./a.out /proc/4764/exe > warning: /proc/4764/exe: got return value 38, expected 11 > 2f7362696e2f756465766400fffffffffdfffffffffffff7ffffbfff202864656c6574656429 > /sbin/udevd (deleted) reproduced As I said previously, kmemcheck rocks (slowly). :-)