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
| ||
|
Date: Thu, 8 Oct 2020 11:30:02 -0400 From: Arvind Sankar <nivedita@...m.mit.edu> To: Borislav Petkov <bp@...en8.de> Cc: Arvind Sankar <nivedita@...m.mit.edu>, x86@...nel.org, Joerg Roedel <jroedel@...e.de>, linux-kernel@...r.kernel.org Subject: Re: [PATCH 2/5] x86/boot: Move get_cmd_line_ptr() and COMMAND_LINE_SIZE into misc.h On Thu, Oct 08, 2020 at 05:10:47PM +0200, Borislav Petkov wrote: > On Thu, Oct 08, 2020 at 09:47:23AM -0400, Arvind Sankar wrote: > > Are you ok with the include of setup.h? > > Or you could simply add cmdline.h and include that. It is high time we > started cleaning up that include hell in compressed/ and all facilities > there be nicely separated. Recently I started untangling it but it is a > serious mess. And kernel proper includes leak in there, yuck. > Ok, I can do that. I'm working on a couple of separate series to clean up cmdline and the compressed boot code a bit. I was actually planning to get rid of boot/compressed/cmdline.c entirely, replacing it with arch/x86/lib/cmdline.c instead: that one's better and is reusable as-is for the decompressor stub, instead of the current hack to use the real-mode boot stub's cmdline.c. The real mess in there is all the includes of .c files from various places.
Powered by blists - more mailing lists