diff options
author | Kees Cook <keescook@chromium.org> | 2020-08-21 22:43:05 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-09-01 11:03:18 +0300 |
commit | 5354e84598f264793265cc99b4be2a2295826c86 (patch) | |
tree | f2f2db99d32fe5706161949cdc1b567c6546b929 /arch/x86/boot | |
parent | 815d680771ae09080d2da83dac2647c08cdf99ce (diff) | |
download | linux-5354e84598f264793265cc99b4be2a2295826c86.tar.xz |
x86/build: Add asserts for unwanted sections
In preparation for warning on orphan sections, enforce other
expected-to-be-zero-sized sections (since discarding them might hide
problems with them suddenly gaining unexpected entries).
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200821194310.3089815-25-keescook@chromium.org
Diffstat (limited to 'arch/x86/boot')
0 files changed, 0 insertions, 0 deletions