about summary refs log tree commit diff
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorAndré-Patrick Bubel <code@andre-bubel.de>2017-06-22 22:04:34 +0200
committerGitHub <noreply@github.com>2017-06-22 22:04:34 +0200
commitd859769f26f956db57c648579be68673d9dae2ab (patch)
tree284201d6ac768d85a1f9a15490d2bc151378e431 /nixos/modules/profiles
parentaba574c4faeed0a359324d9fb89c7aeffb08314d (diff)
downloadnixlib-d859769f26f956db57c648579be68673d9dae2ab.tar
nixlib-d859769f26f956db57c648579be68673d9dae2ab.tar.gz
nixlib-d859769f26f956db57c648579be68673d9dae2ab.tar.bz2
nixlib-d859769f26f956db57c648579be68673d9dae2ab.tar.lz
nixlib-d859769f26f956db57c648579be68673d9dae2ab.tar.xz
nixlib-d859769f26f956db57c648579be68673d9dae2ab.tar.zst
nixlib-d859769f26f956db57c648579be68673d9dae2ab.zip
nixos: replaced "userns" with "user namespaces" for clarity
"userns" wasn't introduces as an abbreviation elsewhere as far as I can see, and I wasn't sure what was meant at first.
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/hardened.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/hardened.nix b/nixos/modules/profiles/hardened.nix
index 8bde2e4f4984..0a0838431da7 100644
--- a/nixos/modules/profiles/hardened.nix
+++ b/nixos/modules/profiles/hardened.nix
@@ -55,7 +55,7 @@ with lib;
   # same privileges as it would have inside it.  This is particularly
   # bad in the common case of running as root within the namespace.
   #
-  # Setting the number of allowed userns to 0 effectively disables
+  # Setting the number of allowed user namespaces to 0 effectively disables
   # the feature at runtime.  Attempting to create a user namespace
   # with unshare will then fail with "no space left on device".
   boot.kernel.sysctl."user.max_user_namespaces" = mkDefault 0;