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]
Date:	Fri, 26 Apr 2013 13:19:54 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Kyungsik Lee <kyungsik.lee@....com>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	Rob Landley <rob@...dley.net>, linux-doc@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
	x86@...nel.org, celinux-dev@...ts.celinuxforum.org,
	hyojun.im@....com, chan.jeong@....com, raphael.andy.lee@...il.com,
	Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	Russell King <rmk@....linux.org.uk>,
	Borislav Petkov <bp@...en8.de>,
	Florian Fainelli <florian@...nwrt.org>,
	Yann Collet <yann.collet.73@...il.com>
Subject: Re: [PATCH -next] x86, doc: Add LZ4 magic number for the new compression

On 04/25/2013 10:08 PM, Kyungsik Lee wrote:
> Documentation/x86/boot.txt is updated to list the LZ4 magic number.
> This LZ4 magic number is used for the new compression format.
> 
> Signed-off-by: Kyungsik Lee <kyungsik.lee@....com>
> Cc: "H. Peter Anvin" <hpa@...or.com>
> Cc: Ingo Molnar <mingo@...e.hu>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Russell King <rmk@....linux.org.uk>
> Cc: Borislav Petkov <bp@...en8.de>
> Cc: Florian Fainelli <florian@...nwrt.org>
> Cc: Yann Collet <yann.collet.73@...il.com>
> ---
>  Documentation/x86/boot.txt | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt
> index 3840b6f..fc66d42 100644
> --- a/Documentation/x86/boot.txt
> +++ b/Documentation/x86/boot.txt
> @@ -657,9 +657,10 @@ Protocol:	2.08+
>    uncompressed data should be determined using the standard magic
>    numbers.  The currently supported compression formats are gzip
>    (magic numbers 1F 8B or 1F 9E), bzip2 (magic number 42 5A), LZMA
> -  (magic number 5D 00), and XZ (magic number FD 37).  The uncompressed
> -  payload is currently always ELF (magic number 7F 45 4C 46).
> -  
> +  (magic number 5D 00), XZ (magic number FD 37), and LZ4 (magic number
> +  02 21).  The uncompressed payload is currently always ELF (magic
> +  number 7F 45 4C 46).
> +
>  Field name:	payload_length
>  Type:		read
>  Offset/size:	0x24c/4
> 

Acked-by: H. Peter Anvin <hpa@...ux.intel.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ