Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753159AbdLDFKS (ORCPT ); Mon, 4 Dec 2017 00:10:18 -0500 Received: from mail-oi0-f54.google.com ([209.85.218.54]:45659 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750774AbdLDFKQ (ORCPT ); Mon, 4 Dec 2017 00:10:16 -0500 X-Google-Smtp-Source: AGs4zMYkCv5G/yj2UrjXWL5b4oRRKWtYMMAzHmhJTnvJNLtoB3nvUJwCrJMYpLMjQ7Er8kKdNY3Zpq2s2LCTEZq88+I= MIME-Version: 1.0 In-Reply-To: <20171204045522.GE27780@eros> References: <1511850724-2381-1-git-send-email-me@tobin.cc> <20171128211003.GY17858@eros> <20171129101640.GC6217@eros> <20171129204812.GE6217@eros> <1512133747.17323.3.camel@gmail.com> <20171204001106.GB27780@eros> <1512362481.17323.9.camel@gmail.com> <20171204045522.GE27780@eros> From: Kaiwan N Billimoria Date: Mon, 4 Dec 2017 10:39:55 +0530 Message-ID: Subject: Re: [PATCH] leaking_addresses: add support for 32-bit kernel addresses To: "Tobin C. Harding" Cc: Alexander Kapshuk , linux-kernel , kernel-hardening@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 524 Lines: 20 On Mon, Dec 4, 2017 at 10:25 AM, Tobin C. Harding wrote: > > > With the 'eval', no warning, it's fine. > > Why not use hex()? > > > > foreach my $config_file (@config_files) { > > + $config_file =~ s/\R*//g; > > Is there some reason you don't use chomp()? Tobin, now you can see that I'm indeed a Perl newbie noob! :-) Will follow your suggestions.. indeed, feel free to go ahead with Perl-stuff that's more appropriate than my (very amateur) perl! thanks, Kaiwan. > thanks, > Tobin.