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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231108202142.7e22d4eb@kaneli>
Date:   Wed, 8 Nov 2023 20:21:42 +0200
From:   Lasse Collin <lasse.collin@...aani.org>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lib/xz: Add ARM64 BCJ filter

On 2023-11-08 Andrew Morton wrote:
> On Wed, 8 Nov 2023 19:44:48 +0200 Lasse Collin
> <lasse.collin@...aani.org> wrote:
> 
> > ARM64 kernel decompression is done by bootloaders but
> > the filter can still be useful, for example, for Squashfs.
> > 
> > A duplicated check for XZ_DEC_ARM in xz_private.h was omitted too.  
> 
> There's nothing here that uses the new functionality?
> 
> Is a squashfs patch expected?

I need to send a patch to mksquashfs. In the kernel the XZ filters are
handled by the XZ code, so Squashfs in the kernel needs no changes.

Initramfs can use the filters if initramfs contains a significant amount
of executable code. There are practical reasons why it's not commonly
done on other archs though. The main one is that kernel modules
shouldn't be filtered (worse compression). There are plans to improve
the compression tools to make this easier (it would help in other
contexts too) but it will take time.

-- 
Lasse Collin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ