Re: [PATCH] Kbuild: support designated_init attribute

2017-03-13 Thread Masahiro Yamada
Hi Kees, 2017-02-02 8:04 GMT+09:00 Kees Cook : > 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

Re: [PATCH] Kbuild: support designated_init attribute

2017-03-13 Thread Masahiro Yamada
Hi Kees, 2017-02-02 8:04 GMT+09:00 Kees Cook : > 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

[PATCH] Kbuild: support designated_init attribute

2017-02-01 Thread Kees Cook
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

[PATCH] Kbuild: support designated_init attribute

2017-02-01 Thread Kees Cook
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