Begin sandboxing support, README updates.
This commit is contained in:
15
sandbox/sandbox-openbsd.h
Normal file
15
sandbox/sandbox-openbsd.h
Normal 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
|
||||
Reference in New Issue
Block a user