Skip to content

Commit

Permalink
config-qubes: remove STRUCTLEAK configs for Fedora 37
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Jan 18, 2023
1 parent 3c86f60 commit 9c483f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kernel.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \

cd %kernel_build_dir

# FIXME: Find a modular way to include configuration per dist
# On GCC12+, STRUCTLEAK configs are not needed anymore
%if 0%{?fedora} >= 37
sed -i '/CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y/d' %{SOURCE101}
sed -i 's/CONFIG_GCC_PLUGIN_STRUCTLEAK=y/CONFIG_INIT_STACK_ALL_ZERO=y/' %{SOURCE101}
%endif

# Create QubesOS config kernel
%{SOURCE34} %{SOURCE100} %{SOURCE101}

Expand Down

0 comments on commit 9c483f0

Please sign in to comment.