aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/namespaces.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-02-10 14:38:14 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-02-10 14:38:14 +0100
commitf094ba7386fc5fbb3df5fd84008ca07d2289ff26 (patch)
treef4796141204130e6f157487b312d9d8ace8551e2 /src/libutil/namespaces.hh
parent5597d68e2d73a3b89ff36fcfeac82d7fe7d4f384 (diff)
Simplify the PID namespace check: just try to mount /proc
Fixes #7783.
Diffstat (limited to 'src/libutil/namespaces.hh')
-rw-r--r--src/libutil/namespaces.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libutil/namespaces.hh b/src/libutil/namespaces.hh
index 34e54d5ad..e82379b9c 100644
--- a/src/libutil/namespaces.hh
+++ b/src/libutil/namespaces.hh
@@ -6,9 +6,7 @@ namespace nix {
bool userNamespacesSupported();
-bool mountNamespacesSupported();
-
-bool pidNamespacesSupported();
+bool mountAndPidNamespacesSupported();
#endif