Star64_linux/scripts/gcc-plugins
Gustavo A. R. Silva b79210fa10 gcc-plugins: randstruct: Update code comment in relayout_struct()
commit d71f22365a9caca82d424f3a33445de46567e198 upstream.

Update code comment to clarify that the only element whose layout is
not randomized is a proper C99 flexible-array member. This update is
complementary to commit 1ee60356c2dc ("gcc-plugins: randstruct: Only
warn about true flexible arrays")

Signed-off-by: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/ZWJr2MWDjXLHE8ap@work
Fixes: 1ee60356c2dc ("gcc-plugins: randstruct: Only warn about true flexible arrays")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-13 18:45:35 +01:00
..
.gitignore
arm_ssp_per_task_plugin.c
gcc-common.h
gcc-generate-gimple-pass.h
gcc-generate-ipa-pass.h
gcc-generate-rtl-pass.h
gcc-generate-simple_ipa-pass.h
Kconfig
latent_entropy_plugin.c
Makefile
randomize_layout_plugin.c gcc-plugins: randstruct: Update code comment in relayout_struct() 2023-12-13 18:45:35 +01:00
sancov_plugin.c
stackleak_plugin.c
structleak_plugin.c