mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Make Namespace copyable, movable and copy/move assignable
There is no strong reason why this shouln't be the case. Some future refactorings will depend on this. PiperOrigin-RevId: 553456024 Change-Id: I452a2804c59ed006326ab37cbe0dec80f53cd714
This commit is contained in:
parent
29b7b49325
commit
3f9e9a2b25
|
@ -38,10 +38,6 @@ class Namespace final {
|
|||
bool allow_mount_propagation);
|
||||
static void InitializeInitialNamespaces(uid_t uid, gid_t gid);
|
||||
|
||||
Namespace() = delete;
|
||||
Namespace(const Namespace&) = delete;
|
||||
Namespace& operator=(const Namespace&) = delete;
|
||||
|
||||
Namespace(bool allow_unrestricted_networking, Mounts mounts,
|
||||
std::string hostname, bool allow_mount_propagation);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user