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: <20150326144058.56ef6916b00ad38030296089@linux-foundation.org>
Date:	Thu, 26 Mar 2015 14:40:58 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Mathias Krause <minipli@...glemail.com>
Cc:	Joe Perches <joe@...ches.com>, Mason <slash.tmp@...e.fr>,
	Linux ARM <linux-arm-kernel@...ts.infradead.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Ingo Molnar <mingo@...nel.org>
Subject: Re: String literals in __init functions

On Thu, 26 Mar 2015 21:49:06 +0100 Mathias Krause <minipli@...glemail.com> wrote:

> Andrew, what's your opinion on such a patch set? Do you too think it's
> useful? Or do you share Ingo's fear about the additional maintenance
> burden?

I don't think the burden would be toooo high, although it will mess the
code up a bit.

The post-build checking for section reference mismatches will help,
although that seems to have got itself turned off (what happened
there?).

Did anyone look at writing a postprocessor for the .s files?  It
doesn't look like it will be too hard from an initial peek.

Did anyone ask the gcc developers?  I'd have thought that a function-wide

	__attribute__((__string_section__(foo))

wouldn't be a ton of work to implement.
--
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