summaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2021-01-29 22:00:36 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-02-03 05:35:42 +0300
commitf105ea9890f42137344f8c08548c895dc9294bd8 (patch)
treef15e209e644cc6aaf11c7d6ea10b33012e97dbc8 /scripts/clang-tools/gen_compile_commands.py
parent2ab543823322b564f205cb15d0f0302803c87d11 (diff)
downloadlinux-f105ea9890f42137344f8c08548c895dc9294bd8.tar.xz
RISC-V: Fix .init section permission update
.init section permission should only updated to non-execute if STRICT_KERNEL_RWX is enabled. Otherwise, this will lead to a kernel hang. Fixes: 19a00869028f ("RISC-V: Protect all kernel sections including init early") Cc: stable@vger.kernel.org Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions