Begin sandboxing support, README updates.

This commit is contained in:
2019-08-11 20:10:38 +02:00
parent d7db1fbe39
commit f83c705230
9 changed files with 398 additions and 27 deletions

11
sandbox/sandboxfactory.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef SANDBOXFACTORY_H
#define SANDBOXFACTORY_H
#include <memory>
#include "sandbox.h"
#include "sandbox-linux.h"
#include "sandbox-openbsd.h"
inline std::unique_ptr<Sandbox> createSandbox()
{
return std::make_unique<SandboxLinux>();
}
#endif