From patchwork Thu Dec 7 04:32:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobin Harding X-Patchwork-Id: 10097607 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6F9EC602BF for ; Thu, 7 Dec 2017 04:33:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 614A92877E for ; Thu, 7 Dec 2017 04:33:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55E6529026; Thu, 7 Dec 2017 04:33:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id 61D9A2877E for ; Thu, 7 Dec 2017 04:33:02 +0000 (UTC) Received: (qmail 12168 invoked by uid 550); 7 Dec 2017 04:32:56 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 12048 invoked from network); 7 Dec 2017 04:32:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobin.cc; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=yofT1bN5+ieOKDBvA gDLAPzcASJNBMsbKtuOpYKP3mQ=; b=Qz3Dkyqz2pUVrqUrb21V+dfoouIZ6ajnm X48XqOfRjeQ/MWaftLeg82iaKxNwo4JWnn0Pqgl0dkQxKBAhtctjaEAHxQtA03LT Wj/kK/5SCldvTmO61L7ZJiq3CpyH4zuPNN9VjW5WySohxUBDfxkeW4XLI0+T9PYs Z6a9XXPz7UleDO57ZuYW+w+O3C2qEU3iV6FXUbNCutEuidIP/Ng9DNlJunW9FzQm lC8A9Pcy7W8NDiFBySlNRpsgXuNBHXs2ncYkKkeyOttb7RHAVi71mE8RlI0hXKJs WAg6I3qOQ8a4V4zfKM+cq4gGpm/a4tGm1uNATnzRC+sFezuAE2nYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=yofT1bN5+ieOKDBvAgDLAPzcASJNBMsbKtuOpYKP3mQ=; b=Bzx6kUyK W/MAQM4vZH+bzdFLWMIZ5blAXbZMYhNlR7UrLgZIYJSa1/HfxStEoIAHsxbpwvJt gnW7OGn0/2bw3xB93OqAzAKA1ktp3tf0nHwHxZdPHc8T/Frco02LqlBPEFVb8b55 k2R948y8PJpe0BCL6j8euxZFrWqHS4uhhsZAyQ0ny4Ci/Yi6XFlwDhPn8cB6y4oj N3M9dbxBunV6HLMtGOCKxpfVSRNq2me/abdWAx4qtPrdqDRdCk6rdZX2n50mPxIc DCCp9GFtvkC3KjFzfFYxhOZsKz4YQTBjlu9sW4DORAqXVht850pWfk/qhM3K1RxF ZtyT9Hj/3Eh8gQ== X-ME-Sender: From: "Tobin C. Harding" To: me@tobin.cc, kaiwan.billimoria@gmail.com Cc: "Kirill A. Shutemov" , Alexander Kapshuk , LKML , kernel-hardening@lists.openwall.com Date: Thu, 7 Dec 2017 15:32:22 +1100 Message-Id: <1512621145-4783-3-git-send-email-me@tobin.cc> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512621145-4783-1-git-send-email-me@tobin.cc> References: <1512621145-4783-1-git-send-email-me@tobin.cc> Subject: [kernel-hardening] [PATCH 2/5] leaking_addresses: indent dependant options X-Virus-Scanned: ClamAV using ClamSMTP A number of the command line options to script are dependant on the option --input-raw being set. If we indent these options it makes explicit this dependency. Indent options dependant on --raw-input. Signed-off-by: Tobin C. Harding --- scripts/leaking_addresses.pl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl index 2c5da2296e94..066c609b1adb 100755 --- a/scripts/leaking_addresses.pl +++ b/scripts/leaking_addresses.pl @@ -93,14 +93,14 @@ Version: $V Options: - -o, --output-raw= Save results for future processing. - -i, --input-raw= Read results from file instead of scanning. - --raw Show raw results (default). - --suppress-dmesg Do not show dmesg results. - --squash-by-path Show one result per unique path. - --squash-by-filename Show one result per unique filename. - -d, --debug Display debugging output. - -h, --help, --version Display this help and exit. + -o, --output-raw= Save results for future processing. + -i, --input-raw= Read results from file instead of scanning. + --raw Show raw results (default). + --suppress-dmesg Do not show dmesg results. + --squash-by-path Show one result per unique path. + --squash-by-filename Show one result per unique filename. + -d, --debug Display debugging output. + -h, --help, --versionq Display this help and exit. Scans the running (64 bit) kernel for potential leaking addresses.