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-next>] [day] [month] [year] [list]
Date:	Sun, 15 Sep 2013 14:49:05 +0530 (IST)
From:	P J P <ppandit@...hat.com>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] Export initial ramdisk compression config

   Hello,

While building the 3.11 kernel recently, I bumped into this issue.

Menuconfig allows one to choose compression format of an initial ramdisk 
image. But this selection does not result in creation of a duly compressed 
initramfs image. Because - $ make install - does not pass on the selected 
compression option to dracut(8) tool, which generates the initramfs file. This 
leads to a situation wherein the initramfs file is gzip(1) compressed, but the 
kernel knows only to decompress the user's chosen compression format.

The attached patch herein, attempts to fix this issue by exporting the 
compression configuration option to an environment variable of a sub-shell 
spawned by Make(1) with the invocation of installkernel(8) during the 
installation process.

The dracut(8) & new-kernel-pkg(8) tools need to be patched to recognise and 
read such an environment variable and use the selected compression algorithm 
while creating the initial ramdisk image files.

Could someone please review this one too?

Thank you.
--
Prasad J Pandit / Red Hat Security Response Team
DB7A 84C5 D3F9 7CD1 B5EB  C939 D048 7860 3655 602B
View attachment "0002-Export-initial-ramdisk-compression-config-option.patch" of type "TEXT/PLAIN" (2507 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ