#ifndef CONTENT_COMMON_SANDBOX_LINUX_BPF_CROS_ARM_GPU_POLICY_LINUX_H_
#define CONTENT_COMMON_SANDBOX_LINUX_BPF_CROS_ARM_GPU_POLICY_LINUX_H_
#include "content/common/sandbox_linux/bpf_gpu_policy_linux.h"
namespace content {
class CrosArmGpuProcessPolicy : public GpuProcessPolicy {
public:
explicit CrosArmGpuProcessPolicy(bool allow_shmat);
virtual ~CrosArmGpuProcessPolicy();
virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler,
int system_call_number) const OVERRIDE;
virtual bool PreSandboxHook() OVERRIDE;
private:
const bool allow_shmat_;
DISALLOW_COPY_AND_ASSIGN(CrosArmGpuProcessPolicy);
};
}
#endif