Begin sandboxing support, README updates.

此提交包含在:
2019-08-11 20:10:38 +02:00
父節點 d7db1fbe39
當前提交 f83c705230
共有 9 個檔案被更改,包括 398 行新增27 行删除

15
sandbox/sandbox-openbsd.h 一般檔案
查看文件

@ -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