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

15
sandbox/sandbox-openbsd.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef SANDBOXOPENBSD_H
#define SANDBOXOPENBSD_H
#include "sandbox.h"
class SandboxOpenBSD : public Sandbox
{
public:
bool supported() override;
bool enableForInit() override;
bool enableForWorker() override;
private:
bool seccomp_blacklist(std::vector<int> syscalls);
};
#endif