diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-05-17 13:46:54 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-05-19 23:46:13 +0200 |
commit | 546a3fee174969ff323d70ff27b1ef181f0d7ceb (patch) | |
tree | 35b15b82da76831919f3d48539f0c7c2b1d3882d /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 734387ec2f9d77b00276042b1fa7c95f48ee879d (diff) |
sched: Reverse sched_class layout
Because GCC-12 is fully stupid about array bounds and it's just really
hard to get a solid array definition from a linker script, flip the
array order to avoid needing negative offsets :-/
This makes the whole relational pointer magic a little less obvious, but
alas.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/YoOLLmLG7HRTXeEm@hirez.programming.kicks-ass.net
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions