mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 13:06:01 +01:00
parent
d5fdfdc592
commit
dc7615dbbb
3 changed files with 7 additions and 5 deletions
|
|
@ -20,11 +20,13 @@ void saveMountNamespace();
|
|||
void restoreMountNamespace();
|
||||
|
||||
/**
|
||||
* Cause this thread to not share any FS attributes with the main
|
||||
* Cause this thread to try to not share any FS attributes with the main
|
||||
* thread, because this causes setns() in restoreMountNamespace() to
|
||||
* fail.
|
||||
*
|
||||
* This is best effort -- EPERM and ENOSYS failures are just ignored.
|
||||
*/
|
||||
void unshareFilesystem();
|
||||
void tryUnshareFilesystem();
|
||||
|
||||
bool userNamespacesSupported();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue