Searched hist:c834f0e8a8bb3025aac38e802fca2e686720f544 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/ |
H A D | Makefile | c834f0e8a8bb3025aac38e802fca2e686720f544 Mon Mar 20 19:14:11 CDT 2017 Kees Cook <keescook@chromium.org> Kbuild: make designated_init attribute fatal
If a structure is marked with __attribute__((designated_init)) from GCC or Sparse, it needs to have all static initializers using designated initialization. Fail the build for any missing cases. This attribute will be used by the randstruct plugin to make sure randomized structures are being correctly initialized.
Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
|