Skip to content

Commit

Permalink
linux-hardened: condition LEGACY_VSYSCALL_NONE on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Jan 12, 2025
1 parent e930b19 commit 2248ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/kernel/hardened/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,5 @@ assert (lib.versionAtLeast version "4.9");
IOMMU_DEFAULT_DMA_LAZY = option no;

# not needed for less than a decade old glibc versions
LEGACY_VSYSCALL_NONE = yes;
LEGACY_VSYSCALL_NONE = lib.mkIf stdenv.hostPlatform.isx86 yes;
}

0 comments on commit 2248ca0

Please sign in to comment.