Begin sandboxing support, README updates.
此提交包含在:
15
sandbox/sandbox-openbsd.h
一般檔案
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
|
新增問題並參考
封鎖使用者