aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/x86/nested_exceptions_test.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2025-02-05 20:32:49 +0000
committerKees Cook <[email protected]>2025-02-07 02:48:00 +0000
commitcb7380de9e4cbc9a24216b722ec50e092ae83036 (patch)
treec121d6bd240ee53c10ed79b9d7d8caaefdbdcc8d /tools/testing/selftests/kvm/x86/nested_exceptions_test.c
parentstackinit: Fix comment for test_small_end (diff)
downloadkernel-cb7380de9e4cbc9a24216b722ec50e092ae83036.tar.gz
kernel-cb7380de9e4cbc9a24216b722ec50e092ae83036.zip
compiler.h: Move C string helpers into C-only kernel section
The C kernel helpers for evaluating C Strings were positioned where they were visible to assembly inclusion, which was not intended. Move them into the kernel and C-only area of the header so future changes won't confuse the assembler. Fixes: d7a516c6eeae ("compiler.h: Fix undefined BUILD_BUG_ON_ZERO()") Fixes: 559048d156ff ("string: Check for "nonstring" attribute on strscpy() arguments") Reviewed-by: Miguel Ojeda <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions