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]
Date:	Sat, 25 Oct 2008 09:20:25 +0100
From:	David Woodhouse <dwmw2@...radead.org>
To:	Matt Mackall <mpm@...enic.com>
Cc:	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Jiri Kosina <jkosina@...e.cz>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Ingo Molnar <mingo@...hat.com>
Subject: Re: Bloatwatch 2.6.28-rc1: i8042 DMI lookup tables

On Fri, 2008-10-24 at 22:31 -0500, Matt Mackall wrote:
> Ideally, we'd find a way to (a) store variable-length string constants
> in init sections and (b) teach modpost about following pointers.

Doing (b) shouldn't be _so_ hard. Modpost already trawls through the
relocations, looking for naughty ones. Making it actually _do_ them when
it needs to shouldn't be impossible.

> Something like this would work inside code but sadly not inside
> declarations:
> 
> #define ISTR(s) ({static char c[] __attribute__ ((section("__initdata__"))) = s;c;})

Yeah, I played with that for a while, but gave up.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse@...el.com                              Intel Corporation

--
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