lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20211205201831.115815-1-kernel.noureddine@gmail.com>
Date:   Sun,  5 Dec 2021 21:18:31 +0100
From:   Nour-eddine Taleb <kernel.noureddine@...il.com>
To:     linux-kernel@...r.kernel.org
Cc:     Nour-eddine Taleb <kernel.noureddine@...il.com>
Subject: [PATCH] scripts:extract-ikconfig: add support for zstd compression

update the script to accept kernel images that are using zstd compression.

Signed-off-by: Nour-eddine Taleb <kernel.noureddine@...il.com>
---
 scripts/extract-ikconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
index 3b42f255e2ba..5cbf6f1d7f56 100755
--- a/scripts/extract-ikconfig
+++ b/scripts/extract-ikconfig
@@ -62,6 +62,8 @@ try_decompress 'BZh'          xy    bunzip2
 try_decompress '\135\0\0\0'   xxx   unlzma
 try_decompress '\211\114\132' xy    'lzop -d'
 try_decompress '\002\041\114\030' xyy 'lz4 -d -l'
+try_decompress '\002!L\030'   xxx   'lz4 -d'
+try_decompress '(\265/\375'   xxx   unzstd
 
 # Bail out:
 echo "$me: Cannot find kernel config." >&2
-- 
2.33.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ