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>] [day] [month] [year] [list]
Date:	Fri, 29 Jul 2016 06:14:52 -0400
From:	Valdis Kletnieks <Valdis.Kletnieks@...edu>
To:	Andrew Morton <akpm@...ux-foundation.org>
cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] init/Kconfig - add clarification for out-of-tree modules

It doesn't trim just symbols that are totally unused in-tree - it trims the
symbols unused by any in-tree modules actually built.  If you've done
a 'make localmodconfig' and only build a hundred or so modules, it's pretty
likely that your out-of-tree module will come up lacking something...

Hopefully this will save the next guy from a Homer Simpson "D'oh!" moment.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@...edu>
---
diff --git a/init/Kconfig b/init/Kconfig
index 55c07b855e90..b4c9eb8119c0 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -2083,7 +2083,7 @@ config TRIM_UNUSED_KSYMS
 	  (especially when using LTO) for optimizing the code and reducing
 	  binary size.  This might have some security advantages as well.
 
-	  If unsure say N.
+	  If unsure, or if you need to build out-of-tree modules, say N.
 
 endif # MODULES
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ