[lustre-devel] Designated initializers, struct randomization and addressing?

Joe Perches joe at perches.com
Tue Dec 20 09:29:55 PST 2016


On Fri, 2016-12-16 at 17:00 -0800, Kees Cook wrote:
> Prepare to mark sensitive kernel structures for randomization by making
sure they're using designated initializers.

About the designated initializer patches,
which by themselves are fine of course,
and the fundamental randomization plugin,
c guarantees that struct member ordering
is as specified.

how is the code to be verified so that
any use of things like offsetof and any
address/indexing is not impacted?



More information about the lustre-devel mailing list