From patchwork Thu Feb 7 22:50:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Tobin C. Harding" X-Patchwork-Id: 10802311 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6FD9513A4 for ; Fri, 8 Feb 2019 00:47:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E27F2E62E for ; Fri, 8 Feb 2019 00:47:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 512332DE1A; Fri, 8 Feb 2019 00:47: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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 7C6A62DE1A for ; Fri, 8 Feb 2019 00:47:03 +0000 (UTC) Received: (qmail 25683 invoked by uid 550); 8 Feb 2019 00:46:59 -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 Delivered-To: moderator for kernel-hardening@lists.openwall.com Received: (qmail 3481 invoked from network); 7 Feb 2019 22:51:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=2PLl/V120Makw5/D9oj8o1udfl+b3JNvXdyz9y+DaR0=; b=5gsJr4Fn 1LUW0R9O2N9hb/flq7PqxE+/Bo5+NqsKKr2RDzt7Twg8QLUMwdA7/9uMQXSwbWaT vvApyvUv8MB93LCh99dclEzn25zXpa0QC6DFRPRK7GFNvhdk7Hw4YWtXUmrouOSC LUtqP6uxgwFONrnTS+WsLSDK9/31DEKOclXbBf89Vz4g0MCwIy1hfNeXyQhxuqdH qqnNGcOZIgO2zlafIa3QWSayrW/vA+9Kq5uStm48JkKjtyBAvM8JNbC2a0IZtdnE 3EFDSxOIu+bPOSm+ccLsPkIHs2HZP6aDJnMXv7HUuJolpC25B+7mb3buGN0hcS1G nNhorXyrt7GGgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrledugddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffojg hfggfgsedtkeertdertddtnecuhfhrohhmpedfvfhosghinhcuvedrucfjrghrughinhhg fdcuoehtohgsihhnsehkvghrnhgvlhdrohhrgheqnecukfhppeduvddurdeggedrudelle druddtleenucfrrghrrghmpehmrghilhhfrhhomhepthhosghinheskhgvrhhnvghlrdho rhhgnecuvehluhhsthgvrhfuihiivgepud X-ME-Proxy: From: "Tobin C. Harding" To: kernel-hardening@lists.openwall.com Cc: "Tobin C. Harding" , Tycho Andersen , linux-kernel@vger.kernel.org Subject: [PATCH 2/3] leaking_addresses: Completely remove --version flag Date: Fri, 8 Feb 2019 09:50:25 +1100 Message-Id: <20190207225026.11723-3-tobin@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207225026.11723-1-tobin@kernel.org> References: <20190207225026.11723-1-tobin@kernel.org> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP Recently attempt to remove the '--version' flag was made, badly. I failed to remove mention of it from the help output. And also I failed to actually remove the flag from the options list. _Completely_ remove --version flag. Signed-off-by: Tobin C. Harding --- scripts/leaking_addresses.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl index 214c12be8c86..ef9e5b2a1614 100755 --- a/scripts/leaking_addresses.pl +++ b/scripts/leaking_addresses.pl @@ -97,7 +97,7 @@ Options: --32-bit Scan 32-bit kernel. --page-offset-32-bit=o Page offset (for 32-bit kernel 0xABCD1234). -d, --debug Display debugging output. - -h, --help, --version Display this help and exit. + -h, --help Display this help and exit. Scans the running kernel for potential leaking addresses. @@ -108,7 +108,6 @@ EOM GetOptions( 'd|debug' => \$debug, 'h|help' => \$help, - 'version' => \$help, 'o|output-raw=s' => \$output_raw, 'i|input-raw=s' => \$input_raw, 'suppress-dmesg' => \$suppress_dmesg,