diff options
author | Tom Hubrecht <github@mail.hubrecht.ovh> | 2024-05-28 16:01:11 +0200 |
---|---|---|
committer | Tom Hubrecht <github@mail.hubrecht.ovh> | 2024-05-29 11:41:16 +0200 |
commit | 8b6d2d39155e88250c576571a1251769b926ee83 (patch) | |
tree | 3b9c895f87c63b879be7086cdde2773a9fe28470 /src/libutil/util.hh | |
parent | f79ee66646f66e5117583bcf9a579b7f538ca8bb (diff) |
util.{hh,cc}: Split out namespaces.{hh,cc}
Change-Id: I8fd3f3b50c15ede29d489066b4e8d99c2c4636a6
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r-- | src/libutil/util.hh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index e408821b9..867f0a80d 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -40,26 +40,6 @@ extern const std::string nativeSystem; /** - * Save the current mount namespace. Ignored if called more than - * once. - */ -void saveMountNamespace(); - -/** - * Restore the mount namespace saved by saveMountNamespace(). Ignored - * if saveMountNamespace() was never called. - */ -void restoreMountNamespace(); - -/** - * Cause this thread to not share any FS attributes with the main - * thread, because this causes setns() in restoreMountNamespace() to - * fail. - */ -void unshareFilesystem(); - - -/** * Exception handling in destructors: print an error message, then * ignore the exception. */ |