Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
linux-namespaces.hh
Go to the documentation of this file.
1#pragma once
3
4#include <filesystem>
5
6namespace nix {
7
13
20void remountReadOnlyWritable(const std::filesystem::path & path);
21
27
36
37bool userNamespacesSupported();
38
39bool mountAndPidNamespacesSupported();
40
41} // namespace nix
void tryUnshareFilesystem()
Definition linux-namespaces.cc:196
void restoreMountNamespace()
Definition linux-namespaces.cc:169
void remountReadOnlyWritable(const std::filesystem::path &path)
Definition linux-namespaces.cc:127
void tryEnterPrivateMountNamespace()
Definition linux-namespaces.cc:115