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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141031201634.GA32605@cloud>
Date:	Fri, 31 Oct 2014 13:16:34 -0700
From:	josh@...htriplett.org
To:	Kees Cook <keescook@...omium.org>
Cc:	linux-kernel@...r.kernel.org, "H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>, x86@...nel.org,
	Matt Fleming <matt.fleming@...el.com>,
	Ard Biesheuvel <ard.biesheuvel@...aro.org>,
	Junjie Mao <eternal.n08@...il.com>
Subject: Re: [PATCH] x86, boot: document intermediates more clearly

On Fri, Oct 31, 2014 at 09:22:04AM -0700, Kees Cook wrote:
> This adds a comment detailing the various intermediate files used to build
> the bootable decompression image for the x86 kernel.
> 
> Signed-off-by: Kees Cook <keescook@...omium.org>

Definitely the documentation I wish I had long ago when trying to figure
out the twisty maze of binaries.

Reviewed-by: Josh Triplett <josh@...htriplett.org>

>  arch/x86/boot/compressed/Makefile | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile
> index be1e07d4b596..44a866b85c6f 100644
> --- a/arch/x86/boot/compressed/Makefile
> +++ b/arch/x86/boot/compressed/Makefile
> @@ -3,6 +3,18 @@
>  #
>  # create a compressed vmlinux image from the original vmlinux
>  #
> +# vmlinuz is:
> +#	decompression code (*.o)
> +#	asm globals (piggy.S), including:
> +#		vmlinux.bin.(gz|bz2|lzma|...)
> +#
> +# vmlinux.bin is:
> +#	vmlinux stripped of debugging and comments
> +# vmlinux.bin.all is:
> +#	vmlinux.bin + vmlinux.relocs
> +# vmlinux.bin.(gz|bz2|lzma|...) is:
> +#	(see scripts/Makefile.lib size_append)
> +#	compressed vmlinux.bin.all + u32 size of vmlinux.bin.all
>  
>  targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
>  	vmlinux.bin.xz vmlinux.bin.lzo vmlinux.bin.lz4
> -- 
> 1.9.1
> 
> 
> -- 
> Kees Cook
> Chrome OS Security
--
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