Skip to content

Commit

Permalink
linux/common-config: don't set DEVKMEM on aarch64
Browse files Browse the repository at this point in the history
The option never existed on aarch64.
  • Loading branch information
alyssais committed Dec 17, 2024
1 parent df2d7f7 commit 6de9227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/kernel/common-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ let
# This does not have any effect if a program does not support it
SECURITY_LANDLOCK = whenAtLeast "5.13" yes;

DEVKMEM = whenOlder "5.13" no; # Disable /dev/kmem
DEVKMEM = lib.mkIf (!stdenv.hostPlatform.isAarch64) (whenOlder "5.13" no); # Disable /dev/kmem

USER_NS = yes; # Support for user namespaces

Expand Down

0 comments on commit 6de9227

Please sign in to comment.