diff options
| author | Kees Cook <[email protected]> | 2025-02-05 20:32:49 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2025-02-07 02:48:00 +0000 |
| commit | cb7380de9e4cbc9a24216b722ec50e092ae83036 (patch) | |
| tree | c121d6bd240ee53c10ed79b9d7d8caaefdbdcc8d /tools/testing/selftests/net/lib/py/utils.py | |
| parent | stackinit: Fix comment for test_small_end (diff) | |
| download | kernel-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/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
