From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x225AgVX3Vnhqru8S7WlMc0BEvRNq55g9//UgoiI649W+02hsB6By5fiOC9sv6KMvu6BIXfBQ ARC-Seal: i=1; a=rsa-sha256; t=1517289122; cv=none; d=google.com; s=arc-20160816; b=irsEKBqOf/CZFS6pDw5kjj87eBeaG/39bbBkwhNqKPGiyYjNHNkvjA2UMl2RnmZioN pyR6A/jLAEQSC/T6/cGt4SlaIKbAJrSgG4glmk2K0vsab40M5j4hhzvmsmo0MBmcxCCK WvpA08P0MIaTYEIabfsqAi+8FlH8NSCZW1Ks7vdyDZz8bC3Jn50WRRmikQJrQInoztnq yf0S9SnuvWoxCazVJaCAJx8dC5/qFQcVo8cDgOtaxT9lbi8s28defyw9x0GiimBChv1l pwmCwM2fJLvEostlQ8ROn93xG9j/7MWyhzmU9vFLKjOo+ALPDVPOr2AaHzd8Hyjug5d2 C5Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:dkim-signature:dkim-signature :delivered-to:list-id:list-subscribe:list-unsubscribe:list-help :list-post:precedence:mailing-list:arc-authentication-results; bh=47ZHCD7wbbo340RRKLiqaklPX/Jyv6iI6MgJ7/3jjGg=; b=uxKyV7c1dfGPKKcUYNf+je/17xmyh14YAD8AIDD9hQ4XEy4O9htyJSPtd9Y9TzEKXn zNRlENq+qDZs2f0ahshtUcZIC6VzVP1iaHTzy2GF3moGgg9lOaJmrjP/xlMzevrlz/By DILxZhVKKx06MLJreWpUfHTxxxYSpfqhK8Hh3dgweZR05vDowf0KOZuXg17x9g9p+AEF TYeT6nDNW7VW85nEZYJ8bxjRPBya6Tb3OGbSbDEV2R/o76ZR0nzAiKc5K3d74BEv/4BL MEm9c56Cmtu+PL02fawym71ZlDtXBGIxlaSnT/zGWZGXD5kfNpU3qtjHasGpo7ythbA9 0QPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tobin.cc header.s=fm2 header.b=Ym6UTgCa; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=GwhUiEWt; spf=pass (google.com: domain of kernel-hardening-return-11524-gregkh=linuxfoundation.org@lists.openwall.com designates 195.42.179.200 as permitted sender) smtp.mailfrom=kernel-hardening-return-11524-gregkh=linuxfoundation.org@lists.openwall.com Authentication-Results: mx.google.com; dkim=pass header.i=@tobin.cc header.s=fm2 header.b=Ym6UTgCa; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=GwhUiEWt; spf=pass (google.com: domain of kernel-hardening-return-11524-gregkh=linuxfoundation.org@lists.openwall.com designates 195.42.179.200 as permitted sender) smtp.mailfrom=kernel-hardening-return-11524-gregkh=linuxfoundation.org@lists.openwall.com Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: X-ME-Sender: Date: Tue, 30 Jan 2018 16:11:38 +1100 From: "Tobin C. Harding" To: kaiwan.billimoria@gmail.com Cc: Kernel Hardening , LKML Subject: Re: [PATCH] leaking_addresses: add 32-bit support Message-ID: <20180130051138.GA4924@eros> References: <1517201477-12326-1-git-send-email-me@tobin.cc> <1517283889.29097.1.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1517283889.29097.1.camel@gmail.com> X-Mailer: Mutt 1.5.24 (2015-08-30) User-Agent: Mutt/1.5.24 (2015-08-30) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590901103061429505?= X-GMAIL-MSGID: =?utf-8?q?1590992959541353582?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On Tue, Jan 30, 2018 at 09:14:49AM +0530, kaiwan.billimoria@gmail.com wrote: > Hi Tobin, > > On Mon, 2018-01-29 at 15:51 +1100, Tobin C. Harding wrote: > > Currently script only supports x86_64 and ppc64. It would be nice to be > > able to scan 32-bit machines also. We can add support for > > 32-bit architectures by modifying how we check for false positives, > > taking advantage of the page offset used by the kernel, and using the > > correct regular expression. > > > > Support for 32-bit machines is enabled by the observation the kernel > > addresses on 32-bit machines are larger than the page offset. We can > > use this to filter false positives when scanning the kernel for leaking > > addresses. > > > > Programmatic determination of the running architecture is not > > immediately obvious. We therefore provide a flag to enable scanning of > > 32-bit kernels. Also we can check the kernel config file for the offset > > and if not found default to 0xc0000000. A command line option to parse > > in the page offset is also provided. We do automatically detect > > architecture if running on ix86. > > > > Add support for 32-bit kernels. Add a command line option for page > > offset. > > > > Suggested-by: Kaiwan N Billimoria > > Signed-off-by: Tobin C. Harding > > --- > > > > The basis for this patch has been in development for a while by Kaiwan > > but didn't get finished before the merge window opened. I'd like to > > fast track this and get it to Linus this merge window (considering > > Spectre/Meltdown). I have finished this work off and added the > > Suggested-by tag. Kaiwan I hope you are not upset by this, extra > > ordinary circumstances seemed to require this action. > Definitely not; I understand and am glad you're on it a 100%. Apologies > that I couldn't work on this right now.. will try and keep track too. Thanks for the response. Tobin