Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 19 Feb 2018 13:50:46 +1100
From: "Tobin C. Harding" <>
To: Kernel Hardening <>
Cc: "Tobin C. Harding" <>,
	Tycho Andersen <>,
	LKML <>
Subject: [PATCH 1/4] leaking_addresses: do not parse binary files

Currently script parses binary files.  Since we are scanning for
readable kernel addresses there is no need to parse binary files.  We
can use Perl to check if file is binary and skip parsing it if so.

Do not parse binary files.

Signed-off-by: Tobin C. Harding <>
 scripts/ | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/ b/scripts/
index 05906f6cf6b9..3d5c3096aac8 100755
--- a/scripts/
+++ b/scripts/
@@ -462,6 +462,10 @@ sub parse_file
+	if (! -T $file) {
+		return;
+	}
 	if (skip_parse($file)) {
 		dprint "skipping file: $file\n";

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.