Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 25 Nov 2015 11:06:30 +0100
From: Clemens Ladisch <>
To: Mathias Krause <>,
Cc: "" <>,
 Kees Cook <>, Andy Lutomirski <>,
 Ingo Molnar <>, Thomas Gleixner <>,
 "H. Peter Anvin" <>, x86-ml <>,
 Arnd Bergmann <>, Michael Ellerman <>,, PaX Team <>,
 Emese Revfy <>
Subject: Re: [PATCH 0/2] introduce post-init read-only

Mathias Krause wrote:
> [...]
> So, prior extending the usage of the __read_only annotation some
> toolchain support is needed. Maybe a gcc plugin that'll warn/error on
> code that writes to such a variable but is not __init itself.

Or mark them as "const".  This would require the initialization code to
cast it away, probably with a helper macro.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.