linux: add feature flag to indicate support for 32bit emulation
Motivated by the need to warn users trying to build configurations that depend on being able to run 32bit apps on 64bit kernels.
This commit is contained in:
parent
eebd1a9263
commit
6eea9ac868
2 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,7 @@ let
|
|||
netfilterRPFilter = true;
|
||||
grsecurity = false;
|
||||
xen_dom0 = false;
|
||||
ia32Emulation = true;
|
||||
} // features) kernelPatches;
|
||||
|
||||
intermediateNixConfig = import ./common-config.nix {
|
||||
|
|
|
@ -14825,6 +14825,7 @@ in
|
|||
|
||||
# Hardened linux
|
||||
hardenedLinuxPackagesFor = kernel: linuxPackagesFor (kernel.override {
|
||||
features.ia32Emulation = false;
|
||||
extraConfig = import ../os-specific/linux/kernel/hardened-config.nix {
|
||||
inherit stdenv;
|
||||
inherit (kernel) version;
|
||||
|
|
Loading…
Reference in a new issue