16 rindas
287 B
C
16 rindas
287 B
C
|
#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
|