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